node-sonos-discovery icon indicating copy to clipboard operation
node-sonos-discovery copied to clipboard

exception in recalculateGroupVolume

Open bpaauwe opened this issue 1 year ago • 7 comments

In a program that makes use of this node module, we're seeing the following exception:

TypeError: Cannot read properties of undefined (reading 'members') at Player.recalculateGroupVolume (/var/polyglot/pg3/ns/000db9532fec_7/node_modules/sonos-discovery/lib/prototypes/Player/recalculateGroupVolume.js:4:32) at NotificationListener.notificationHandler (/var/polyglot/pg3/ns/000db9532fec_7/node_modules/sonos-discovery/lib/models/Player.js:370:25) at NotificationListener.emit (node:events:525:35) at /var/polyglot/pg3/ns/000db9532fec_7/node_modules/sonos-discovery/lib/NotificationListener.js:125:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

This is happening every few days so repeatable, but not reproducible on demand.

bpaauwe avatar Mar 29 '23 18:03 bpaauwe