Commit graph

210 commits

Author SHA1 Message Date
Jos Vooges | STH
f20b29362e Allow short Viaplay highlight clips (lower slate threshold to 15s). 2026-09-24 00:03:29 +02:00
Jos Vooges | STH
24051ed48f Harden Viaplay VOD assert against empty-title Don't go soft-fails.
Require response guid/title/product-link, reject short slate durations, record lastVodPlay, and expose an agent vod-probe for production diagnosis.
2026-09-24 00:00:31 +02:00
Jos Vooges | STH
2cc46d87ce Refresh Viaplay session via persistentLogin before VOD play.
Probe proved byguid works with a fresh session cookie; expired tray tokens were the real failure mode. Also drop stale ClearKey on clear VOD and add admin vod-probe.
2026-09-23 03:37:33 +02:00
Jos Vooges | STH
ca5b2b30d0 Harden Viaplay VOD play to exact HAR byguid query and reject promo soft-fails.
Always use canonical producturl/contextualV2/splitIOFlagIds first; validate product-link, productType and duration so Don't go cannot return as a silent 200.
2026-09-23 03:24:23 +02:00
Jos Vooges | STH
2aa35b663e Fix Viaplay VOD Don't go: auth header, list stream-href, reject promo.
Play used cookies only and overlaid the real title on empty promo responses. Match HAR: VIAPLAY-AT, rail stream-href with contextualV2, win10edge, and fail closed on guid/title mismatch.
2026-09-23 03:10:11 +02:00
Jos Vooges | STH
2e6dc3bab9 Fix Viaplay stream-href template expansion that broke VOD play.
RFC 6570 {?params} must become ?, not be stripped — otherwise byguid query is invalid and play fails.
2026-09-23 02:59:17 +02:00
Jos Vooges | STH
c6bd855334 Resolve Viaplay VOD via product stream href and return real titles.
Fetch the content product page with account cookies first (like the web player), expand the templated byguid URL, and expose the clip title instead of the raw guid.
2026-09-23 02:53:31 +02:00
Jos Vooges | STH
03e4deab33 Fix Viaplay VOD play: send producturl/cse like the official player.
Without those params byguid returns a documentary fallback slate (“Don't go”) instead of the clip.
2026-09-23 02:47:47 +02:00
Jos Vooges | STH
bedebf44f6 Round-robin Viaplay VOD accounts and slow Token Tray login.
VOD play rotates accounts like live; tray types/clicks with human delays and pauses between accounts to reduce captcha triggers.
2026-09-23 02:26:07 +02:00
Jos Vooges | STH
8b39ce06ee Add Viaplay sport hub rails with catch-up and VOD play.
Hub mirrors the official sport page shelves; clips/docs use play.viaplay.com/byguid, and ended events stay playable for ~48h.
2026-09-23 02:18:47 +02:00
Jos Vooges | STH
42e521da25 Add Viaplay hub and replace F1 banner with shared hub rail on TV.
Events keep live/upcoming; hubs load via /client/hubs and Viaplay home is time+sport based.
2026-09-23 01:31:33 +02:00
Jos Vooges | STH
fafe97e729 Rename Licenties to DRM and ingest event API ClearKeys into drm_keys.
Schedule feed kids/keys are persisted on fetch/play; admin backfill covers live lists and events.
2026-09-23 01:02:41 +02:00
Jos Vooges | STH
62a7ddec63 Add Admin upload for Token Tray installer on /agent.
Allows publishing NSIS builds via multipart without SSH/docker cp to the host volume.
2026-09-23 00:48:13 +02:00
Jos Vooges | STH
36d02cab10 Add Token Tray NSIS installer hosting and /agent download page.
Serve the Windows setup via /install, ship deploy/agent in Master, and document volume upload for the gitignored exe.
2026-09-23 00:36:40 +02:00
Jos Vooges | STH
c6eec07de5 Auto-refresh tokens based on server-tracked JWT expiry.
Tray polls refresh-due every 10 minutes and silently renews accounts within 90 minutes of expiry.
2026-09-23 00:12:03 +02:00
Jos Vooges | STH
2c14e2ce64 Silent browser UI login for Viaplay and F1TV via Token Tray.
Admin stores email/password; tray uses Playwright against real Chrome to click login and push tokens.
2026-09-22 23:54:10 +02:00
Jos Vooges | STH
c425b2b839 Manage Token Tray key from Admin settings.
Generate or paste a secret in the UI; agent API prefers DB key over TOKEN_TRAY_SECRET env.
2026-09-22 23:34:51 +02:00
Jos Vooges | STH
22d46ffac7 Add Windows token-tray MVP for Viaplay session refresh.
Agent API accepts X-Tray-Key pushes; Electron tray captures cookies and upserts accounts by email.
2026-09-22 23:24:44 +02:00
Jos Vooges | STH
0424ec4a10 Use VIAPLAY-AT auth scheme for account overview.
Bearer was rejected with Forbidden; manage-account HAR uses VIAPLAY-AT.
2026-09-22 23:14:40 +02:00
Jos Vooges | STH
1c939acd59 Allow refreshing Viaplay session tokens on existing accounts.
Add Tokens vernieuwen UI and strip Bearer prefix when saving accessToken.
2026-09-22 22:54:18 +02:00
Jos Vooges | STH
f19c173369 Fix Viaplay overview Forbidden by using Bearer-only auth.
Match manage-account HAR: no cookies on overview, and surface expired accessToken clearly.
2026-09-22 22:47:40 +02:00
Jos Vooges | STH
1c0275c21d Stop guessing Viaplay packages; only show overview API pakketinfo.
Remove session-based subscription inventing and surface a clear error when package lookup fails.
2026-09-22 22:43:38 +02:00
Jos Vooges | STH
8be634f783 Show Viaplay subscription type on each account after add/check.
Auto-probe on account add and always render an Abonnement row, with session-cookie fallback when overview is unavailable.
2026-09-22 22:37:40 +02:00
Jos Vooges | STH
7cab13c5a8 Fix Viaplay account probe and serve agenda from Scripts only.
Show subscription status more reliably; drop FAAB Viaplay from Events and limit our agenda to 3 days ahead.
2026-09-22 22:30:55 +02:00
Jos Vooges | STH
fb8601c2b5 Harden repo for store review: ignore secrets and soften admin copy.
Keep credentials, HARs and probe dumps out of git; use neutral wording around sessions and stream licenses.
2026-09-22 22:17:25 +02:00
Jos Vooges | STH
57ac2d4435 Add Viaplay Scripts: EPG sync, cookie accounts, cache-first play/keys.
Sport agenda merges into Events; staggered pre-live fetches MPD/ClearKeys into the DRM DB.
2026-09-22 22:07:35 +02:00
Jos Vooges | STH
4b1f9eb763 Add searchable DRM key database in admin for reused ClearKeys.
Persist kids/keys with channel/event/MPD metadata, expose /drm search UI, and record keys from Odido sync/play for cache-first reuse.
2026-09-22 21:50:50 +02:00
Jos Vooges | STH
d8a1c28283 Fix F1TV 2026 terugkijken: ended live sessions + smarter meeting sync.
Treat finished LIVE_EVENTs as hub replays, select meetings near now (not season tail), enrich meeting metadata, and retry VOD play without channelId.
2026-09-22 04:34:24 +02:00
Jos Vooges | STH
9ac832545d Map F1TV play failures to clear AppErrors instead of INTERNAL_ERROR.
Upcoming agenda sessions were hitting CONTENT/PLAY and surfacing a generic 500 to the TV app.
2026-09-22 04:20:55 +02:00
Jos Vooges | STH
20a3cfb056 Fix F1TV cover URLs: resolve relative pictureUrl via image-resizer.
F1 metadata returns paths like 1000…/id, not full HTTPS URLs — hub cards and hero stayed blank without this.
2026-09-22 04:15:13 +02:00
Jos Vooges | STH
8685870358 Add F1TV Scripts integration with multi-account sync and Events merge.
Tabbed Scripts UI keeps Odido and F1TV separate; F1TV syncs calendar sessions into Events and exposes hub play APIs for upcoming Android TV work.
2026-09-22 03:43:56 +02:00
Jos Vooges | STH
2d50d8948a Fix Odido sync: sequential per-account play and stop disabling package channels. 2026-09-22 01:35:22 +02:00
Jos Vooges | STH
62435927f5 Fix Odido multi-account sync: unique device IDs and fresh login before play. 2026-09-22 01:25:27 +02:00
Jos Vooges | STH
e3601710f8 Show Odido account health (active/dead) in Scripts after login probe. 2026-09-22 00:57:47 +02:00
Jos Vooges | STH
96117a4887 Support multiple Odido accounts with union sync and round-robin play. 2026-09-22 00:43:14 +02:00
Jos Vooges | STH
15a678b835 Auto-match Odido channels to XMLTV EPG across all configured sources. 2026-09-21 21:37:20 +02:00
Jos Vooges | STH
57972ca5f0 Cache Odido MPDs for ~1h with admin tweak knobs and background refresh. 2026-09-21 21:24:15 +02:00
Jos Vooges | STH
03e5c9c661 Add Odido live provider with admin WVD upload and auto-migrate on deploy. 2026-09-21 21:10:41 +02:00
Jos Vooges | STH
8bfa8935b0 Fix TypeScript const assertion on TMDB trailer type mapping. 2026-09-21 04:02:01 +02:00
Jos Vooges | STH
4a09ea74c1 Fix TMDB trailers missing for Dutch locale detail pages.
Request include_video_language=nl,en,null so English YouTube trailers are not filtered out when language=nl-NL.
2026-09-21 04:00:06 +02:00
Jos Vooges | STH
c6572073f8 Add category backdrop fallbacks when live-event covers are missing.
Serve sport-themed 16:9 art from master-api and keep channel logos on event cards so shelves stay filled after stripping wrong live thumbs.
2026-09-21 02:46:21 +02:00
Jos Vooges | STH
5db9658e84 Improve Ziggo art matching for highlights and strip live thumbs.
Samenvattingen like Moto3 Austria now match via series aliases (Austria/Oostenrijk, Moto3) without strict air-time overlap; unmatched Racing rows drop live channel thumbs so football-on-air never stays as card art.
2026-09-21 02:24:39 +02:00
Jos Vooges | STH
5a990ae346 Enrich Ziggo/ESPN live-event art in master-api from official EPG/Watch APIs.
Replace FAAB live-channel thumbs with Gracenote (Ziggo GO) and ESPN artwork so all clients get correct Racing/ESPN images without app changes.
2026-09-21 02:07:17 +02:00
Jos Vooges | STH
bfeb270459 Polish iOS Events like Android TV and fix ClearKey/PiP playback.
Sport shelves and neon Events UI; HLS ClearKey proxy; safer drawable/PiP teardown for stable video and subtitles.
2026-09-20 02:02:38 +02:00
Jos Vooges | STH
796edf36db Add Events sport chips and shelves with sportBucket (TV 0.14.65).
Normalize FAAB events into stable sport buckets on master-api, group the TV Events tab by sport (with client fallback), and bump Android TV to 128/0.14.65.
2026-09-19 14:26:43 +02:00
Jos Vooges | STH
7ace6ab214 fix Prime/Amazon event art: BOXART cover, HERO backdrop, real logos.
Add imageBackdrop and retune scoring so card rails use BOXART-16X9, detail/hero prefer HERO-16X9, and channels-logo PNGs no longer win as cover or logo. TV 0.14.61.
2026-09-19 01:51:29 +02:00
Jos Vooges | STH
79f15719a3 admin streams presence for events/live-lists with client heartbeat. 2026-09-19 01:04:04 +02:00
Jos Vooges | STH
cbacf1af41 Polish TV Live Events focus/playback and add per-viewer provider access in admin/API.
Improves Android TV Events navigation and player UX, and gates schedule streams by viewer Live Events ACL plus prisma migration.
2026-09-19 00:39:03 +02:00
Jos Vooges | STH
ac951617cb Add Live Events across API/admin/Android TV, mobile ClearKey/DASH fixes, and tvOS app.
Wire FAAB schedule-events into master-api and admin IPTV settings, add Android TV Events UI, fix mobile ClearKey/stream playback (DASH + bump 1.0.23), and scaffold the Apple TV (VMCTV) client with docs/scripts.
2026-09-18 23:34:42 +02:00
Jos Vooges | STH
94bf98ded7 Include custom live lists in admin TV category order.
Lists appear alongside XUI categories and respect the saved order in apps.
2026-09-18 20:08:00 +02:00