From: kaliko Date: Tue, 23 Nov 2021 09:51:55 +0000 (+0100) Subject: Update lastfm web API X-Git-Tag: 0.18.1~9 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=1f0b87feb6e935fb87563b7c8bf1527346c93833;p=mpd-sima.git Update lastfm web API --- diff --git a/sima/lib/simafm.py b/sima/lib/simafm.py index 5103ace..95f1c5a 100644 --- a/sima/lib/simafm.py +++ b/sima/lib/simafm.py @@ -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