diff --git a/maloja/apis/legacy_audioscrobber.py b/maloja/apis/legacy_audioscrobber.py index 245c6ce..bdcd569 100644 --- a/maloja/apis/legacy_audioscrobber.py +++ b/maloja/apis/legacy_audioscrobber.py @@ -34,6 +34,7 @@ class Audioscrobbler(APIHandler): auth = keys.get("a") timestamp = keys.get("t") apikey = keys.get("api_key") + host = keys.get("Host") # expect username and password if user is not None and apikey is None: receivedToken = lastfmToken(password, timestamp) @@ -107,4 +108,4 @@ def lastfmToken(password, ts): def checkPassword(receivedToken, expectedKey, ts): expectedToken = lastfmToken(expectedKey, ts) - return receivedToken == expectedToken \ No newline at end of file + return receivedToken == expectedToken