Skip to content

Parity: show an administrator's stop or terminate reason (from Silo-Server/silo-server#4554) #1001

Open

Description

@Quick104

When an administrator stops or terminates a playback session with a reason, the viewer never sees the reason on Android phone or TV.

The server sends the reason in the command frame's top-level reason (with issued_by.kind: "admin"). The players parse only issued_by and payload (PlaybackRealtimeClient.kt, PlaybackRealtimeModels.kt), and adminNotice in PlaybackCommandDispatch.kt reads payload.message, so the reason never reaches the toast.

What users should get: the administrator's reason in the stop/terminate toast, falling back to the current text when there is none. The toast already outlives the player screen, so only the text is missing.

Server side: Silo-Server/silo-server#4554 makes the same change in the web player and documents the command frame in docs/architecture/playback-protocol-v3.md §2.5.

AI disclosure: written with Claude Code (claude-opus-5-5 read the client code; claude-fable-5-2 reviewed and filed this). The client behaviour described here was read from the main branch, not run on a device.

Activity

  1. added
    bug
    impact: polish
    priority: P2
    on Nov 19, 2026
  2. Quick104 commented on Nov 19, 2026

    @Quick104
    ContributorAuthor

    Additional cases found while reviewing the merged server change on main:

    • PlaybackCommandDispatch.kt ignores the frame's top-level reason and falls back to payload.message or a fixed string.
    • That fallback text is hard-coded English rather than catalog strings.
    • display_message drops the payload title.
    • The notice is a Toast.LENGTH_LONG, about 3.5 s, which may cut off a longer reason. It does survive the player closing.
    • This applies to both phone (PlayerScreen.kt) and TV (TvPlayerScreen.kt).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimpact: polishpriority: P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions