]> kaliko git repositories - mpd-sima.git/commitdiff
Update lastfm web API
authorkaliko <kaliko@azylum.org>
Tue, 23 Nov 2021 09:51:55 +0000 (10:51 +0100)
committerkaliko <kaliko@azylum.org>
Tue, 23 Nov 2021 09:51:55 +0000 (10:51 +0100)
sima/lib/simafm.py

index 5103aceac9455a9ac5d8a39e8fc10f5812151b3f..95f1c5a02f43fe4f22da0bcc626ad8b85b587333 100644 (file)
@@ -21,7 +21,7 @@
 Consume Last.fm web service
 """
 
-__version__ = '0.5.1'
+__version__ = '0.5.2'
 __author__ = 'Jack Kaliko'
 
 
@@ -83,7 +83,7 @@ class SimaFM:
         else:
             payload.update(artist=artist.name,
                            autocorrect=1)
-        payload.update(results=100)
+        payload.update(limit=100)
         if method == 'track':
             payload.update(track=track)
         # > hashing the URL into a cache key