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

@ -165,9 +165,25 @@
font-size: 26px;
}
.player-episode {
align-self: flex-start;
font-size: 14px;
font-weight: 600;
color: #eef0f0;
transition: color var(--t-fast);
}
.player-title-link {
align-self: flex-start;
border-radius: 6px;
transition: opacity var(--t-fast), transform var(--t-fast);
}
.player-title-link:hover {
opacity: 0.85;
}
.player-episode:hover {
color: #fff;
text-decoration: underline;
text-underline-offset: 3px;
text-decoration-color: rgba(255, 255, 255, 0.4);
}
.player-title .facts {
font-size: 12px;
@ -193,9 +209,11 @@
.timeline-track {
position: relative;
width: 100%;
height: 4px;
height: 5px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.22);
/* A dark underlay keeps the three states apart over bright frames. */
background: linear-gradient(rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.13)), rgba(0, 0, 0, 0.45);
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
overflow: hidden;
transition: height 140ms var(--ease);
}
@ -206,12 +224,13 @@
.timeline-buffered {
position: absolute;
inset: 0 auto 0 0;
background: rgba(255, 255, 255, 0.28);
background: rgba(255, 255, 255, 0.24);
}
.timeline-played {
position: absolute;
inset: 0 auto 0 0;
background: #f1f4f3;
background: #fff;
box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}
.timeline-marker {
position: absolute;
@ -247,6 +266,8 @@
.timeline-preview {
position: absolute;
bottom: 30px;
/* A fixed width: shrink-to-fit would narrow it against the bar's right edge. */
width: 220px;
transform: translateX(-50%);
display: flex;
flex-direction: column;
@ -256,6 +277,7 @@
}
.timeline-preview img {
width: 220px;
max-width: none;
aspect-ratio: 16 / 9;
object-fit: cover;
border-radius: 6px;