screenlets.plugins.Sonata.SonataAPI

Package screenlets :: Package plugins :: Module Sonata :: Class SonataAPI |
[hide private]
[frames] | no frames]

# Class SonataAPI

source code

                  object --+
                           |
    GenericPlayer.GenericAPI --+
                               |
                              SonataAPI

Version: 0.0

Author:

Instance Methods | [hide private]
__init__(self, session_bus) x.__init__(...) initializes x; see help(type(x)) for signature | source code
is_active(self, dbus_iface) | source code
connect(self) | source code
get_title(self) | source code
get_album(self) | source code
get_artist(self) | source code
get_cover_path(self) | source code
is_playing(self) | source code
play_pause(self) | source code
next(self) | source code
previous(self) | source code
register_change_callback(self, fn) | source code
info_changed(self, signal=None) | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| __name__ = ``'``Sonata API``'``
| __desc__ = ``'````'``
| playerAPI = `None` hash(x)
| __timeout = `None` hash(x)
| __interval = `2`
| callbackFn = `None` hash(x)
| __curplaying = `None` hash(x)
| ns = ``'``org.MPD.Sonata``'``
| iroot = ``'``/org/MPD/Sonata``'``
| iface = ``'``org.MPD.SonataInterface``'``
| host = ``'``localhost``'``
| port = `6600`
| musicdir = ``'``/media/MULTIMEDIA/music/``'``
Inherited from `GenericPlayer.GenericAPI`: `session_bus`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, session_bus) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

### is_active(self, dbus_iface) | source code
Overrides: GenericPlayer.GenericAPI.is_active

### connect(self) | source code
Overrides: GenericPlayer.GenericAPI.connect

### get_title(self) | source code
Overrides: GenericPlayer.GenericAPI.get_title

### get_album(self) | source code
Overrides: GenericPlayer.GenericAPI.get_album

### get_artist(self) | source code
Overrides: GenericPlayer.GenericAPI.get_artist

### get_cover_path(self) | source code
Overrides: GenericPlayer.GenericAPI.get_cover_path

### is_playing(self) | source code
Overrides: GenericPlayer.GenericAPI.is_playing

### play_pause(self) | source code
Overrides: GenericPlayer.GenericAPI.play_pause

### next(self) | source code
Overrides: GenericPlayer.GenericAPI.next

### previous(self) | source code
Overrides: GenericPlayer.GenericAPI.previous

### register_change_callback(self, fn) | source code
Overrides: GenericPlayer.GenericAPI.register_change_callback