WebSocket Connection - Real-Time Updates #27

Open
opened 2026-06-24 00:27:59 +00:00 by echo · 0 comments
Owner

Integrate the WebSocket client for real-time server-to-client communication.

Scope:

  • Connect WebSocketClient to the Jellyfin server on app launch
  • Handle UserDataChanged, Playstate, Sessions events
  • Update UI reactively on session/playstate changes from other clients
  • Reconnect on network interruption with exponential backoff
  • Wire NotificationCenter events to StateManager.updateViews() for UI updates

Done when:

  • App receives and processes server-pushed events
  • UI reflects state changes from other sessions (e.g., "Now Playing" from another client)
Integrate the WebSocket client for real-time server-to-client communication. **Scope:** - Connect `WebSocketClient` to the Jellyfin server on app launch - Handle `UserDataChanged`, `Playstate`, `Sessions` events - Update UI reactively on session/playstate changes from other clients - Reconnect on network interruption with exponential backoff - Wire `NotificationCenter` events to `StateManager.updateViews()` for UI updates **Done when:** - App receives and processes server-pushed events - UI reflects state changes from other sessions (e.g., "Now Playing" from another client)
echo added the
enhancement
feature
label 2026-06-24 00:28:25 +00:00
echo changed title from WebSocket Connection — Real-Time Updates to WebSocket Connection - Real-Time Updates 2026-06-24 00:30:27 +00:00
Sign in to join this conversation.
No description provided.