1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-22 11:15:41 +02:00
archivr/frontend/src
TheGeneralist 6eef53ee3a
fix(frontend): tighten isPlaylistSource to mirror backend routing exactly
Previous fix excluded /watch but still returned true for any youtube.com
URL with a ?list= param (e.g. /shorts/xxx?list=yyy). Backend determine_source
only routes to YouTubePlaylist on /playlist?list=... and to YouTubeChannel on
/@handle, /channel/, /c/, /user/ paths — everything else is a single item.

Rewrite the HTTP block to match:
- youtube.com: pathname==='/playlist' && list param → playlist
             : /@, /channel/, /c/, /user/ → channel
             : anything else (incl. /watch&list=, /shorts?list=) → false
- music.youtube.com: pathname==='/playlist' && list param → YTM playlist
                   : /watch → single track (falls through to false)
2026-07-20 22:50:55 +02:00
..
components fix(frontend): tighten isPlaylistSource to mirror backend routing exactly 2026-07-20 22:50:55 +02:00
api.js feat(server,frontend): playlist quality selector + per-video overrides + sync UI 2026-07-20 22:46:30 +02:00
App.jsx feat(frontend): add async capture UX with skeleton entries for in-progress captures (#31) 2026-07-20 14:27:15 +02:00
main.jsx feat(ui): rewrite frontend in React with Vite 2026-06-24 12:24:34 +02:00
styles.css feat(server,frontend): playlist quality selector + per-video overrides + sync UI 2026-07-20 22:46:30 +02:00
utils.js feat: YouTube Music audio capture (ytm: shorthand, Spotify detection, stalled job recovery) (#19) 2026-07-06 15:34:14 +02:00