feat(android): viewer autoplay slideshow (spec 062) #1234

Merged
chris merged 1 commit from feat/062-viewer-autoplay into main 2026-10-15 10:43:38 +02:00
Owner

Adds an autoplay slideshow started from the media viewer: play glyph in the viewer top bar opens the shared interval picker (2/3/5/8/10 s, default 5), then the shared AlbumSlideshow engine runs over the current item list forward from the current page — photos advance on the interval, videos on local ExoPlayer STATE_ENDED when not casting and on receiver terminal-idle when casting (session loss falls back to local, never stops the run). The run drives only pager navigation, so cast keeps riding the existing settledPage→LOAD pipeline with no duplicate LOADs; crop-mirror stays untouched. Controls reuse the album mini player (pause/resume/next/prev/stop), the run ends after the last item, and leaving the viewer stops it. Removes the album auto-start of #1228 (shouldAutoStartSlideshow + its LaunchedEffect + its tests) while keeping the manual 'Afspil album på TV' action, mini player, interval dialog and AlbumSlideshow as the shared engine. Verified: ./gradlew :app:testDebugUnitTest :app:assembleDebug — 499 tests, 0 failures (9 new ViewerSlideshowTest cases), build green.

Adds an autoplay slideshow started from the media viewer: play glyph in the viewer top bar opens the shared interval picker (2/3/5/8/10 s, default 5), then the shared AlbumSlideshow engine runs over the current item list forward from the current page — photos advance on the interval, videos on local ExoPlayer STATE_ENDED when not casting and on receiver terminal-idle when casting (session loss falls back to local, never stops the run). The run drives only pager navigation, so cast keeps riding the existing settledPage→LOAD pipeline with no duplicate LOADs; crop-mirror stays untouched. Controls reuse the album mini player (pause/resume/next/prev/stop), the run ends after the last item, and leaving the viewer stops it. Removes the album auto-start of #1228 (shouldAutoStartSlideshow + its LaunchedEffect + its tests) while keeping the manual 'Afspil album på TV' action, mini player, interval dialog and AlbumSlideshow as the shared engine. Verified: ./gradlew :app:testDebugUnitTest :app:assembleDebug — 499 tests, 0 failures (9 new ViewerSlideshowTest cases), build green.
feat(android): viewer autoplay slideshow, replaces album auto-start — spec 062
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 2s
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 5s
Build and Deploy / Android unit tests and debug APK (push) Successful in 3m5s
45472402b2
AlbumSlideshow gains an additive startIndex and stays the single engine; the viewer drives its pager through ViewerSlideshowTarget (local ENDED / receiver terminal-idle, session loss falls back to local), cast keeps riding the settle pipeline, and the album auto-start of #1228 is removed (manual action, mini player and interval dialog kept).
chris merged commit cd3c633420 into main 2026-10-15 10:43:38 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!1234
No description provided.