| |
- exceptions.Exception(exceptions.BaseException)
-
- XMMSError
- XMMSSync
class XMMSSync |
|
A wrapper for the xmmsclient.XMMS class which simplifies synchronous
communication with the XMMS2 daemon.
Instances of this class may be used just like regular xmmsclient.XMMS
objects, except that instead of returning an XMMSResult instance, the
value associated with the result is returned. If the XMMSResult
indicates an error, an XMMSError is raised instead of returning the
value. |
|
Methods defined here:
- __getattr__(self, name)
- __init__(self, clientname=None, xmms=None)
- This constructor takes two optional arguments. If xmms is omitted
it will create a new underlying XMMS class otherwise it will use
the one supplied. Clientname is the name of the client and will
default to "Unnamed Python Client"
| |