Repository navigation
Description
Problem
When an administrator controls someone's playback from the admin sessions page, the Android player tells the viewer less than the Apple apps do, and uses different wording:
| Admin action | iPhone, iPad, Apple TV | Android phone, tablet, TV |
|---|---|---|
| Pause / resume | Banner: "Playback paused by admin" / "Playback resumed by admin" | Playback pauses or resumes with no notice |
| Send message | Banner with the message's title and text | Toast with the text only; the title is dropped |
| Stop | "Playback stopped by admin" | Toast: "An administrator stopped this playback session." |
| Terminate | "Session ended by admin" | Toast: "An administrator ended this playback session." |
Android's stop and terminate texts are hard-coded English, so they aren't translated. A viewer whose video suddenly pauses on Android gets no sign that an administrator did it.
The stop or terminate reason is a separate gap, already tracked in #1001.
Source evidence
On main:
shared/src/commonMain/kotlin/org/siloserver/silo/playback/PlaybackCommandDispatch.kt:decidePlaybackActionmapspauseandunpausetoPlaybackAction.Pause/Unpausewith no notice.display_messagereads onlypayload.message(ShowMessage(it)), sopayload.titleis ignored.ADMIN_STOPPED_PLAYBACK_NOTICEandADMIN_ENDED_PLAYBACK_NOTICE(lines 15–18) are English string constants, not catalog strings.
- The phone (
PlayerScreen.kt) and TV (TvPlayerScreen.kt) players show these as aToast. - The Apple strings are in silo-apple
iosApp/iosApp/Localizable.xcstrings: "Playback paused by admin", "Playback resumed by admin", "Playback changed by admin" and "Session ended by admin". They're shown as player notices, with a message's title above its text.
Expected behavior
The Android player matches the Apple apps on phone, tablet and Android TV:
- Admin pause and resume show a short notice saying an administrator did it.
- A message shows its title, when it has one, above its text.
- Stop and terminate notices use the same wording as the Apple apps, from the string catalog so they're translated.
Only commands issued by an administrator should show these notices. A viewer's own remote control from another device shouldn't. On Android TV the notice must not take focus (that already holds for messages).
Validation
- Agent runtime testing, maintainer reviewed:
- silo-android Active sessions / now-playing / remote control — Android TV #341 (Android TV), app
bbbfdeeb5, server 2970 ·a16a24720: the message showed as a toast without its title, and pause and resume showed no notice. - silo-apple Send to the TV app (SiloRemote) — Android #330 (iPhone, iPad), app
3289bedbd, same server: banners for pause, resume, message (with title) and stop.
- silo-android Active sessions / now-playing / remote control — Android TV #341 (Android TV), app
- Source review: the phone and tablet use the same shared dispatch, so they behave the same way as the TV.
Non-blocking for [v1] Active sessions / now-playing / remote control. The commands themselves work on Android, so #340 and #341 C1 still pass.
AI-assisted: drafted with Claude Code (claude-opus-5-5) and GitHub CLI at the maintainer's direction, from the validation runs and a source read of silo-android and silo-apple main.
Activity