diff options
Diffstat (limited to 'nephilim/plugins/Playlist.py')
-rw-r--r-- | nephilim/plugins/Playlist.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nephilim/plugins/Playlist.py b/nephilim/plugins/Playlist.py index 1f70021..44d7a40 100644 --- a/nephilim/plugins/Playlist.py +++ b/nephilim/plugins/Playlist.py @@ -21,7 +21,13 @@ from PyQt4.QtCore import QVariant from ..plugin import Plugin class Playlist(Plugin): + # public, const + info = 'Shows the playlist.' + + # public, read-only o = None + + # private DEFAULTS = {'columns': ['track', 'title', 'artist', 'date', 'album', 'length']} @@ -30,8 +36,6 @@ class Playlist(Plugin): def _unload(self): self.o = None - def info(self): - return "The playlist showing the songs that will be played." def _get_dock_widget(self): return self._create_dock(self.o) |