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

Feature Request: add new play state to playpause response #820

Closed mjbnz closed 2 years ago

mjbnz commented 2 years ago

It would be great if the json response from the playpause command included the new playback state. My preference would be for a boolean called "paused", so the response would become:

{"status":"success","paused":true}

When playback was paused, and false when resumed.