From 74917a482e1cd478ab622950c16170b0b062849d Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sun, 24 Sep 2023 11:49:26 +0200 Subject: [PATCH] Fix url parsing --- Shared/URLParser.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/URLParser.swift b/Shared/URLParser.swift index e17e5c32..5472269b 100644 --- a/Shared/URLParser.swift +++ b/Shared/URLParser.swift @@ -41,7 +41,7 @@ struct URLParser { if hasAnyOfPrefixes(path, Self.prefixes[.playlist]!) || queryItemValue("v") == "playlist" || - !(queryItemValue("list")?.isEmpty ?? false) + (queryItemValue("list") ?? "").count > 3 { return .playlist }