summaryrefslogtreecommitdiff
path: root/nephilim/plugins/Songinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/plugins/Songinfo.py')
-rw-r--r--nephilim/plugins/Songinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/plugins/Songinfo.py b/nephilim/plugins/Songinfo.py
index cad5dd0..144033b 100644
--- a/nephilim/plugins/Songinfo.py
+++ b/nephilim/plugins/Songinfo.py
@@ -105,7 +105,7 @@ class Songinfo(Plugin):
song = self.mpclient.current_song()
for tag in self.__tags:
- metadata[tag] = song.tag(str(tag), '') if song else '' #XXX i don't like the explicit conversion to python string
+ metadata[tag] = song[str(tag)] if song else '' #XXX i don't like the explicit conversion to python string
self.o.set_metadata(metadata)
class SonginfoWidget(QtGui.QWidget):