Commit graph

14 commits

Author SHA1 Message Date
KhooLy
eb804efad7 Bring dependencies up to date
Some checks are pending
Deploy Web / deploy (push) Waiting to run
Actions first: deploy-web and installer were still on checkout,
setup-node and the artifact actions at v4 while build.yml had already
moved to v7, so the Pages deploy was warning about forced Node 24.

npm goes to latest across both apps, including the majors. TypeScript 7
removed baseUrl outright, so paths becomes relative. jsdom 30,
jest-dom 7 and quickjs-emscripten 0.32 needed no changes.

Two crates broke on the Rust side. aes-gcm 0.11 dropped the OsRng
re-export and moved key and nonce creation onto Generate, and its
from_slice is now TryFrom. The ciphertext layout is untouched, and
reuses_the_same_key_across_calls still reads a key written by the old
code, so nothing already encrypted becomes unreadable. sentry 0.49 made
ClientOptions non-exhaustive, which rules out struct expressions even
with a Default rest, so both init sites assign fields instead.

The installer only ever speaks plain HTTP to the television, so it takes
reqwest 0.13 without a TLS stack at all.
2026-08-16 20:27:26 +03:00
KhooLy
d1a4e2e7c4 Render web subtitles with libass instead of faking VTT
subtitleToVtt only ever understood SubRip: it prepended a WEBVTT header
and swapped comma decimals. ASS and SSA fell through that path unchanged,
so the browser parsed zero cues and the track silently rendered nothing.
Nothing applied the subtitle preferences either, which is why styling
appeared to do nothing on the hosted build.

Convert upward instead of down, the way mpv does internally: SubRip and
VTT are wrapped into a minimal ASS document carrying the user's style,
ASS passes through untouched, and libass renders all of it. That makes
subtitleForceStyle mean what it means on desktop -- respect the file's
own styling, or override it -- and gives SubRip the full styling model
for free.

libass arrives as jassub, loaded on demand and aliased away for the
desktop target so the Tauri bundle does not carry 4MB of wasm to render
subtitles mpv already draws itself.
2026-08-16 18:43:53 +03:00
KhooLy
18c441a055 Fix web runtime, Nuvio sync, and player flows
Some checks are pending
Deploy Web / deploy (push) Waiting to run
2026-08-15 21:48:58 +03:00
KhooLy
0f7a43cb62 Add unified web build and companion streaming proxy 2026-08-15 18:10:16 +03:00
KhooLy
175bb56f50 Drop stale manualChunks config, add opt-in bundle visualizer
The manualChunks rule referenced @phosphor-icons, which this project
doesn't use (it's on lucide-react), and grouping all @tauri-apps modules
into one vendor chunk was undermining route-level lazy loading. Let Rollup's
automatic chunking handle it instead, and lower chunkSizeWarningLimit to
500kb so oversized chunks get flagged earlier.

Add rollup-plugin-visualizer behind an ANALYZE_BUNDLE env var so bundle
composition can be inspected on demand (dist/bundle-stats.html) without
affecting normal builds.
2026-08-10 17:08:52 +03:00
KhooLy
18c99a66e2 Fix Discover catalog dropdown going empty on Movie/Series switch
discover.catalogs held whatever type the last fetch returned, so
switching content type raced the async refetch: the auto-select
effect could latch onto a stale catalog key from the previous type,
which then matched nothing once the real catalogs arrived. Filter
catalogs by the current contentType at the source so a mismatched
entry can never be selected.

Adds a Vitest + RTL harness (none existed) to drive the real
DiscoverScreen through the exact race condition.
2026-07-11 02:44:16 +03:00
KhooLy
9c7d014a32 Add Sentry error monitoring for the React frontend
Reports React render errors caught by ErrorBoundary; only active in production builds so dev/tauri-dev sessions don't send events.
2026-07-09 22:12:55 +03:00
KhooLy
af17914ec3 Bump version to 0.1.24 2026-07-08 21:03:31 +03:00
KhooLy
4917a8717d chore: release v0.1.23 2026-07-07 22:51:01 +03:00
KhooLy
5e4ab7ad60 chore: regenerate package-lock.json 2026-07-03 15:23:42 +03:00
KhooLy
f1fae9e770 chore: bump package-lock to 0.1.20 2026-07-03 14:58:06 +03:00
KhooLy
7f0d6165cd chore: bump version to 0.1.19 2026-06-27 20:55:02 +03:00
KhooLy
ef455f48b3 feat: prepare desktop release updates 2026-06-27 20:47:10 +03:00
KhooLy
aaca1689c9 feat: initial release 2026-06-17 00:42:06 +03:00