Commit graph

224 commits

Author SHA1 Message Date
Jos Vooges | STH
942da3a58c Allow re-picking OS.org subtitles on imported jobs; fix OpenSubtitles.com User-Agent format.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:45:48 +02:00
Jos Vooges | STH
afcc2e759f Clarify OpenSubtitles.com 403 (User-Agent) and prefer OS.org downloads without .com login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:39:47 +02:00
Jos Vooges | STH
93bbd07487 Fail loudly on subtitle download and write sidecar with retry (media-node 1.3.2).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 21:33:00 +02:00
Jos Vooges | STH
e2a9155105 Search OpenSubtitles.com and .org in parallel for more NL subtitle hits.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 20:43:19 +02:00
Jos Vooges | STH
213faa15ea Move Download Station into Settings tabs and harden Downloads for mobile.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 20:15:18 +02:00
Jos Vooges | STH
d89b207acf Store OpenSubtitles credentials in Admin settings and attach NL subs to Stremio streams.
No env vars needed; subtitle text is served from Master after download import.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 18:40:36 +02:00
Jos Vooges | STH
607386b94c Keep release tags in imported filenames and add OpenSubtitles NL pick.
Downloads confirm flow can select a Dutch subtitle that is written beside the movie on import.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 18:35:05 +02:00
Jos Vooges | STH
9843d20614 Fix Downloads search UI and clarify DS destination errors.
Clear results after starting a job, show one clean list layout, and map Synology 403 to a readable destination hint.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 18:19:24 +02:00
Jos Vooges | STH
18eb702de2 Add Synology Download Station search and 4K import pipeline.
Admin can search DS, confirm TMDB/IMDb, then auto-move finished downloads into a fixed 4K library folder via the media-node.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:42:12 +02:00
Jos Vooges | STH
756b2adda8 Add Accounts menu and mobile card layouts; reorganize admin IA.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 02:36:36 +02:00
Jos Vooges | STH
2489e9b1fc Add admin password change form in Settings.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 02:19:33 +02:00
Jos Vooges | STH
d53a4f9297 Make admin UI mobile-first with bottom nav and installable PWA support.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 02:11:40 +02:00
Jos Vooges | STH
f1b6923287 Fix stream progress to use bytes sent instead of range offset probes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 01:45:50 +02:00
Jos Vooges | STH
359a3c6883 Dedupe live streams to one row per viewer and ignore probe sessions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 01:35:20 +02:00
Jos Vooges | STH
0f7b566626 Add Plex-like live streams with viewer labels and progress, plus admin UI redesign.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 01:24:55 +02:00
Jos Vooges | STH
106aa996a4 Fix storage double-count, add incremental catch-up scan, improve 4K detection.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 07:39:43 +02:00
Jos Vooges | STH
a26d1a4c45 Add Synology media-node install script for multi-NAS enrollments.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 04:25:23 +02:00
Jos Vooges | STH
76c989ba3c Show node scan status and fast-path shelf updates during library sync. 2026-08-26 03:00:47 +02:00
Jos Vooges | STH
71c0244dd9 Show shelf paths in settings and force rescan after path changes. 2026-08-26 02:18:19 +02:00
Jos Vooges | STH
8200b908e1 Prefer longest scan root for shelf assignment and refresh Stremio shelf manifests. 2026-08-26 02:05:13 +02:00
Jos Vooges | STH
788cfa1255 Add manual TMDB/IMDb rematch for movies and series in admin. 2026-08-26 01:56:29 +02:00
Jos Vooges | STH
887f750f92 Repair Cinemeta/IMDb linking after path migration and harden library sync. 2026-08-25 22:02:54 +02:00
Jos Vooges | STH
21d0d7868e Serialize library sync to prevent Prisma connection pool exhaustion. 2026-08-25 21:30:48 +02:00
Jos Vooges | STH
a4dfb1b472 Add admin-managed node scan paths, restart, and shared library shelves.
Shelves (e.g. Kids Films) are defined in settings; node roots bind paths to shelves so the same Stremio catalog aggregates content across nodes.
2026-08-25 20:47:41 +02:00
Jos Vooges | STH
002472e235 Mark IPTV live streams notWebReady and prefer MPEG-TS for XUI playback.
Stremio requires notWebReady for non-MP4 so the local streaming server follows XUI redirects; HLS auth often hangs while TS works.
2026-08-25 17:05:51 +02:00
Jos Vooges | STH
2df8a6a83c Use XUI /play/token stream URLs from m3u playlist for live TV.
Classic /live/user/pass/id hangs on real live channels on XUI 1.5; created_live (24/7) still worked, which matched the reported symptom.
2026-08-25 16:46:55 +02:00
Jos Vooges | STH
b9900e1c3a Fix direct IPTV playback: drop notWebReady and encode Xtream credentials in URLs. 2026-08-25 16:42:14 +02:00
Jos Vooges | STH
9b7e26041e Add Xtream IPTV per addon token with Live TV, EPG, and icons. 2026-08-25 16:32:45 +02:00
Jos Vooges | STH
b78f7af24f Improve Stremio logos and enrich movie/series meta from TMDB.
Prefer Metahub/medium logos, add cast, directors, rating, trailers and related fields.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 14:23:42 +02:00
Jos Vooges | STH
1da247d2fb Backfill series IMDb IDs and resolve Cinemeta tt:S:E streams locally.
Catalog/meta stay on mcseries; tt is streams-only so episode lists stay intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 11:48:46 +02:00
Jos Vooges | STH
fc842aa145 Process all pending movies in IMDb backfill instead of capping at 200.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 11:41:56 +02:00
Jos Vooges | STH
a9df10ed7c Fix TypeScript null check in movie stream consolidate.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 11:37:06 +02:00
Jos Vooges | STH
5e11811dea Backfill movie IMDb IDs so Cinemeta detail pages resolve local streams.
Admin button + startup job; log tt stream misses without touching series meta.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 11:35:30 +02:00
Jos Vooges | STH
82bf5f5844 Restore movie streams via IMDb IDs while keeping series on private IDs.
Claim tt for streams only, store movie imdb from TMDB, consolidate duplicate movie rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 11:24:02 +02:00
Jos Vooges | STH
38bd4a822e Fix series showing only S01E01: consolidate duplicate series and list from files.
Merge title/TMDB siblings on meta open, drop defaultVideoId, show episode file counts in admin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 05:22:09 +02:00
Jos Vooges | STH
8b3ef15dc9 Fix TypeScript null check in series episode loader.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 05:13:19 +02:00
Jos Vooges | STH
1c76b0cd32 Fix series episode list: private IDs, unique released, dual episode lookup.
Bump addon to 1.4.0 so Stremio refreshes catalog away from IMDb/Cinemeta merges.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 05:11:58 +02:00
Jos Vooges | STH
0ebaaa1d99 Stop using IMDb IDs for library series so Stremio no longer merges with Cinemeta.
Always use mcseries-{uuid}, load all episodes with files, unique released dates per episode.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 05:08:38 +02:00
Jos Vooges | STH
6974ac39e8 Fix Stremio series episodes per addon SDK: require Video.released, safer IDs, wildcard meta routes.
Stremio drops videos without ISO-8601 released; also prefer IMDb IDs and mcseries- ids without extra colons.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 05:03:24 +02:00
Jos Vooges | STH
189448ebdb Decouple series episode listing from logo/still columns so meta cannot go empty again.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:57:55 +02:00
Jos Vooges | STH
a0785962ab Add series clearlogo and restore episode thumbnails safely on seasons meta path.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:53:45 +02:00
Jos Vooges | STH
1f180476d1 Restore series meta via seasons path; keep TMDB enrich off the critical path.
Series listing broke after switching to series.episodes and selecting stillUrl — revert to the pre-TMDB catalog-aligned query.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:50:46 +02:00
Jos Vooges | STH
6a2dc108de Fix TypeScript where-clause type that broke master-api Docker build.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:45:40 +02:00
Jos Vooges | STH
f6482be692 Hardening series meta: survive missing still_url and empty available flags.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:44:18 +02:00
Jos Vooges | STH
52e2be7296 Fix empty series episodes: never block Stremio meta on TMDB enrich or bad air dates.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:33:21 +02:00
Jos Vooges | STH
9c3fd94f03 Make scan settings default without Unraid env and editable per node in admin.
Legacy 6h configs migrate to watch + nightly 03:30; master pushes schedule via HELLO_ACK/CONFIG_UPDATE.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:27:12 +02:00
Jos Vooges | STH
f113a1ad8c Watch-first library updates with nightly 03:30 catch-up, plus TMDB episode titles and thumbnails.
Realtime fsnotify handles add/remove; optional interval scans default off; Stremio series meta now enriches episodes from TMDB (name, still, air date).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 04:21:35 +02:00
Jos Vooges | STH
f24b3f1409 Fix Stremio catalog pagination and reduce duplicate movie/series rows.
Catalogs now support skip so Stremio can load more than 100 titles; matching prefers TMDB and can merge orphans; admin can dedupe and see available vs scanned counts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 03:55:27 +02:00
Jos Vooges | STH
b5236188c6 Add admin control to list/disable/delete addons and permanently remove nodes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 03:33:49 +02:00
Jos Vooges | STH
cc7b7c8505 Fetch TMDB metadata in Dutch and improve Stremio stream labels.
Show quality (1080p/4K) as the stream badge with codec and filename details underneath.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 03:25:38 +02:00
Jos Vooges | STH
196e78d1f0 Stop HELLO from overwriting node publicStreamUrl.
Admin can fix URL typos without recreating the Unraid container env.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 03:04:29 +02:00
Jos Vooges | STH
dcc10fc7d3 Allow editing node publicStreamUrl in admin.
Helps fix typos like node01 vs node1 without re-enrolling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 03:02:16 +02:00
Jos Vooges | STH
974b3124d0 Fail closed on missing playback ACK; log node /play hits for diagnosis.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:47:41 +02:00
Jos Vooges | STH
2aac72cd71 Revert stream proxy: Stremio plays directly from the media node.
Master only creates the playback session and returns the node URL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:45:16 +02:00
Jos Vooges | STH
97de6439b5 Proxy Stremio playback through Master to avoid node hairpin NAT.
Clients only talk to master.vonas.nl; Master fetches the node stream server-side and pipes Range responses.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:44:30 +02:00
Jos Vooges | STH
6f78f13af5 Serve direct node stream URLs; ACK library sync without blocking WS.
Stremio was hanging on Master 307 redirects. Sessions are created in stream.json with the node play URL. Full sync ACKs immediately so playback stays responsive.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:40:50 +02:00
Jos Vooges | STH
181ab0b7f6 Fix Fastify 5 redirect signature for playback.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:36:24 +02:00
Jos Vooges | STH
0608020556 Stop Stremio binge prefetch creating phantom next-episode streams.
Remove bingeGroup, skip session creation on HEAD probes, and hide stale sessions in admin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:35:29 +02:00
Jos Vooges | STH
b1d008e8aa Fix playback hang: raise stream connection limit and freshen sessions.
Stremio opens many Range requests behind NPM; max 8 per IP caused stalls. Use lazy play URLs, hex tokens, CORS, and validate files before session ACK.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:34:09 +02:00
Jos Vooges | STH
eb8ae1e85a Fix Stremio playback, folder-aware scan, and remove STH branding.
Parse Plex-style Title (Year) and Show/Season folders; restore notWebReady with direct node stream URLs; hide unavailable titles by default.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 02:16:46 +02:00
Jos Vooges | STH
93dbf44fb8 Fix LibraryEventType switch cases for TypeScript build.
Use FILE_ADDED/FILE_UPDATED/FILE_REMOVED to match shared-types.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 01:59:28 +02:00
Jos Vooges | STH
7519c9228f Batch full library sync over WebSocket to avoid connection resets.
Large libraries (~30k files) overflowed a single WS message; sync now runs in ACK'd batches with event buffering on the node.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 01:58:31 +02:00
Jos Vooges | STH
7741500e73 Fix Stremio playback: lazy sessions, remove notWebReady, node ACK.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 01:47:54 +02:00
Jos Vooges | STH
3a7151e3ae Add one-command Unraid media-node install via Master.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 01:16:47 +02:00
Jos Vooges | STH
72a323e451 Do not force Secure cookies in production when site is served over HTTP.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 01:04:47 +02:00
Jos Vooges | STH
9b557cee54 Fix dashboard BigInt crash when storage fields are missing.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 01:03:04 +02:00
Jos Vooges | STH
39ecf1af56 Fix admin session cookie by setting it on the admin domain after login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 01:00:16 +02:00
Jos Vooges | STH
29595dd98f Fix Fastify Stremio routes: wildcard must be last path segment.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 00:55:20 +02:00
Jos Vooges | STH
4e232e8ef6 Fix master-api Docker runtime: flat deps, explicit env, longer health start period.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 00:48:41 +02:00
Jos Vooges | STH
96a0bbface Use generic Aanmelden title on login page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 00:46:10 +02:00
Jos Vooges | STH
0a007aae83 Fix admin→master connectivity via host fallback; use generic login branding.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 00:45:53 +02:00
Jos Vooges | STH
89916d2c0b Fix admin login: runtime API proxy to master-api instead of broken build-time rewrite.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 00:43:22 +02:00
Jos Vooges | STH
4e21eb76ae Fix admin-ui Docker image: build as single app so server.js is at /app/server.js.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 00:40:46 +02:00
Jos Vooges | STH
a5c6fd5fe4 Initial commit: Distributed Stremio Media Cluster V1
Master API, Admin UI, Go media-node, Docker/Dokploy deploy configs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 00:17:04 +02:00