jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.84k stars 462 forks source link

Repeat of Grouped Zones Returns Error #854

Open ucdscott opened 2 years ago

ucdscott commented 2 years ago

http://192.168.0.237:5005/Master Bath/repeat/on

Fails when zones are grouped (Master Bath is the coordinator), but

http://192.168.0.237:5005/Back%20Yard/repeat/on

Succeeds.

image

image

jishi commented 2 years ago

You can only repeat when playing from queue. What is the playback source on Master bath in this example?

ucdscott commented 2 years ago

I'm not playing anything. I'm using a preset to group zones and enable repeat (see preset at bottom).

It could be that the previously played source was not from the queue. Is there a way to clear the previously played source? e.g. end session.

ucdscott commented 4 months ago

This issue appears to be caused by an active streaming session not being ended first.

Can you please add an API call to End Session for a zone?

This screenshot is the queue of a zone that is streaming:

Sonos End Session