mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Merge pull request #34 from p182/patch-1
Fixed double escaping when getting metadata from musicbrainz
This commit is contained in:
commit
21b27d17c5
4
maloja/thirdparty/musicbrainz.py
vendored
4
maloja/thirdparty/musicbrainz.py
vendored
@ -33,8 +33,8 @@ class MusicBrainz(MetadataInterface):
|
||||
self.lock.acquire()
|
||||
try:
|
||||
artists, title = track
|
||||
artiststring = urllib.parse.quote(", ".join(artists))
|
||||
titlestring = urllib.parse.quote(title)
|
||||
artiststring = ", ".join(artists) #Join artists collection into string
|
||||
titlestring = title
|
||||
querystr = urllib.parse.urlencode({
|
||||
"fmt":"json",
|
||||
"query":"{title} {artist}".format(artist=artiststring,title=titlestring)
|
||||
|
Loading…
Reference in New Issue
Block a user