Commit Graph

20 Commits

Author SHA1 Message Date
Myron Blair 3c47894628 Fix Library Scan tab race condition mixing results across kinds
Switching tabs quickly (e.g. Movies -> Music) had no guard against an
in-flight response from the previous tab resolving late and overwriting
the new tab's results — showing movie/TV rips under the Music tab. Now
tracks a request sequence number and ignores stale responses, and clears
results immediately on tab switch so nothing renders under the wrong label.
2026-07-26 21:07:40 -05:00
Myron Blair 3d2b7a4122 Wire Requests approval into Radarr/Sonarr with live download status
Admin can now Approve a pending request as Movie or TV, which looks up
the title via Radarr/Sonarr's own lookup API, adds the best match with
search-on-add enabled, and tracks the resulting radarr_id/sonarr_id on
the request. A live status line (searching/queued/downloading/downloaded,
polled every 15s) shows next to each approved request.
2026-07-26 20:55:22 -05:00
Myron Blair 1891fd0b7c Add Select All / Deselect All to Library Scan
Lets admins select every not-yet-imported item in the current tab in one
click instead of clicking each row individually.
2026-07-26 20:47:19 -05:00
Myron Blair 514cbad4ab Add filesystem Library Scan (movies/tv/music) and a full Music library
- New admin Library Scan page walks the NAS mounts directly for movies,
  TV, and music not already in Radarr/Sonarr/local storage, and imports
  them with storage_type=scan (fully integrated: streamable, transcodable,
  listed in Admin) — Radarr/Sonarr import flows are untouched.
- New Music section (nav tab, album-grid browse, per-album track list,
  persistent bottom player with queue/seek) backed by a Track model and
  range-request audio streaming endpoint.
- MusicBrainz + Cover Art Archive integration (free, no API key) to fill
  in album art for scanned tracks, paced to their 1 req/sec rate limit.
- Mounted the NAS music share into CT104 (new mp2 LXC mountpoint,
  CIFS read-only) alongside the existing video mount.
- Optional Bluetooth/output-device picker on the player bar via the Audio
  Output Devices API (setSinkId) for already-paired speakers — Chrome/Edge
  only, since browsers can't pair new BT devices directly.
2026-07-26 20:25:41 -05:00
Myron Blair f7626ced2e Merge watch profiles into user accounts — one profile per login, no picker
- Removed the "Who's Watching" sub-profile picker entirely: ProfileProvider now
  auto-resolves the single profile tied to the account immediately after login
- Backend: removed POST/DELETE /profiles (no more creating/deleting extra
  profiles — lifecycle is entirely driven by user create/delete, already wired
  in the admin Users CRUD); kept GET (internal) and PATCH (edit your own
  profile's avatar/kids-mode/rating cap)
- Deleted ProfileSelect page and the now-unused ProtectedRoute component
- Navbar: removed the "switch profile" action, account avatar is now just a
  static display
- api.js: dropped the now-dead X-Profile-Id header logic (backend already
  falls back to the account's single profile when the header is absent)
2026-07-26 19:40:12 -05:00
Myron Blair 5b191da471 Add user management (CRUD + admin toggle), make Settings available to all users
- New /admin/users page: create/delete users, toggle admin role, guarded against
  self-demotion/self-deletion
- Backend: GET/POST/PATCH/DELETE /api/admin/users, admin-only
- Settings moved from /admin/settings to /settings (all logged-in users); the
  password-change section shows for everyone, integration/API-key sections only
  render (and only fetch) for admins, since those endpoints stay admin-gated
- Navbar: Settings link now visible to all users; added Users nav link for admins
2026-07-26 19:21:50 -05:00
Myron Blair 0f6f03509a Move service status bar to global chrome, fixed just below navbar (admin-only) 2026-07-26 19:13:45 -05:00
Myron Blair 4d77a36f99 Add admin-only service status panel with restart, wired to Docker directly 2026-07-26 17:53:19 -05:00
Myron Blair 19374b694e Add self-service admin password change (requires current password) 2026-07-23 22:48:32 -05:00
Myron Blair e27bb37f7b Rebrand StreamHoard, strip Emergent.sh platform artifacts
- Remove .emergent/ state dir, tracked .gitconfig, @emergentbase/visual-edits
  dep + craco wiring, emergent.sh script/meta tags, PostHog telemetry snippet
- Rename UI/docs branding Kino -> StreamHoard (README, DEPLOY.md, Navbar,
  Login, Register, AdminShowEpisodes, FastAPI title, health check response)
- Rename docker-compose container/network names to streamhoard-*
- Default admin email domain -> admin@streamhoard.local
2026-07-23 20:20:29 -05:00
emergent-agent-e1 211d4c23d5 auto-commit for 296e06eb-544f-4710-845e-c5a611b15f0e 2026-07-23 23:03:09 +00:00
emergent-agent-e1 bd8480bd14 auto-commit for 0175172f-4f7e-4804-ad7f-68312dcdad0d 2026-07-23 22:23:41 +00:00
emergent-agent-e1 22d8479b39 auto-commit for b082c1c8-f6e3-4cfd-82ee-0396c70d1a00 2026-07-23 22:18:08 +00:00
emergent-agent-e1 1471d58385 auto-commit for 28f1e986-c2af-4742-ad64-e0661980843c 2026-07-23 22:01:21 +00:00
emergent-agent-e1 21cdd24116 auto-commit for b6946a78-11ff-4dc8-85b6-12e35b57d256 2026-04-29 16:34:49 +00:00
emergent-agent-e1 da8a2903b4 auto-commit for b5490b7b-d57f-4f53-9a99-bd8ed84027db 2026-04-29 16:33:26 +00:00
emergent-agent-e1 20aba50fa1 auto-commit for cf4f0369-14b7-4d06-b915-b8f7098fd48d 2026-04-29 16:21:32 +00:00
emergent-agent-e1 cdc8c8955f auto-commit for 14921357-f5e2-4aba-b4c1-a07a52c800cc 2026-04-29 16:01:20 +00:00
emergent-agent-e1 356aa13063 auto-commit for df4b0748-985b-4592-8c48-1e56102f3613 2026-04-29 14:49:07 +00:00
emergent-agent-e1 7673090279 auto-commit for a6c922a7-7216-4688-a9a9-38dcd5c45488 2026-04-29 14:33:29 +00:00