This repository has been archived by the owner on Dec 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
SonosDevice::getZoneName is actually SonosDevice::getRoomName #24
Comments
I'm ok with the idea to rename getZoneName to getRoomName but it seems strange to loose the position information no ? Perhaps a third method ? In the configuration :
where Living Room and Bedroom are joined.
It's better no ? |
This night i gonna implement it on another branch to test it. |
Correct, I think your solution is the best one (Zone / Room / Device). |
Also, I gonna rename setZoneName() to setRoomName(). |
vmichalak
added a commit
that referenced
this issue
Nov 13, 2017
@mguntli can you check on feature/24-get-room-name branch ? |
vmichalak
added a commit
that referenced
this issue
Feb 16, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As far as I understood the Sonos system, every speaker can have a name.
Example with three speakers:
A) GetZoneGroupAttributes / CurrentZoneGroupName
If all three speakers are joined together, the "CurrentZoneGroupName" returns "Living Room + 1".
B) http://sonosip:1400/status/zp
C) http://sonosip:1400/device_description.xml
Proposal:
Rename "getZoneName" to "getRoomName", get the room name from device_description.xml
The text was updated successfully, but these errors were encountered: