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
feat(jellycompat): websocket server-push for remote control (Playstate/GeneralCommand) #122
needs-reviewNeeds maintainer review to resolve uncertain classification, scope, or changed evidence.v1.0Silo v1 scope - auto-adds to the Silo v1 project
The jellycompat websocket endpoint (GET /socket, internal/jellycompat/handlers_websocket.go) accepts upgrades and answers KeepAlive, but never pushes server-initiated messages. All other inbound message types are logged and ignored.
What clients expect
jellyfin-sdk-kotlin clients (e.g. Wholphin) hold the socket open and subscribe to:
GeneralCommandMessage — display messages and misc commands (Wholphin: ServerEventListener.kt)
Clients also advertise what they support via POST /Sessions/Capabilities (already implemented), so the server knows which commands each session accepts.
Why
Server-initiated pause/stop of client playback is the headline use case:
Admin terminates or pauses a session from the Silo UI (e.g. bandwidth pressure, household management)
Kicking a stale/stuck session so the client UI reacts instead of playing on
Future: parental controls / viewing-time limits, "play on device" casting
Rough scope
Registry mapping authenticated socket connections to playback sessions (jellycompat sessions already exist; the realtime session hub on the native side may be reusable)
Outbound message frames for Playstate and GeneralCommand per the Jellyfin websocket protocol
A way to trigger commands — native admin API and/or Jellyfin-shaped POST /Sessions/{sessionId}/Playing/{command} + POST /Sessions/{sessionId}/Command
Honor the per-session capabilities reported via /Sessions/Capabilities
References
Coverage audit: docs/architecture/wholphin-endpoint-coverage.md (websocket listed as the main partial implementation)
needs-reviewNeeds maintainer review to resolve uncertain classification, scope, or changed evidence.v1.0Silo v1 scope - auto-adds to the Silo v1 project
Activity
fix(web): say "Show it" on a restore toggle that covers one item (#4693)