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/Lyrics.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/Lyrics.py')
-rw-r--r-- | nephilim/plugins/Lyrics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nephilim/plugins/Lyrics.py b/nephilim/plugins/Lyrics.py index f0ca266..61d34f1 100644 --- a/nephilim/plugins/Lyrics.py +++ b/nephilim/plugins/Lyrics.py @@ -87,7 +87,7 @@ class LyricsWidget(QtGui.QWidget): return self.__text_view.clear() # a late thread might call this for a previous song - if song != self.plugin.mpclient.current_song(): + if song != self.plugin.mpclient.cur_song: return self.__text_view.clear() @@ -237,7 +237,7 @@ class Lyrics(Plugin): self.__results = 0 self.__index = len(self.__fetchers) self.o.lyrics_loaded = False - song = self.mpclient.current_song() + song = self.mpclient.cur_song if not song: self.__lyrics_dir = '' self.__lyrics_path = '' |