soulsync/webui/static/video
BoulderBadgeDad e5a4dda117 Video watchlist (shows + people): DB + endpoints + button + page (v1, no scan yet)
A curated follow-list for the video side, mirroring the music watchlist. v1 is
membership only — the monitoring/discovery engine is a later phase.

Backend:
- video_watchlist table (kind 'show'|'person', keyed on tmdb_id — the stable
  cross-context id both carry; library_id kept when owned). NOT the existing
  shows.monitored flag (that defaults to 1 / is library-only / has no people).
- VideoDatabase: add/remove/list/state/counts (upsert COALESCEs library_id +
  poster so a TMDB re-add can't wipe known data).
- /api/video/watchlist {GET, /add, /remove, /check, /counts}.
- query_library now selects s.tmdb_id so show cards can carry the key.

Frontend:
- video-watchlist-btn.js: shared eye button (the music ya-watchlist-btn mirror)
  — build/toggle/hydrate, one delegated capture-phase click handler, broadcasts
  soulsync:video-watchlist-changed so pages can react.
- Watchlist page (new subpage + video-watchlist.js): Shows / People tab switcher,
  poster grid to detail-page quality, reloads each visit, drops cards on unfollow.
- Wired the eye onto library TV-show cards (movies excluded — wishlist, not
  watch) + hydrate on render.

Tests: 6 new (DB upsert/COALESCE/state/counts + endpoint roundtrip/validation).
76 video tests green. Other card surfaces (cast, search, similar, filmography)
are the same VideoWatchlist.btn(...) one-liner — wired next.
2026-06-16 01:06:24 -07:00
..
video-calendar.js Video Calendar: EPG-style guide with a shared time axis + premium polish 2026-06-16 00:35:35 -07:00
video-dashboard.js video dashboard: Library card is a live scan tool (parity with music) 2026-06-14 09:28:14 -07:00
video-detail.js Video detail: trailer billboard reveals with a left→right wipe + fade 2026-06-15 16:55:00 -07:00
video-enrichment-manager.js video: coverage-card click re-queues failed matches (match music manager) 2026-06-15 14:27:25 -07:00
video-enrichment.js Video side: own server connection (Plex/Jellyfin), music-style picker, isolated 2026-06-15 16:42:22 -07:00
video-library.js Video watchlist (shows + people): DB + endpoints + button + page (v1, no scan yet) 2026-06-16 01:06:24 -07:00
video-person.js video: person page — photos gallery + lightbox + 'also known as' 2026-06-15 11:49:43 -07:00
video-scan.js video Tools: rehydrate scan state on page refresh (parity with music) 2026-06-14 07:59:44 -07:00
video-search.js video: card hover shows an info badge, not a misleading play button 2026-06-15 11:42:32 -07:00
video-settings.js Video side: own server connection (Plex/Jellyfin), music-style picker, isolated 2026-06-15 16:42:22 -07:00
video-side.css Video watchlist (shows + people): DB + endpoints + button + page (v1, no scan yet) 2026-06-16 01:06:24 -07:00
video-side.js video: fix back-button loop when a 'More Like This' item is owned 2026-06-15 12:18:05 -07:00
video-watchlist-btn.js Video watchlist (shows + people): DB + endpoints + button + page (v1, no scan yet) 2026-06-16 01:06:24 -07:00
video-watchlist.js Video watchlist (shows + people): DB + endpoints + button + page (v1, no scan yet) 2026-06-16 01:06:24 -07:00
video-worker-orbs.js video: promote OMDb to a full 3rd enrichment worker (parity with TMDB/TVDB) 2026-06-14 23:07:35 -07:00