diff options
Diffstat (limited to 'nephilim/plugins/AlbumCover.py')
-rw-r--r-- | nephilim/plugins/AlbumCover.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py index db4d6f8..01aa333 100644 --- a/nephilim/plugins/AlbumCover.py +++ b/nephilim/plugins/AlbumCover.py @@ -221,9 +221,9 @@ class AlbumCover(Plugin): url = QtCore.QUrl('http://ws.audioscrobbler.com/2.0/') url.setQueryItems([('api_key', 'c325945c67b3e8327e01e3afb7cdcf35'), ('method', 'album.getInfo'), - ('artist', song.artist()), - ('album', song.album()), - ('mbid', song.tag('MUSICBRAINZ_ALBUMID'))]) + ('artist', song['artist']), + ('album', song['album']), + ('mbid', song['MUSICBRAINZ_ALBUMID'])]) self.fetch2(song, url) self.rep.finished.connect(self.__handle_search_res) @@ -390,7 +390,7 @@ class AlbumCover(Plugin): self.__abort_fetch() file = QtGui.QFileDialog.getOpenFileName(None, - 'Select album cover for %s - %s'%(song.artist(), song.album()), + 'Select album cover for %s - %s'%(song['artist'], song['album']), self.__cover_dir, '') if not file: return |