Skip to content

feat(player): support all marker occurrences - #343

Closed
Quick104 wants to merge 1 commit into
mainfrom
codex/theintrodb-marker-sync
Closed

Quick104 wants to merge 1 commit into
mainfrom
codex/theintrodb-marker-sync

Conversation

@Quick104

@Quick104 Quick104 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Apple playback kept singular intro and credits ranges, so it could not represent multiple occurrences or offer recap and preview skips. Preserve every supported marker interval in streamed and downloaded playback on iOS, tvOS, and macOS, with singular-field fallback when older responses omit marker_segments.

Skip controls seek to the active interval's end without combining disjoint credits ranges. Existing intro and credits auto-skip preferences remain in place, with countdown and skip state tracked per occurrence. Reconnects refresh the active file's markers and discard stale responses. Download manifests now use the existing v2 transport and retain marker collections in local storage; previously saved manifests still decode.

Related issue: #311
Related issue: #312

Full marker collections depend on silo-server#1275, which adds marker_segments to v2 watch and offline responses and realtime marker updates.

Companion changes: TheIntroDB adapter and Android playback.

Validation

  • iOS build and 23 focused XCTest cases passed: marker timelines, credits skip policy, watch/realtime parsing, selected-file request scope, and offline mapping/persistence.
  • tvOS build and the same 23 focused XCTest cases passed.
  • macOS build passed with signing disabled; compile-only validation.
  • Built with Xcode 27.0; simulator tests used iOS 26.4 and tvOS 26.4.
  • Staged index, commit message, and PR text passed privacy checks. An existing cast-documentation example now uses neutral wording to satisfy the repository privacy hook.

The full test suite and manual playback/focus acceptance were not run. This does not complete the acceptance checks in #311 or #312. Full marker collections require the coordinated server change; responses without the new field retain legacy behavior.

AI Disclosure

  • Harness: OpenAI Codex desktop
  • Tool(s): Codex subagents, GitHub CLI, XcodeBuildMCP
  • Model(s): gpt-6-astra
  • Involvement: AI-assisted implementation, regression tests, review, and PR text prepared at maintainer direction.
  • Adversarial review: Separate subagents cross-reviewed code they did not author, covering player and countdown state, reconnect races, platform controls, wire contracts, offline persistence, and account/profile request scoping. They compared the diff with the server schemas and existing client behavior. Earlier findings about malformed marker snapshots and cancelled countdown tasks affecting replacement tasks were fixed. Final reviews found no remaining actionable issues. This review does not claim human or live-playback acceptance.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Quick104 has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 3f3ad506-1c65-4f8c-82a3-6eff0929bfae

📥 Commits

Reviewing files that changed from the base of the PR and between c23903c and a78c97d.

📒 Files selected for processing (25)
  • docs/tvos-player/cast-remote.md
  • iosApp/Tests/CatalogV2Tests.swift
  • iosApp/Tests/DetailVersionSelectionTests.swift
  • iosApp/Tests/LibraryDetailScopeTests.swift
  • iosApp/Tests/OfflinePlaybackMappingTests.swift
  • iosApp/Tests/PlayerMarkerTimelineTests.swift
  • iosApp/iosApp/Downloads/DownloadAPI.swift
  • iosApp/iosApp/Downloads/DownloadModels.swift
  • iosApp/iosApp/Downloads/OfflinePlayback.swift
  • iosApp/iosApp/Networking/APIv2/APIv2CatalogReadModels.swift
  • iosApp/iosApp/Networking/APIv2/APIv2CatalogReadProjection.swift
  • iosApp/iosApp/Networking/APIv2/APIv2Client.swift
  • iosApp/iosApp/Networking/Models.swift
  • iosApp/iosApp/Networking/PlaybackMarkerSegment.swift
  • iosApp/iosApp/Networking/SiloAPI.swift
  • iosApp/iosApp/Screens/Player/PlaybackRealtimeProtocol.swift
  • iosApp/iosApp/Screens/Player/PlaybackSessionBridge.swift
  • iosApp/iosApp/Screens/Player/PlayerMarkerTimeline.swift
  • iosApp/iosApp/Screens/Player/PlayerView.swift
  • iosApp/iosApp/Screens/Player/PlayerViewModel.swift
  • iosApp/iosApp/Screens/Player/iOS/MobilePlayerControls.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVPlayerControls.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVPlayerScrubber.swift
  • iosApp/iosApp/macOS/MacPlayerControls.swift
  • iosApp/iosApp/macOS/PlayerView.swift

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Quick104 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

Silo's pull request guidance changed today (#658). A PR that changes what a user sees now needs before-and-after evidence in its Evidence section, and a PR with no visible change says Evidence: none, no user-visible change. This PR was opened before the rule existed, so it hasn't had a chance to meet it yet.

Missing here: A before-and-after recording of playback on a title with several markers, showing the skip prompts and scrubber markers.

The rules are in Show visible changes, and the PR template shows the Evidence section layout. I've converted this PR to draft for now. Mark it ready for review once the Evidence section is filled in.


Generated by Claude Code

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