diff options
Diffstat (limited to 'nephilim/plugins/Songinfo.py')
-rw-r--r-- | nephilim/plugins/Songinfo.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nephilim/plugins/Songinfo.py b/nephilim/plugins/Songinfo.py index 6334d67..960f179 100644 --- a/nephilim/plugins/Songinfo.py +++ b/nephilim/plugins/Songinfo.py @@ -20,6 +20,10 @@ from PyQt4 import QtGui, QtCore from ..plugin import Plugin class Songinfo(Plugin): + # public, const + info = 'Displays song metadata provided by MPD.' + + # public, read-only o = None def _load(self): self.o = SonginfoWidget(self) @@ -27,9 +31,6 @@ class Songinfo(Plugin): def _unload(self): self.o = None - def info(self): - return 'Provides information about a song.' - def _get_dock_widget(self): return self._create_dock(self.o) |