Skip to content

v1.4.22

Choose a tag to compare

@github-actions github-actions released this 13 Jun 15:50
· 37 commits to main since this release
fix(spirc): suppress stale cluster resume echo after local pause

When the player presses pause (A), an in-flight PUT(playing=true) from
the preceding periodic notify can arrive at Spotify before our
PUT(playing=false). Spotify echoes the cluster back as is_playing=true,
which was hitting the host-resume branch and un-pausing playback ~1s
after the button press.

Fix: notify(false) sets local_pause_pending_. The cluster handler
checks this flag before treating a playing=true cluster update as a
host resume — if set, it re-pushes paused state instead. The flag
is cleared when the cluster confirms paused, when the host sends an
explicit resume command, or when the player resumes locally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>