htilly / zenmusic

Slack / Sonos / Spotify / Node.js - Control Sonos through #Slack
125 stars 36 forks source link

Setvolume response does not reflect requested volume level #43

Closed tonycortex closed 2 months ago

tonycortex commented 6 years ago

Hi guys,

When we do setvolume, the response we get back is the previous volume level.

Should the response show the volume of the request? and not what the level was on previously?

Cheers, Tony

htilly commented 6 years ago

Hi! That is strange.. It "should" return the newly set volume..
Everything else is working ok? Command "status" return correct value?

BR Tilly

tonycortex commented 6 years ago

Its very strange, all the other commands seem fine.

When we enter "setvolume #requested number", the response we get is "Volume is #previous number..."

CaptainAweesome commented 6 years ago

I have the same issue. So everyone knows :)

htilly commented 5 years ago

Only thing I can think of is delay between the request and the response..
Are you running Zenmusic on the same LAN or is it hosted externally?! I.e. how is the networksetup between the Zenmusic and the Sonos?

/Tilly

htilly commented 2 months ago

Hopefully fixed in: https://github.com/htilly/zenmusic/commit/cc411271339ceb3710223384db7cbc3c3e6b000d