Repository navigation
player: a still from the server's preview thumbnails floats above the knob while scrubbing - #767
Merged
Merged
Conversation
… knob while scrubbing Signed-off-by: Dimitrije Juras <[email protected]>
Signed-off-by: Dimitrije Juras <[email protected]>
Signed-off-by: Dimitrije Juras <[email protected]>
…nearest still Signed-off-by: Dimitrije Juras <[email protected]>
Signed-off-by: Dimitrije Juras <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…nob-clock growth Chrome (title, control row, tabs) fades 150 ms out / 150 ms wait / 250 ms in and is not hit-registered while hidden; card is 216 tall, width from the still's aspect (cap 518), fitted; radius 12, 1.5 px rim, 0/12/32 shadow; entrance, reshow, exit and swap motion; 10 s tolerance with a 400 ms hide; knob clock grows 1.25x when no card shows. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… back to the playhead Pure parts in appkit::scrub_undo (window deadline and fade, tick rect, chip text and placement, knob spring) and their wiring in the transport row and HUD draw. Nothing opens the window or starts the spring from a gesture yet. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…scrub (red) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…rub waits for OK/PLAY Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ks the chrome LEFT/RIGHT on a hidden transport arms the gesture on the playhead but moves nothing; publishing that seed as TX.scrub_ns faded the title, control row and tabs out and back. publish() now holds -1 while the gesture is still a reveal. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…nothing else has moved the film The undo window now closes where the HUD is dismissed (the Timing capsule's close), when a panel takes the page (Chapters / From Beginning seek from there), and when the control row's Skip pill is activated; BACK arms the undo only if the transport was visible at the press. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…a test's doc comment Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ndow, not per frame Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…animating its size A font size is never tweened (gfx/tokens.rs): the 25..30 px steps opened a bold face per size, and 30 is not a rung. Motion::clock_grow is now a 0..1 progress; clock_faces crossfades the resting CAPTION clock with BODY (28, the rung nearest 1.25x; its bold face is already open for the control row), baseline-anchored, on the same 150/200 ms ramps. ClockWarm prewarms the elapsed clock at BODY too. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…cel / undo Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
- player_hud: one `bar_x(pos, dur)` helper replaces the `knob_x` closure in
draw_scrub_preview and the open-coded clamp in draw_undo.
- player_hud: draw_hud gates the title block and the control row on one
`if chrome { .. }` instead of an empty branch plus a second gate.
- scrub_preview::draw: match `Some((old, t))` once, name `boxed` once.
- scrub_undo::Chip: drop the duplicate `text` String; measure the CString.
- screens/player: transport_reset and step_tap_commit use `Scrub::cancel`.
- media/route: `cur_part_id` is pub, replacing the `part_id` wrapper.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21
added a commit
that referenced
this pull request
Oct 16, 2026
Follow-up to #767. A remote-key scrub (LEFT/RIGHT taps and holds, FF/REW) now only moves the target, in both the playing and paused states. Releasing a key never seeks, and the video keeps playing underneath. OK/PLAY/PLAYPAUSE commit the target and play. BACK cancels it, and so do the panel, the Skip pill, an offer or a route change; none of them commit it. The HUD stays up while a target is pending. Releasing a Magic Remote drag still commits. #767's post-commit undo window (the ghost tick, the "BACK · m:ss" chip and BACK seeking to the origin) is removed: after a commit, BACK has its ordinary meaning. The cancel spring moves to appkit/src/knob_spring.rs. While the target moves, the preview card keeps the last still that arrived. The 10 s tolerance and the 400 ms hide apply only once the target settles. Previously a fast hold dropped the card even though stills kept arriving. The tap auto-commit machinery is removed. The player shape lost commit_at, so SCREEN_SHAPES_PIN is bumped and the three replay fixtures are re-recorded. docs/ux-scenario.md §6.4/§6.6 describe click-to-confirm. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
While you scrub, a still from the server's video preview thumbnails floats above the knob and follows it. This closes the BIF scrub-thumbnail entries in
docs/parity-gaps.md.How
/library/parts/{partId}/indexes/sd/{offsetMs}: one 320×180 JPEG of about 10 KB, the nearest still to the offset, and a 404 when the part has no index. Through/photo/:/transcodeit's an ordinary thumb key, so each still goes through the existing poster source and render cache, like a chapter card. The heap concern in the gap entries doesn't arise.appkit::scrub_previewis a render memo held onTransportRow, plus the card geometry and draw.TransportRow::step, so a scrub that ends with the transport UP-hidden is covered too). The next scrub never opens on the previous one's picture.tex::failed_on/Source::failedgeneralize the existinglogo_failedpeek to any keyed art, so the preview can tell "absent" from "not here yet".poster.rsshares one scan between the two.imgcache::classifygives preview stills no disk identity. They are ephemeral, and the 8192-entry LRU belongs to the posters.route::part_idis a public read ofcur_part_id.Tested
FLAVOR=stable RELEASE=1, installed through Developer Mode, against a PMS with preview thumbnails at a 10 s interval. Stills appear and follow the knob for tap and held scrubs. Items without an index scrub exactly as before.scrub_preview.rscover a missing index, one request in flight, a stuck request, the stale-still case and the card clamp. One test inimgcache/tests.rscovers the disk exclusion.make check: 89 steps all ok, 16,355 passed, 0 failed.cargo +nightly check --lib --no-default-features: ok. One entry added toci/list-caps.ini(PENDING_MAX_MSis a timeout, not a list).Not measured
Frame pacing while stills upload during a scrub. Each still is one roughly 230 KB upload through the poster budget, but I have no rooted set to run
profile-tvon, so the GL-upload concern in the gap entry is open. Nothing looked off by eye.