Repository navigation
Player: a reload while paused shows its first frame, and a paused idle player shows no Buffering spinner - #750
Merged
Merged
Conversation
…f a blank Buffering plane settle_paused_seek opens the bounded paused-seek preroll for a session with no picture under a viewer Pause, whichever route reloaded it. 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]>
… a paused idle player reads Paused The preroll no longer opens after the prime's Play has fired (nothing would ever Play), is owned at 0 instead of the stale pre-reload playhead, and a paused idle player with no picture publishes the new PlaybackState::Paused instead of Playing (no is_playing, no PlaybackStarted). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Oct 15, 2026
GLinnik21
added a commit
that referenced
this pull request
Oct 22, 2026
* Release notes and audit for v0.9.0 Action-required evaluation (README trigger list, read from the PRs, grep not run on a built tree): no hits that need a reader action. Launch links (#853) add an inbound surface (any app that can launch apps), stated in What's new; the 3.4 image cache writes to /media/developer/temp (#667); crash/error reports gain fixed-value fields with POLICY_VERSION unchanged (#632), stated under Changed; Watchlist and PMS notifications use hosts the app already reaches. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Release notes v0.9.0: coverage and accuracy pass Note: correct the Collections surfaces (no TYPE menu; collection shelf headings live on Home and a library's Recommended page), the Watchlist hold-menu rows, the launch-link sign-in behaviour and platform-release numbering, the notification-feed sentence and the per-profile settings list (no stale "nine"). Add #832, #808, #750/#762, #709 (#628), #641, #647, #793, #871, #877 (#679), #876 and the key-press frame work; credit RichiL10 and Shakil Choudhury. #862 moves from Known issues to the webOS 3.x lines as fixed by #578; the 3.9.3 source-build report (#700) is kept in Compatibility. Compatibility links reports, not reporters' profiles. Audit: #862 provenance (attributed usage-report reading, no counts), contributor list wording. Action-required section: not owed. The README grep over v0.8.0..origin/main (rust-modules/src src ci) hits only CI tooling, test-only loopback listeners and fixture tokens, and the dev-only /tmp/plxnative-trackmemory trigger; the audit's PR-by-PR reading in "Deliberately not done" stands. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Release audit v0.9.0: name the toolchain by its pin file, not its version Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- 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.
Problem
A viewer paused a direct-play episode and then picked another audio track. The screen went blank behind the HUD and showed a centred "Buffering…" spinner. It stayed that way until Play was pressed. The viewer took it for a freeze and quit, twice. The server log for the session shows the timeline staying
pausedat a constant position for about 35 s after each audio switch.Cause
The feed is gated on
!paused || seek_preroll. A reload keeps the Pause, and the new Engine arms a user hold, so its first keyframe is never fed. Withframes == 0the state ladder publishedBuffering, and the HUD drew the centred busy read-out.#722's paused-seek preroll covered seek routes only. The same thing therefore happened on:
Held(Initial)clock.Fix
settle_paused_seek(pump.rs). It fires when the viewer is paused, the claim hold does not own the pause, there is no preroll and no flight, no seek is pending, a prime is still owed (eng.prime_play) andframes == 0. It hands the hold to the seek prime and owns a preroll at 0, becauseframesis per-session and a reload leavesplaypos_nsstale. The existing landing check then shows one frame and re-pauses. One rule covers every reload path, including future ones.PlaybackState::Paused, published when the viewer is paused with no picture and nothing in flight (pump::paused_and_idle). It is not busy, so the HUD draws its normal paused transport. It is notis_playing, so noPlaybackStartedand no false rebuffer. Connecting and HLS rebuffer still show their spinners.Tests
Each test was written first and seen failing:
switch_audio_native(the reported path);Held(Initial)clock before any frame;Paused, notBuffering, and reports noPlaybackStarted.Verification
make check:test result: ok. 1771 passed; 0 failed; 60 ignored(plx_media),test result: ok. 1632 passed; 0 failed; 60 ignored,test result: ok. 1332 passed; 0 failed; 0 ignored(plx_screens).cargo +nightly check --lib --no-default-featuresis clean on the head.🤖 Generated with Claude Code