Fix GH-271

This commit is contained in:
krateng 2023-11-03 13:41:30 +01:00
parent 5495d6e38d
commit 6bb81ce589
2 changed files with 23 additions and 18 deletions

View File

@ -21,6 +21,7 @@ minor_release_name: "Nicole"
- "[Technical] Bumped Python and SQLAlchemy versions"
- "[Distribution] Removed build of arm/v7 image"
3.2.1:
commit: "5495d6e38d95c0c2128e1de9a9553b55b6be945b"
notes:
- "[Feature] Added setting for custom week offset"
- "[Feature] Added Musicbrainz album art fetching"
@ -30,3 +31,6 @@ minor_release_name: "Nicole"
- "[Bugfix] Fixed process control on FreeBSD"
- "[Bugfix] Fixed Spotify authentication thread blocking the process from terminating"
- "[Technical] Upgraded all third party modules to use requests module and send User Agent"
3.2.2:
notes:
- "[Bugfix] Fixed Last.fm authentication"

View File

@ -55,6 +55,7 @@ class LastFM(MetadataInterface, ProxyScrobbleInterface):
})
def authorize(self):
if all(self.settings[key] not in [None,"ASK",False] for key in ["username","password","apikey","secret"]):
try:
response = requests.post(
url=self.proxyscrobble['scrobbleurl'],