Skip to content

Use one source for the video facts of the file Play starts - #1457

Merged
GLinnik21 merged 7 commits into
mainfrom
codex/played-video
Nov 18, 2026
Merged

GLinnik21 merged 7 commits into
mainfrom
codex/played-video

Conversation

@GLinnik21

Copy link
Copy Markdown
Collaborator

Prerequisite for #1348 and #1412.

The detail resolution badge and HDR conversion warning now read the same selected source as the route preview. The pure played_video projection uses the existing version chooser and exposes the file's Dolby Vision metadata separately from the presentation decision for the current device and profile. PlayedVideo::range() is the API for the upcoming detail chip. Listing surfaces can use DynamicRange::carried for file metadata.

Show pages share the hero Play target with legacy card launches. Successful stream backfills record their episode key, so switching seasons cannot attach one episode's resolution or bitrate to another. Missing backfills and older recordings have distinct representations. The on-deck episode keeps its own alternate versions even when Play targets the displayed season's first episode.

Coverage includes Profile 5 substitution, Profile 8.1 base-layer presentation, Forced mode, first-episode fallback, missing stream ownership, and the existing route-preview and resolution-badge tests.

Local verification passed on the committed head with make check and make check-nodef.

@GLinnik21
GLinnik21 merged commit 247aa86 into main Nov 18, 2026
13 checks passed
@GLinnik21
GLinnik21 deleted the codex/played-video branch November 18, 2026 02:13
nphil added a commit to nphil/Marquee that referenced this pull request Nov 18, 2026
The resolution badge, facts row and HDR warning read the first version
listed even when Play starts another one. They now read the file Play
starts, with its own Dolby Vision, bitrate and audio. On a show page that
is the episode Play starts (the one being resumed, else the first one
shown), whose streams and versions come from its own full item; a card
launch picks the same episode.

Ported from upstream aa0407f (Detail: the facts row and the badge describe the version Play starts (plxnative#1379)).
Ported from upstream a056817 (Version choice: judge each version's Dolby Vision as the direct-play gate does (plxnative#1421)).
Ported from upstream 3878e4f (Quality ceiling: judge every version on its video bitrate, as Media[0] is (plxnative#1423)).
Ported from upstream 247aa86 (Share the video facts of the file Play starts (plxnative#1457)).
GLinnik21 added a commit that referenced this pull request Nov 18, 2026
Conflict: rust-modules/screens/src/detail/mod.rs. Main (#1457) replaced the hero's
hero_episode_played(d) with Detail::play_episode() (the same rule: the resumed episode, else
the season's first) and deleted the helper; this branch's hero_control_subject read the
helper. It reads d.play_episode() now, so the subject of Play and Restart (and of the Play
Version rows, play_subject) is still the key play_episode_value / hero_versions act on.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
tiper added a commit to tiper/fin-native that referenced this pull request Nov 18, 2026
fmt::dynamic_range now takes a DynamicRange (plxnative#1457); the caption names what the
listing row's file carries.

Signed-off-by: Tiago Pereira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant