Add player upscaling and fix miniplayer and scrub bar issues

Upscaling is chosen in the player (Playback options, or U): Performance
uses spline36 scaling, debanding and AMD CAS sharpening; Balanced adds
FSRCNNX neural luma upscaling and KrigBilateral chroma reconstruction.
The shaders ship in src-tauri/shaders and their WHEN conditions decide
whether they run for the current video and window size; HDR titles skip
CAS, which assumes SDR gamma.

The title above the scrub bar now opens its show, movie or episode page
with playback moving to the miniplayer. Leaving the miniplayer any way
(including starting another title, which left the app invisible) puts
the video back over the whole window. The scrub bar separates played
and buffered sections more clearly, and its preview keeps its size at
the end of the bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-10-30 18:55:52 -07:00
parent 6be6633f64
commit 5dc18ff9e5
13 changed files with 1345 additions and 15 deletions

View file

@ -70,6 +70,8 @@ transparent only while video is visible (`html.video-active`), so browsing is op
title is marked watched at the configured percentage. The player's back arrow (or Esc)
shrinks playback into a miniplayer: the video is drawn in a corner rectangle and the
interface stays visible around it, with a matching hole masked out of the page
(`html.player-mini`).
(`html.player-mini`). Upscaling tiers set mpv's scalers and debanding and load
shaders bundled from `src-tauri/shaders/` (FSRCNNX, KrigBilateral, AMD CAS); each
shader's `WHEN` condition decides whether it runs for the current video and size.
- **Updates**: `app/updater.ts` checks the signed feed on start; installs need the
user's confirmation and then relaunch.