fix: accept user-specific playlist ids (LL, WL)

This commit is contained in:
ThetaDev 2025-01-05 03:56:38 +01:00
parent cf498e4a8f
commit 97c3f30d18
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
3 changed files with 5 additions and 2 deletions

View file

@ -260,7 +260,7 @@ impl RustyPipeQuery {
})
} else if util::CHANNEL_ID_REGEX.is_match(s) {
Ok(UrlTarget::Channel { id: s.to_owned() })
} else if util::PLAYLIST_ID_REGEX.is_match(s) {
} else if util::PLAYLIST_ID_REGEX.is_match(s) || util::USER_PLAYLIST_IDS.contains(&s) {
if resolve_albums && s.starts_with(util::PLAYLIST_ID_ALBUM_PREFIX) {
self._navigation_resolve_url(
&format!("/playlist?list={s}"),