Commit Graph

31 Commits

Author SHA1 Message Date
Myron Blair 64d8945460 Fix wrong Content-Type for m4a/flac/ogg/wav/aac track streams
mimetypes on the backend image doesn't recognize these extensions, so
every non-mp3 track streamed as audio/mpeg — wrong codec hint, breaks
playback in strict browsers. Add an explicit fallback map.
2026-07-26 20:40:59 -05:00
Myron Blair cf31a14ae1 Speed up music scan by deferring tag reads to import time
Reading embedded ID3/MP4 tags for every file during the scan itself was
taking minutes even for a small (146-track) library, since each mutagen
open is a slow round trip over the CIFS-mounted NAS share. Scan now uses
fast filename/path parsing only; tag reads happen once, only for the
tracks actually selected for import.
2026-07-26 20:38:09 -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 5b881a902d Auto-enqueue ABR transcode on Sonarr import, matching Radarr import behavior 2026-07-23 22:45:40 -05:00
Myron Blair 003512c01f Add *arr stack + qBittorrent (VPN'd via gluetun) + Portainer to compose 2026-07-23 22:20:26 -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
Myron Blair d4dffdb6fb Pin mongo to 4.4 - host CPU lacks AVX required by mongo:7+ 2026-07-23 19:55:32 -05:00
Myron Blair 3e30f1491c Remove emergentintegrations dep - not on PyPI, unused in code 2026-07-23 19:50:31 -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 34a052dabf auto-commit for 39cc8e25-6412-479f-a29a-2a2bbf6e58ba 2026-07-23 22:04:55 +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 966ab6a34f Auto-generated changes 2026-04-29 16:22:36 +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 00b0d5426c Auto-generated changes 2026-04-29 16:04:05 +00:00
emergent-agent-e1 1193b74569 auto-commit for 197fcaed-6530-4cd7-ab0c-0158ea90d5dd 2026-04-29 16:02:36 +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 1d4bd4f513 Auto-generated changes 2026-04-29 15:33:52 +00:00
emergent-agent-e1 6393727765 Auto-generated changes 2026-04-29 15:33:01 +00:00
emergent-agent-e1 702cee0e15 auto-commit for 5f579f93-4e2e-4b01-a444-478762fe2864 2026-04-29 15:27:00 +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
emergent-agent-e1 eec94dbf22 Initial commit 2026-04-17 15:59:15 +00:00