mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-22 03:05:32 +02:00
fix(frontend): add yt:user/ to isPlaylistSource shorthand detection
Backend determine_source routes yt:user/... (and youtube:user/...) to YouTubeChannel — already covered by the yt: shorthand block for playlist/, @, channel/, c/ but missing user/. Old-style user channel URLs would capture correctly server-side but never show the playlist quality/sync UI.
This commit is contained in:
parent
02b9207454
commit
dcdfa78073
3 changed files with 3 additions and 3 deletions
|
|
@ -72,7 +72,7 @@ function isPlaylistSource(locator) {
|
|||
if (ll.startsWith(scheme)) {
|
||||
const after = ll.slice(scheme.length)
|
||||
return after.startsWith('playlist/') || after.startsWith('@') ||
|
||||
after.startsWith('channel/') || after.startsWith('c/')
|
||||
after.startsWith('channel/') || after.startsWith('c/') || after.startsWith('user/')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue