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.83k stars 462 forks source link

playpause action not working #876

Open michielschok opened 10 months ago

michielschok commented 10 months ago

I'm not sure why (didn't change anything in my setup), but the action 'playpause' is not working as designed: it does not toggle. Whatever the previous state (playing / pausing), the endstate after playpause is playing.

curl http://node-sonos:5005/Kantoor/playpause
{"status":"success","paused":false}

Anyone else observing this behaviour? A couple of months ago, it worked like a charm... using /play and /pause works great.

michielschok commented 10 months ago

I kind of found the cause. I run your software in a docker container (chrisns/docker-node-sonos-http-api). I tried pulling an older version of the container, and now /playpause toggles as intended.