bencevans / node-sonos

🔈 Sonos Media Player Interface/Client
https://www.npmjs.com/package/sonos
MIT License
702 stars 147 forks source link

Fixing Notifications for streams #440

Closed svrooij closed 5 years ago

svrooij commented 5 years ago

I've managed to tackle the issue with notifications while playing some sort of stream.

These streams didn't allow setting the Relative track time and/or the number in the queue. This now added some tests to see if it should try to set the track/RelTime and if they still get triggered but fail it is catched and written to debug for those that are listening.

To see the debug statements try run the following code (replace IP) DEBUG=sonos:main SONOS_HOST=192.168.x.x node examples/playNotification.js

bencevans commented 5 years ago

:tada: This PR is included in version 1.12.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: