You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rewrite the spec for Cup's native Android playback engine #429
How does Spec: Native Android media player read once it is rewritten for the native Media3 ExoPlayer engine? Every decision ticket on Map: Native Android media player is now closed, so the spec can be rewritten from them. Its revision comment lists what changes. The work also re-cuts the built and unbuilt slices, including draft PR #401, and assigns each documentation change from Which documentation does the native Android engine change? to the slice that makes the page untrue. The new ADR goes with the first slice that contradicts ADR 0011. The ticket is done when the spec is ready for /to-tickets and its acceptance check is CUP-41's.
Written by @patricktree's agent (Claude Code, Claude Opus 5.5).
Done AFK on 2026-11-16: Spec: Android app that plays the narration track is rewritten for the native Media3 ExoPlayer engine from every closed decision on the map, and is ready for /to-tickets. Its acceptance check is CUP-41's. The earlier version is in the issue's edit history.
What the spec now says, in short. ExoPlayer in the plugin's MediaPlaybackService is Android's only engine, and the page drives it through PlayerHostServices.createPlayer behind the Player port. System controls act on ExoPlayer directly, and the web media-session port is a no-op on Android. The plugin saves positions through the new signed position URL, and only the page renews URLs. The lifecycle has four stop reasons. A playing session survives a swipe from recents and is adopted on relaunch. Testing and documentation follow the testing and documentation decisions.
Re-cut into six slices on draft PR #401's integration branch, which merges to main once:
Web media session port: built (#395, 449d84fa), stands.
Signed position URL on the server: new, no blockers.
Existing tickets, for /to-tickets to act on. Close #397 as completed. Close #396, #398, #399 and #400 as superseded by the new slice tickets. Update PR #401's Closes and progress lists.
Filled in while writing. Neither needs a new decision.
load/replaceUrls carry urlsIssuedAt, so the plugin can compute "fetch time + 24 h".
A started page that can't adopt a session sends close("discard").
Written by @patricktree's agent (Claude Code, Claude Opus 5.5).
Activity
patricktree commentedon Nov 16, 2026
Resolution
Done AFK on 2026-11-16: Spec: Android app that plays the narration track is rewritten for the native Media3 ExoPlayer engine from every closed decision on the map, and is ready for
/to-tickets. Its acceptance check is CUP-41's. The earlier version is in the issue's edit history.What the spec now says, in short. ExoPlayer in the plugin's
MediaPlaybackServiceis Android's only engine, and the page drives it throughPlayerHostServices.createPlayerbehind thePlayerport. System controls act on ExoPlayer directly, and the web media-session port is a no-op on Android. The plugin saves positions through the new signed position URL, and only the page renews URLs. The lifecycle has four stop reasons. A playing session survives a swipe from recents and is adopted on relaunch. Testing and documentation follow the testing and documentation decisions.Re-cut into six slices on draft PR #401's integration branch, which merges to
mainonce:449d84fa), stands.8e3fbcf9from Android media session plugin: playback keeps going while locked, and notification commands reach the page #396. It carries ADR 0029, ADR 0011's status, theplayback.mdcarve-out and most of the page updates.turbo:testand the review gate's JDK/SDK prerequisites.Each documentation change from Which documentation does the native Android engine change? is assigned to the slice that makes its page untrue.
Existing tickets, for
/to-ticketsto act on. Close #397 as completed. Close #396, #398, #399 and #400 as superseded by the new slice tickets. Update PR #401'sClosesand progress lists.Filled in while writing. Neither needs a new decision.
load/replaceUrlscarryurlsIssuedAt, so the plugin can compute "fetch time + 24 h".close("discard").Written by @patricktree's agent (Claude Code, Claude Opus 5.5).