Skip to content

fix(player): mark every credits range on the phone and TV seek bars - #933

Merged
Quick104 merged 1 commit into
mainfrom
fix/credits-bands-every-range
Nov 15, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/credits-bands-every-range

Conversation

@Quick104

@Quick104 Quick104 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: Silo-Server/silo-apple#1173 (the Apple side)
Pairs with Silo-Server/silo-apple#1179
Validation tasks: changes #321 C2 a little. While seeking, a file with two credits ranges now shows two bands. Seeking itself is unchanged. #321 C1 and #322 C1 still wait on #927.

The phone seek bar and the TV scrubber drew a band for the first credits range only. A file whose credits come in two parts, such as a mid-credits scene between two credits sequences, marked the first part and nothing after it. Both bars read the singular credits field, which holds only the first occurrence. Web and Roku draw every credits range, and the Apple fix in the paired pull request does the same.

Approach

  • PlayerProgressBar and TvPlayerScrubber take a list of credits ranges.
  • PlayerOverlay and TvPlayerScreen pass state.markerTimeline.ranges(MarkerKind.Credits), the same timeline that already drives Skip Credits and Up Next.
  • Each range gets its own band, with the existing colour, opacity and clamping.
  • Intro, recap and preview bands are unchanged.

Validation

  • A Silo dev sandbox on silo-server main (24476d88). S01E02 has credits at 6:40–7:20 and at 7:35–8:00, stored as real marker writes store them.
  • API 36 phone and Android TV emulators, comparing main at d902e96 with this branch. On both:
    • Before: one orange band at 6:40–7:20 and nothing at 7:35–8:00.
    • After: two bands with the gap between them.
  • Android tablet and foldable use the same phone seek bar (PlayerProgressBar) and weren't captured separately.
  • :androidApp and :androidTvApp compile.
  • :androidApp:testDebugUnitTest and :androidTvApp:testDebugUnitTest pass.

Evidence: https://evidence.siloserver.org/r/silo-android/credits-bands/

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

Intro, recap and preview bands still read the singular fields. A file with two recaps or two intros shows one band.

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); claude-opus-5-5 and claude-sonnet-5-5 (code review subagents)
  • Involvement: Fully AI-generated at the maintainer's direction
  • Adversarial review:
    • Code review (high) found a stale parameter comment, now fixed.
    • A simplify pass rewrote the band list with buildList.
    • Background review: gpt-6.1-sol (xhigh) reviewed eb72d73 and found nothing to fix.

🤖 Generated with Claude Code

Both seek bars drew a band for the first credits range only, from the
singular credits field. Draw one band for every credits range in the
marker timeline instead, so 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
@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:40.462773Z eb72d73 PR opened
🔒 Security Review ✅ Completed 2026-11-15T02:59:57.764988Z eb72d73 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.

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Android and Android TV player controls now accept multiple credits ranges. Both platforms source the ranges from the playback marker timeline and render a marker band for each range.

Changes: Multiple credits ranges

Layer / File(s) Summary
Android player progress markers
androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerOverlay.kt, PlayerControls.kt, PlayerProgressBar.kt
The overlay passes credits ranges from the marker timeline through PlayerControls to PlayerProgressBar. The progress bar adds a band for each range.
Android TV scrubber markers
androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerScreen.kt, TvPlayerScrubber.kt
The idle overlay receives credits ranges from the marker timeline, filters ranges where the end is not greater than the start, and passes the remaining ranges to the scrubber. The scrubber adds a band for each range.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: evulhotdog, rhainland

Merge Risk: Minimal · up to eb72d

The phone seek bar and TV scrubber now draw a band for every credits range instead of only the first. The change is limited to rendering, was reported as verified on both platforms, and no merge-blocking risk was found.

Security architecture risk: Minimal · up to eb72d

The change displays additional credits bands without changing playback authority or stored state. No introduced or worsened security architecture risk was identified in the inspected change.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The newly expanded metadata consumption is confined to credits-band presentation in the inspected clients. Additional ranges reach drawing operations, not a newly privileged sink, cross-tenant operation, or server mutation.

Trust Boundaries and Controls

  • observed — The changed credits arguments remain separate from playback-control callbacks. Phone controls retain seekEnabled and gatedSeek wiring. TV retains its room seek permission check and existing room-versus-local commit routing. The base-to-head comparison does not change those controls.
Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: the phone seek bar and TV scrubber now draw a band for every credits range instead of only the first. The raw summary and objectives confirm this is the main change, and th…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states the problem: the phone seek bar (PlayerProgressBar) and TV scrubber (TvPlayerScrubber) drew a band only for the first credits range, because they read the singular credits field…
Full details: Title check

Explanation

The title names the change: the phone seek bar and TV scrubber now draw a band for every credits range instead of only the first. The raw summary and objectives confirm this is the main change, and the title uses a conventional fix(player) prefix.

Full details: Description check

Explanation

The description states the problem: the phone seek bar (PlayerProgressBar) and TV scrubber (TvPlayerScrubber) drew a band only for the first credits range, because they read the singular credits field. It describes the approach of passing a list of credits ranges from state.markerTimeline, the validation on API 36 phone and TV emulators with before/after evidence, the risks of overlapping bands, and follow-ups for intro, recap and preview. This matches the changeset in PlayerOverlay, PlayerControls, PlayerProgressBar, TvPlayerScreen and TvPlayerScrubber.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

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: af39fdaa-17cc-4f1e-a701-287f9bb89b93
Commits

Reviewing files that changed from the base of the PR and between d902e96 and eb72d73.

Files selected for processing: 5

  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerControls.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerOverlay.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerProgressBar.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerScrubber.kt

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@macroscopeapp

macroscopeapp Bot commented Nov 15, 2026

Copy link
Copy Markdown

Phone seek-bar credits bands (PlayerControls.kt/PlayerProgressBar.kt): the described before/after captures cover an Android phone, but the linked evidence should also show the same playback screen and data on an Android tablet and an Android foldable both folded and open.

Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness.

Posted via Macroscope — Visible change evidence

@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
@Quick104
Quick104 merged commit d998312 into main Nov 15, 2026
11 checks passed
@Quick104
Quick104 deleted the fix/credits-bands-every-range 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.

1 participant