INTERACT FORUM
More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: Soul_Rvr911 on September 12, 2014, 03:43:28 pm
-
The NumberZones value in MCWS's /Playback/Zones call is incorrect if the user has hidden zones. For example, if the user has 2 zones but opts to hide one of them, /Playback/Zones still returns <Item Name="NumberZones">2</Item> even though the response only contains a single zone.
-
The NumberZones value in MCWS's /Playback/Zones call is incorrect if the user has hidden zones. For example, if the user has 2 zones but opts to hide one of them, /Playback/Zones still returns <Item Name="NumberZones">2</Item> even though the response only contains a single zone.
I think that's sort of operating as intended. There are two zones, it's just that one of them is hidden.
-
I think that's sort of operating as intended. There are two zones, it's just that one of them is hidden.
I understand what you're getting at, but that doesn't seem like proper API design. The NumberZones field should represent the number of zones in the response, not the total number of zones. If you look at the way that the response is formatted, that field is required in order for a client to know how many zones to look for.