Package screenlets :: Package plugins :: Module GenericPlayer :: Class GenericAPI
[hide private]
[frames] | no frames]

Class GenericAPI

source code

object --+
         |
        GenericAPI
Known Subclasses:


Version: 0.0

Author: vrunner

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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __name__ = 'GenericAPI'
  __desc__ = 'A Generic API to a Music Player. All Players must ...
  session_bus = False
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)

Class Variable Details [hide private]

__desc__

Value:
'A Generic API to a Music Player. All Players must extend this'