diff options
-rw-r--r-- | nephilim/plugins/AlbumCover.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py index 3329b7c..d628707 100644 --- a/nephilim/plugins/AlbumCover.py +++ b/nephilim/plugins/AlbumCover.py @@ -219,6 +219,8 @@ class AlbumCover(Plugin): name = 'Last.fm' def fetch(self, song): + if song['album'] or not song['album']: + return self.finish() url = QtCore.QUrl('http://ws.audioscrobbler.com/2.0/') url.setQueryItems([('api_key', 'beedb2a8a0178b8059cd6c7e57fbe428'), ('method', 'album.getInfo'), |