summaryrefslogtreecommitdiff
path: root/nephilim/plugins/Lyrics.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/plugins/Lyrics.py')
-rw-r--r--nephilim/plugins/Lyrics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nephilim/plugins/Lyrics.py b/nephilim/plugins/Lyrics.py
index 8e04e51..af54f0a 100644
--- a/nephilim/plugins/Lyrics.py
+++ b/nephilim/plugins/Lyrics.py
@@ -150,7 +150,7 @@ class Lyrics(Plugin):
def fetch(self, song):
url = QtCore.QUrl(self.__apiaddress)
url.setQueryItems([('func', 'getArtist'), ('artist', song['artist']),
- ('fmt', 'xml')])
+ ('fmt', 'xml'), ('action', 'lyrics')])
self.fetch2(song, url)
self.rep.finished.connect(self.__handle_artist_res)
@@ -168,7 +168,7 @@ class Lyrics(Plugin):
return self.finish()
url = QtCore.QUrl(self.__apiaddress)
- url.setQueryItems([('func', 'getSong'), ('artist', artist),
+ url.setQueryItems([('action', 'lyrics'), ('func', 'getSong'), ('artist', artist),
('song', self.song['title']), ('fmt', 'xml')])
self.rep = self.nam.get(QtNetwork.QNetworkRequest(url))
self.rep.finished.connect(self.__handle_search_res)