diff options
author | Anton Khirnov <wyskas@gmail.com> | 2010-08-09 18:47:03 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2010-08-12 20:50:11 +0200 |
commit | f22dab76b500a22109a734fa7dafca9d50a24725 (patch) | |
tree | 4d85ea8e31b1a4aeab9df32fc8a519fb198e47db /nephilim/plugins/Notify.py | |
parent | 1bd84eeb9026267d741764d01dbfb6acaeecc817 (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.py | 2 |
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) |