Actually fix GH-251

This commit is contained in:
krateng 2023-10-16 13:28:43 +02:00
parent b64771b5c9
commit 6434405f1c

View File

@ -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":