mirror of
https://github.com/krateng/maloja.git
synced 2025-04-15 16:30:32 +03:00
Actually fix GH-251
This commit is contained in:
parent
b64771b5c9
commit
6434405f1c
@ -22,8 +22,9 @@ def uri_to_internal(keys,forceTrack=False,forceArtist=False,forceAlbum=False,api
|
||||
|
||||
if (not forceTrack) and (not forceAlbum) and (not forceArtist) and (not type):
|
||||
if "title" in keys: type = "track"
|
||||
if "albumtitle" in keys: type = "album"
|
||||
if "artist" in keys: type = "artist"
|
||||
elif "albumtitle" in keys: type = "album"
|
||||
elif "artist" in keys: type = "artist"
|
||||
|
||||
|
||||
# 1
|
||||
if type == "track":
|
||||
|
Loading…
x
Reference in New Issue
Block a user