From 6434405f1c89a23e806d1bf237fda4be16abcb0c Mon Sep 17 00:00:00 2001 From: krateng Date: Mon, 16 Oct 2023 13:28:43 +0200 Subject: [PATCH] Actually fix GH-251 --- maloja/malojauri.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maloja/malojauri.py b/maloja/malojauri.py index 287f504..1ae4364 100644 --- a/maloja/malojauri.py +++ b/maloja/malojauri.py @@ -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":