github rusty4444/now-showing-ha addon-v2.3.5
v2.3.5 — SSE Broadcast Fix

latest release: addon-v2.3.6
16 days ago

v2.3.5 — SSE Broadcast Fix

Bug Fix

  • Fix SSE null broadcasts during active playback (#108, #112). The add-on's Server-Sent Events (/api/events) endpoint previously broadcast null (blanking the kiosk overlay) when an unrelated media player in the house changed state during active playback. The state-change handler now recomputes the Now Showing payload from all Home Assistant media_player states after a 300ms debounce window, matching the same computation /api/state serves. A new stateBroadcaster module with full test coverage handles debouncing, error resilience, and graceful shutdown.

Maintenance

  • Extracted state broadcast logic from server.js into dedicated stateBroadcaster.js module with 3 tests: full-state recompute, debounce coalescing, and transient error resilience.

Don't miss a new now-showing-ha release

NewReleases is sending notifications on new releases.