summaryrefslogtreecommitdiff
path: root/nephilim/plugins/Notify.py
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-08-09 18:47:03 +0200
committerAnton Khirnov <wyskas@gmail.com>2010-08-12 20:50:11 +0200
commitf22dab76b500a22109a734fa7dafca9d50a24725 (patch)
tree4d85ea8e31b1a4aeab9df32fc8a519fb198e47db /nephilim/plugins/Notify.py
parent1bd84eeb9026267d741764d01dbfb6acaeecc817 (diff)
switch to the new MPD interaction layer
remove the old mpclient and our bundled copy of mpd.py
Diffstat (limited to 'nephilim/plugins/Notify.py')
-rw-r--r--nephilim/plugins/Notify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/plugins/Notify.py b/nephilim/plugins/Notify.py
index 7906861..af97e06 100644
--- a/nephilim/plugins/Notify.py
+++ b/nephilim/plugins/Notify.py
@@ -119,7 +119,7 @@ class Notify(Plugin):
self.mpclient.state_changed.disconnect(self.onStateChange)
self.mpclient.volume_changed.disconnect(self.onVolumeChange)
def onSongChange(self):
- song = self.mpclient.current_song()
+ song = self.mpclient.cur_song
if not song:
return
self.settings.beginGroup(self.name)