summaryrefslogtreecommitdiff
path: root/nephilim/plugins/AlbumCover.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/plugins/AlbumCover.py')
-rw-r--r--nephilim/plugins/AlbumCover.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py
index cb4bf1e..9d4cf38 100644
--- a/nephilim/plugins/AlbumCover.py
+++ b/nephilim/plugins/AlbumCover.py
@@ -64,7 +64,7 @@ class AlbumCoverWidget(QtGui.QLabel):
self.plugin.cover_changed.emit(QtGui.QPixmap())
return
- if song != self.plugin.mpclient.current_song():
+ if song != self.plugin.mpclient.cur_song:
return
self.cover = cover
@@ -230,7 +230,7 @@ class AlbumCover(Plugin):
self.__results = 0
self.__index = len(self.__fetchers)
self.o.cover_loaded = False
- song = self.mpclient.current_song()
+ song = self.mpclient.cur_song
if not song:
self.__cover_dir = ''
self.__cover_path = ''
@@ -285,7 +285,7 @@ class AlbumCover(Plugin):
def select_cover(self):
"""Prompt user to manually select cover file for current song."""
- song = self.mpclient.current_song()
+ song = self.mpclient.cur_song
if not song:
return
self.__abort_fetch()