Skip to content

fix(player): mark every credits range on the iPhone, iPad and Apple TV timeline - #1179

Merged
Quick104 merged 1 commit into
mainfrom
fix/issue-1173-credits-timeline-bands
Nov 15, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/issue-1173-credits-timeline-bands

Conversation

@Quick104

@Quick104 Quick104 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

  • The iOS timeline and the tvOS scrubber draw an amber band for each credits range in the file's marker timeline, next to the intro band, using its shape and opacity. A file with two credits sequences shows two bands with the gap between them.
  • The bands read PlayerMarkerTimeline.ranges(.credits), which already sorts and validates every occurrence. They don't read creditsRange, which holds only the occurrence the skip controls track. PlayerViewModel.markerTimeline goes from private to private(set) so the views can read it.
  • The amber (#FFB74D) matches the credits band on Android TV and Roku.
  • Unchanged:
    • The intro band.
    • Recap and preview, which still have no band.
    • The tvOS bar shown while the controls are hidden.
    • The Mac timeline, which draws no marker band of any kind.

Validation

  • A Silo dev sandbox on silo-server 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.
  • iPhone 17 Pro, iPad Pro 13-inch and Apple TV 4K simulators, before (main at 23c5e85) and after (this branch), on the same simulator and data:
    • Before: no credits marker on any of the three.
    • After: two amber bands at the credits ranges.
  • iPhone Duo uses the same iOS timeline view as iPhone and iPad and wasn't captured. The Mac timeline is unaffected.
  • Silo, SiloTV and SiloMac builds 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

  • Apple draws no recap band, and draws only one intro band, the occurrence the skip control tracks. Web, Android and Roku draw recap. A file with two intros shows one band that moves when the playhead reaches the second.
  • The Mac timeline draws no marker bands.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or how I checked a change nobody sees.

AI Disclosure

  • Harness: Claude Code, running in T3 Code
  • Tool(s): Claude Code, GitHub CLI
  • Model(s): claude-opus-5-5 (implementation); gpt-6.1-sol and claude-opus-5-5 (plan review); claude-opus-5-5 and claude-sonnet-5-5 (code review subagents)
  • Involvement: Fully AI-generated at the maintainer's direction
  • Adversarial review:
    • Plan round: gpt-6.1-sol (xhigh) found the plan held. claude-opus-5-5 (high) cut the shared view, the recap band, the Mac timeline and the change to the intro band.
    • Code review (high) changed the credits ForEach to key each band by its position, so that two identical ranges don't share an identity.
    • A simplify pass made no further change.
    • Background review: gpt-6.1-sol (xhigh) reviewed 8dcfcc0 and found nothing to fix.

🤖 Generated with Claude Code

…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]>
@silo-triage silo-triage Bot added the size/M 50–199 added + deleted lines (all files); change volume, not priority. label Nov 15, 2026
@coderabbitai

coderabbitai Bot commented Nov 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 93 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7c221e35-3867-4e0e-a616-e02185e03f42
Commits

Reviewing files that changed from the base of the PR and between d5098c2 and 8dcfcc0.

Files selected for processing: 3

  • iosApp/iosApp/Screens/Player/PlayerViewModel.swift
  • iosApp/iosApp/Screens/Player/iOS/MobilePlayerControls.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVPlayerScrubber.swift
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@silo-kody

silo-kody Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T02:57:36.754633Z 8dcfcc0 PR opened
🔒 Security Review ✅ Completed 2026-11-15T02:58:57.945109Z 8dcfcc0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Bug medium

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.

​

​

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@silo-triage silo-triage Bot added bug Something isn't working evidence-required Needs before-and-after evidence before the Evidence check passes impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish labels Nov 15, 2026
@silo-triage

silo-triage Bot commented Nov 15, 2026

Copy link
Copy Markdown

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.

@Quick104
Quick104 merged commit 5569b19 into main Nov 15, 2026
6 checks passed
@Quick104
Quick104 deleted the fix/issue-1173-credits-timeline-bands branch November 15, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working evidence-required Needs before-and-after evidence before the Evidence check passes impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish size/M 50–199 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] The player timeline shows no credits marker (iPhone, iPad, Apple TV)

1 participant