Fix stereo speakers pair unsync
Deploy HEOS panel / deploy (push) Successful in 31s

This commit is contained in:
franzz committed 2026-10-22 16:28:24 +02:00
1 parent 9ddc13e352
commit 90b5fa6e14
2 files changed
+26 -2

No files matched your search

+5 -1
View File
@@ -794,9 +794,13 @@ async function disconnectSpotify(button) {
// The speaker not answering on the LAN is not a failure -- the room
// still stops -- but it does leave the account signed in to it, and
// that is the difference between "let go of" and "stopped".
// A stereo pair is only ever paused -- signing it out can leave one
// half silent -- so it staying signed in is the plan, not a failure.
toast(data.signed_out
? `${data.device} let go of ${who}'s Spotify`
: `Stopped ${who}'s Spotify on ${data.device} — the speaker did not answer, so it stays signed in`,
: data.paired
? `Paused ${who}'s Spotify on ${data.device}`
: `Stopped ${who}'s Spotify on ${data.device} — the speaker did not answer, so it stays signed in`,
'ok');
// The room stops with it, so drop the border, the transport row and the
// song now rather than leaving a card that still claims to be playing;