I'd rather wrap the ``SoCoUPnPException`` in a eg ``PlaylistException`` and handle it ``process_cmd()``. That way the output could be formatted as an error (using ``err()``).