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:
parent
c125cbc20d
commit
ce9d882856
4
maloja/thirdparty/musicbrainz.py
vendored
4
maloja/thirdparty/musicbrainz.py
vendored
@ -55,7 +55,9 @@ class MusicBrainz(MetadataInterface):
|
|||||||
)
|
)
|
||||||
responsedata = response.read()
|
responsedata = response.read()
|
||||||
data = json.loads(responsedata)
|
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:
|
except:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user