summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nephilim/plugins/AlbumCover.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py
index d628707..b630d76 100644
--- a/nephilim/plugins/AlbumCover.py
+++ b/nephilim/plugins/AlbumCover.py
@@ -213,13 +213,14 @@ class AlbumCover(Plugin):
fetchers.append(it.text())
self.settings.setValue('fetchers', QVariant(fetchers))
self.settings.endGroup()
+ self.plugin.refresh_fetchers()
self.plugin.refresh()
class FetcherLastfm(common.MetadataFetcher):
name = 'Last.fm'
def fetch(self, song):
- if song['album'] or not song['album']:
+ if not song['artist'] or not song['album']:
return self.finish()
url = QtCore.QUrl('http://ws.audioscrobbler.com/2.0/')
url.setQueryItems([('api_key', 'beedb2a8a0178b8059cd6c7e57fbe428'),