Commit graph

292 commits

Author SHA1 Message Date
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
f9ec3be09e Fix Viaplay VOD live-edge seek and slow Token Tray typing.
Clips no longer use DASH live configuration (was jumping to end). Tray 0.1.2 types slower; no inter-account pause.
2026-09-23 02:38:26 +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
244a8c97ed Fix Events crash: bind FocusRequester before TopNav down to hub rail. 2026-09-23 01:43:20 +02:00
Jos Vooges | STH
1f072b7d09 Bump Android TV to 0.14.81 for Viaplay hub rail. 2026-09-23 01:35:44 +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
15757d98b5 Add MC brand icon to Token Tray tray and Windows installer.
Previous builds used an empty placeholder and the default Electron icon.
2026-09-23 00:42:48 +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
4b4f0abcff Fix tray login selectors to use visible password form fields.
Avoid hidden forgot-password inputs on F1/Viaplay and prefer account.viaplay.com login URL.
2026-09-23 00:04:33 +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
f92323847a Extend secret ignores and neutralize iOS stream docs for review. 2026-09-22 22:18:16 +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
85da6f59ad Ship F1 hub on Android TV and harden iOS live/ClearKey playback.
Add the WOW-style F1 hub navigation/rails and improve event playback paths on TV/mobile plus iOS AVLive/ClearKey proxy handling.
2026-09-22 21:52:23 +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
852a91cbed Show Odido sync reenabled and playOk counts in live-lists summary. 2026-09-22 01:35:47 +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
1b5c992ca5 Remove invalid picture-in-picture UIBackgroundModes for App Store upload.
Apple rejects that background mode value; audio alone is enough for playback.
2026-09-21 03:13:24 +02:00
Jos Vooges | STH
7c27111567 Drop unsupported logoUrl from Events PlayerScreen.live call.
Keeps 0.5.36 archivable against the current PlayRequest API.
2026-09-21 03:11:09 +02:00
Jos Vooges | STH
ddf5ae7f8f Fix iOS archive for VLCKit 4 and Events play sheet binding.
Unblocks TestFlight 0.5.36 after media.parse/.buffering API removals and optional EventPlayItem Binding inference.
2026-09-21 03:09:27 +02:00
Jos Vooges | STH
9c62052663 Ship event logo badges on TV, mobile and iOS.
Bump Android TV 0.14.72, mobile 1.0.26 and iOS 0.5.36 so category fallback covers show the channel logo on event cards.
2026-09-21 02:56:52 +02:00