svrooij / node-sonos-ts

:speaker: Sonos control library, use this library in your own appliction.
https://sonos-ts.svrooij.io/
MIT License
84 stars 18 forks source link

Mute works only once #79

Closed hklages closed 3 years ago

hklages commented 3 years ago
playerKueche.Events.on(SonosEvents.Mute, value => {
      node.send({ payload: value, topic: 'Mute' })
 })

playerKueche.Events.on(SonosEvents.Volume, value => {
    node.send({ payload: value, topic: 'Volume' })
})

Volume works fine, mute only once.

svrooij commented 3 years ago

I've verified this as a bug, have to investigate some more.

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 2.2.0-beta.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

hklages commented 3 years ago

Thanks - you are lightning fast.

In this phase I don't want to install betas - can wait for official release.

When will 2.2.0 be released?

svrooij commented 3 years ago

I was waiting for other issues that might pop-up, fixing those in the beta and then make one big release.

In this phase I don't want to install betas - can wait for official release.

You should try it, since it has support for external music services. Like browsing Spotify is now possible.

hklages commented 3 years ago

What about GroupMute? Is that also fixed? In current version it is always "false".

svrooij commented 3 years ago

Did I build a GroupMute Event? 😲 Or do you mean the https://svrooij.io/sonos-api-docs/services/group-rendering-control.html#event-variables ?

hklages commented 3 years ago
playerKueche.GroupRenderingControlService.Events.on(ServiceEvents.Data, data => {
      node.send({ payload: data, topic: 'GroupRendering' })
})

GroupVolume works fine.

svrooij commented 3 years ago

https://github.com/svrooij/node-sonos-ts/releases/tag/v2.2.0-beta.4

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 2.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: