Home | Trees | Indices | Help |
|
---|
|
1 # This application is released under the GNU General Public License 2 # v3 (or, at your option, any later version). You can find the full 3 # text of the license under http://www.gnu.org/licenses/gpl.txt. 4 # By using, editing and/or distributing this software you agree to 5 # the terms and conditions of this license. 6 # Thank you for using free software! 7 8 9 # A Generic API to a Music Player by vrunner 10 # All Players must extend this class 1113 __name__ = 'GenericAPI' 14 __version__ = '0.0' 15 __author__ = 'vrunner' 16 __desc__ = 'A Generic API to a Music Player. All Players must extend this' 17 18 session_bus = False 19 20 23 24 # Check if the player is active : Returns Boolean 25 # A handle to the dbus interface is passed in : doesn't need to be used 26 # if there are other ways of checking this (like dcop in amarok) 29 30 # Make a connection to the Player 33 34 # The following return Strings 37 40 43 46 47 # Returns Boolean 50 51 # The following do not return any values 54 57 60 61 # The following calls the passed Callback function when one of the following event occurs: 62 # - Song Change, Play/Pause, Info Change 63 # If no dbus api to support it, then just do call the callback fn every few seconds66 67 # I haven't put in functions yet for volume control, and track control 68
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Feb 28 23:21:28 2011 | http://epydoc.sourceforge.net |