Fix url parsing

This commit is contained in:
Arkadiusz Fal 2023-09-24 11:49:26 +02:00
parent e5f49fda5e
commit 74917a482e

View File

@ -41,7 +41,7 @@ struct URLParser {
if hasAnyOfPrefixes(path, Self.prefixes[.playlist]!) || if hasAnyOfPrefixes(path, Self.prefixes[.playlist]!) ||
queryItemValue("v") == "playlist" || queryItemValue("v") == "playlist" ||
!(queryItemValue("list")?.isEmpty ?? false) (queryItemValue("list") ?? "").count > 3
{ {
return .playlist return .playlist
} }