INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Feature Request: Dead zones should be indicated somehow  (Read 215 times)

hoyt

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 873
Feature Request: Dead zones should be indicated somehow
« on: March 17, 2025, 01:58:10 pm »

I'm not sure how to word this properly, but this came to light using mattkhan's Home Assistant integration (https://yabb.jriver.com/interact/index.php/topic,137808.0.html).

I opened an issue on GitHub:

https://github.com/3ll3d00d/jriver_homeassistant/issues/21

I'm sure that Matt understands this better than I do, but it appears the integration calls Playback/Zones and gets a list of zones from the MC server. It then uses Playback/Info per zone to provide information back to Home Assistant.

If I have a client laptop running MC, a dynamic zone is created for the laptop. If I quit MC on the laptop, the zone is removed from the server. If I don't quit MC and instead the client goes offline, the zone persists on the server. This zone is then essentially offline, but because it stays, the integration attempts to get information. This takes 6 seconds before failing.

Matt has worked around this by increasing the timeout value when calling to MCWS. It would be better if MCWS could somehow indicate upfront that the zones are not currently responsive, or simply remove them altogether from the listing.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4512
Re: Feature Request: Dead zones should be indicated somehow
« Reply #1 on: March 17, 2025, 04:39:07 pm »

I think the MCWS call shouldn't be blocked for 6s in this situation, it seems much too long to me
Logged
Pages: [1]   Go Up