Repository navigation
Description
Summary
Goal: To have the server activity dashboard immediately and accurately reflect the actual playback state when streaming Movies or TV shows via the Infuse app.
Steps:
Connect the Infuse client to the Silo server (via the Jellyfin compatibility layer).
Start playing a movie or TV show in Infuse.
Observe that the active stream appears in the Silo server activity dashboard.
Stop the playback in the Infuse app.
Immediately check the server activity dashboard.
Quickly start playing a different movie or TV show in Infuse.
Observe the server activity dashboard again.
Stop the second playback in Infuse and watch the dashboard.
Expected:
When playback is stopped in Infuse, the session should immediately disappear from the server activity dashboard. If a new item is started right after, only the single active stream should be visible.
Actual:
The playback session remains visible in the server activity for multiple seconds after it has been stopped in the app. If a new media item is started during this delay, the dashboard displays two simultaneous playbacks (the actual active one, and the "ghost" session of the stopped one). When the second playback is stopped, both sessions linger for a few seconds before finally disappearing together.
What is slow/broken:
Session teardown and state synchronization in the server activity UI are delayed when receiving stop/close events from the Infuse client.
Scope:
Happens with Movie and TV libraries when using the Infuse client.
Version/branch:
e244d4a
Deployment:
Docker
Reply digest
Two activity-dashboard accuracy bugs: (1) stopped Infuse streams linger for several seconds; (2) mobile audiobook playback sessions never appear. (Reporter also notes the audiobook account name shows as '1'.)
Code references
Verified against code 2026-06-25 (merged PRs + source). Verified not fixed (silo-server).
- internal/api/handlers/playback_sessions.go: PlaybackSessionsLoader queries only playback_sessions_sync; abs_playback_sessions is never joined -> mobile audiobook sessions never appear
- Stopped Jellyfin-compat (Infuse) sessions are not cleared from playback_sessions_sync on the Stopped report path -> they linger in the dashboard
Attachments
None.
Source
Imported from Discord:
Activity
fix(jellycompat): sync activity dashboard immediately on compat playb…
fix(jellycompat): sync activity dashboard immediately on compat playb…