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

play:one vs play:1 with say or clip #760

Open saveswiss opened 4 years ago

saveswiss commented 4 years ago

I have a old play:1 and new play:one. With the play:1 say and clip works perfect. The music stop and say or clip play and the the music restart. With the play:one the music stop and say or clip start. But the music don't start again and the mp3 from clip or the the google tts from say stay with stop in the playlist from sonos. I hope you can understand my problem.

Hvidbjerg commented 4 years ago

I have the same issue, but im only running the new version one SL. I play musik, and then i have the doorbell as a clip to my Sonos, then it stop the musik, play my doorbell and just stop after that. And then i need to select a new playlist to contiune to play musik.

Im also running the S2 of sonos. but haven't seen any issue then this.

Im also getting this error, but it playing the say or clip command

{"status":"error","error":"Got status 500 when invoking /MediaRenderer/AVTransport/Control","stack":"Error: Got status 500 when invoking /MediaRenderer/AVTransport/Control\n at Object.invoke (C:\node-sonos\node_modules\sonos-discovery\lib\helpers\soap.js:99:10)\n at Player.setAVTransport (C:\node-sonos\node_modules\sonos-discovery\lib\models\Player.js:727:15)\n at C:\node-sonos\node_modules\sonos-discovery\lib\prototypes\SonosSystem\applyPreset.js:128:46\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:97:5)"}

anderslutzhoft commented 3 years ago

Same issue here! I think Sonos even provides a way to have the audio notification play on top of the music, just having the music volume lowered while the clip is played. That would be awesome!