1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Listenbrainz artwork urls are now converted to https, fixes GH-41

This commit is contained in:
Krateng 2020-10-18 19:08:47 +02:00
parent c125cbc20d
commit ce9d882856

View File

@ -55,7 +55,9 @@ class MusicBrainz(MetadataInterface):
)
responsedata = response.read()
data = json.loads(responsedata)
return self.metadata_parse_response_track(data)
imgurl = self.metadata_parse_response_track(data)
if imgurl is not None: imgurl = self.postprocess_url(imgurl)
return imgurl
except:
return None