Repository navigation
fix(player): mark every credits range on the iPhone, iPad and Apple TV timeline - #1179
Conversation
…V timeline The player timeline drew only the intro band, so nothing showed where the credits start. Draw an amber band for each credits range in the file's marker timeline, beside the intro band, on the iOS timeline and the tvOS scrubber. A file with two credits sequences shows both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 21 minutes. View limit details
|
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| } | ||
|
|
||
| introMarker(width: width, height: barHeight) | ||
| markerBands(width: width, height: barHeight) |
There was a problem hiding this comment.
Played fill hides earlier credits bands on both scrubbers
Seeking past a credits sequence makes its band disappear, and the tvOS scrubber has the same issue. Render markerBands above the played fill on both scrubbers so earlier ranges remain visible.
Prompt for LLM
File iosApp/iosApp/Screens/Player/iOS/MobilePlayerControls.swift, line 857:
Played fill hides earlier credits bands on both scrubbers
The opaque played/preview fill covers every credits band before the current position, so seeking beyond an earlier credits sequence makes that sequence disappear instead of showing every range; the tvOS scrubber has the same layering. Render the credits bands above the played fill so earlier ranges remain visible.
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
There was a problem hiding this comment.
Not changing this here. The credits bands sit in the same layer as the existing intro band on both Apple bars, so a marker you have already played past is covered by the played fill. Android's seek bars layer their bands the same way (PlayerProgressBar.kt paints bands, then the played fill). Web draws its bands above the fill, so the clients already differ. Moving every band above the fill on Apple would change the intro band too, which is outside this fix. The issue asked for a cue for where the credits start, and that cue is visible until the playhead reaches it.
🤖 Claude Code (claude-opus-5-5)
There was a problem hiding this comment.
That’s a reasonable scope decision. The current layering preserves the existing intro-band behavior and provides a cue before the playhead reaches the credits. I’ll withdraw the suggestion for this PR.
One qualification: the description’s statement that the timeline “shows every credits range” could imply that past ranges remain visible. Clarifying that played fill covers bands behind the playhead would make the expected behavior explicit.
|
Please add before-and-after captures of the player timeline on iPhone Duo, both folded and open, using the same screen and marker data and labeling the builds. The PR says Duo uses the changed iOS timeline, so sharing that view does not establish that the device is unaffected; CONTRIBUTING.md explicitly requires both Duo layouts. |
Problem
Closes #1173
Validation tasks: unblocks #311 C1 and #312 C1. Changes #311 C2 a little: while seeking, the timeline now also shows the credits bands. Seeking itself is unchanged.
Pairs with Silo-Server/silo-android#933
Other clients: Android Silo-Server/silo-android#933; Roku N/A (already draws every credits range on its scrubber,
components/player/controls/ControlsOverlay.bs); Web N/A (already draws every marker region,web/src/player/components/SeekBar.tsx)On iPhone, iPad and Apple TV, the player timeline showed no credits marker. Nothing showed where the credits start. The iOS timeline and the tvOS scrubber drew only the intro band, and never read the credits ranges. Web and Roku draw every credits range. Android draws only the first.
Approach
PlayerMarkerTimeline.ranges(.credits), which already sorts and validates every occurrence. They don't readcreditsRange, which holds only the occurrence the skip controls track.PlayerViewModel.markerTimelinegoes fromprivatetoprivate(set)so the views can read it.Validation
main(24476d88), with the marker data from [bug] The player timeline shows no credits marker (iPhone, iPad, Apple TV) #1173's validation fixtures. S01E02 has credits at 6:40–7:20 and at 7:35–8:00.mainat 23c5e85) and after (this branch), on the same simulator and data:Silo,SiloTVandSiloMacbuilds of this head succeeded.Evidence: https://evidence.siloserver.org/r/silo-apple/issue-1173/
Risks
Nested or overlapping credits ranges draw their translucent bands on top of each other, so the overlap looks darker. Web and Roku behave the same way.
Follow-ups
Checklist
AI Disclosure
ForEachto key each band by its position, so that two identical ranges don't share an identity.🤖 Generated with Claude Code