Repository navigation
Play Version: pick which version of a movie or episode plays - #955
Merged
Merged
Conversation
The item menu gets a Play Version… row when a leaf has two or more versions. It turns the panel into the list of versions, and a row plays that version by its Media.id. The id is resolved to mediaIndex on the resolve worker, and the part, codecs, track store, MDE ask, transcode decision and start URL all come from that version. Retry and quality changes keep it; next-episode autoplay does not.
… mock a two-version item item_menu::SHAPE gained the two version actions, so the shape pin moves and the three anchors were re-recorded (shorter cadence, the 120 Hz display overran the replay budget). The mock's --multi-version gives the first movie and episode a 4K second version for the simulator.
A leaf with two or more versions gets a Play Version disc after Play and the bookmark. It unfurls like Restart and opens the version list as a panel anchored to it; a row plays that version the way Play does, resuming. The list is one builder in appkit (version_list), drawn by the item menu's page and the panel, and the anchored placement moved to plx_ui::popover so the panel does not name alt_sources. The disc budget takes a fourth disc.
AppArg gains VersionsPanel and versions_panel::SHAPE joins the census, so the shape moved and the three anchors were refused. Re-recorded at the short cadence; settings needed a shorter settle to fit the record budget.
The disc moves after the watched toggle. A show page's hero plays an episode, so it now offers that episode's versions (the on-deck one, else the first) and a pick plays that episode in that version.
The version list's fit test, the disc's order/verb/anchor checks, the default-row and row-id panel checks and the appkit-level four-disc test are each covered by a test that remains.
aulonm
marked this pull request as ready for review
October 23, 2026 20:17
# Conflicts: # rust-modules/screens/src/registry.rs # tests/fixtures/replay/1-boot-home-chip-grid/manifest.json # tests/fixtures/replay/1-boot-home-chip-grid/rec-0000.jsonl # tests/fixtures/replay/12-filmography-detail-return/manifest.json # tests/fixtures/replay/12-filmography-detail-return/rec-0000.jsonl # tests/fixtures/replay/6-settings-family/manifest.json # tests/fixtures/replay/6-settings-family/rec-0000.jsonl # tests/fixtures/replay/README.md
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Hello, how can you make it run at 120fps? |
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.
tbh not sure if you would like the functionality, but it's something that I use very often and I was missing it, so thought why not add it and make it easier for everyone. Hopefully we can work together to get this out! The diff is really huge because the fixture recordings needed to be rerecorded
Items with several
Media[]versions always played version 0, sincemediaIndexwas hard-coded to 0 (the version-picker gap indocs/parity-gaps.md). This adds two ways to pick one, both opening the same list of versions, e.g. "25.2 Mbps · 4K" with a sub-line that only names what actually differs (codec/HDR, audio, container, size).Playback:
Media.id(MediaId) and resolved tomediaIndexon the resolve worker, so a refetch that reordersMedia[]can't play the wrong oneMetadata::media_version(Option<MediaId>)replacesfirst_part()/primary_media(), so no play-path reader can silently takeMedia[0]cur_media_indexkeeps it for seeks, HLS rungs, quality changes and Original recoveryPlumbing:
appkit::version_list). The panel's placement moved fromalt_sourcesintoui::popoverso both panels share it without a sibling-screen referencehero_layout::DISCS), with geometry tests that four discs never cross the people column in any shipped languagemock_pms.py --multi-versiongives the simulator a two-version movie and episodeVerified: host tests green for every touched crate, and
make check-nodefclean. In the simulator, picking the 4K version sentmediaIndex=1on the MDE, decision and HLS asks and PUT the stream selection on the 4K part, while the Play pill still sendsmediaIndex=0. Onemake checkrun hadci/test_build_gc.pyhang on a leftoversleepfrom its own fake hung run. It passes alone and this PR doesn't touch it.Not verified yet
🤖 Generated with Claude Code