Package peppy :: Package plugins :: Module mpd_major_mode :: Class MPDCurrentlyPlaying
[frames] | no frames]

Class MPDCurrentlyPlaying

               object --+            
                        |            
lib.userparams.ClassPrefs --+        
                            |        
               object --+   |        
                        |   |        
         debug.debugmixin --+        
                            |        
              minor.MinorMode --+    
                                |    
                MPDMinorModeMixin --+
                                    |
           lib.nextpanel.wx.Panel --+
                                    |
                       object --+   |
                                |   |
         lib.nextpanel.debugmixin --+
                                    |
                                   MPDCurrentlyPlaying

Minor mode to display the current title, artist, and album, with controls for position in the song and play/pause controls.

Nested Classes

Inherited from lib.userparams.ClassPrefs: __metaclass__

Instance Methods
 
__init__(self, major, parent)
Classes using this mixin should call this method, or at least save the major mode.
 
deletePreHook(self)
Hook to clean up any resources before anything else is deleted.
 
OnSongChanged(self, evt)
 
OnSongTime(self, evt)
 
OnSliderMove(self, evt)
 
OnSliderRelease(self, evt)
 
songChanged(self, msg=None)
 
reset(self, mpd=None)
 
songTime(self, msg=None)
 
update(self, status)
 
OnSize(self, evt)

Inherited from minor.MinorMode: getDefaultPaneInfo, getPaneInfo, paneInfoHook, setup

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

Class Methods

Inherited from MPDMinorModeMixin: worksWithMajorMode

Inherited from minor.MinorMode: getValidMinorModes

Inherited from debug.debugmixin: dprint

Class Variables
  keyword = "MPD Currently Playing"
  default_classprefs = IntParam('best_width', 400), IntParam('be...

Inherited from minor.MinorMode: classprefs

Inherited from lib.userparams.ClassPrefs: preferences_sort_weight

Inherited from debug.debugmixin: debuglevel

Properties

Inherited from object: __class__

Method Details

__init__(self, major, parent)
(Constructor)

 

Classes using this mixin should call this method, or at least save the major mode.

Overrides: object.__init__
(inherited documentation)

deletePreHook(self)

 

Hook to clean up any resources before anything else is deleted.

This hook is called whether or not the minor mode has a window.

Overrides: minor.MinorMode.deletePreHook
(inherited documentation)

Class Variable Details

default_classprefs

Value:
IntParam('best_width', 400), IntParam('best_height', 100), IntParam('m\
in_width', 300), IntParam('min_height', 50),