hassio-addons / addon-aircast

AirCast - Home Assistant Community Add-ons
https://addons.community
MIT License
306 stars 18 forks source link

Chrome cast not discovered without restart #163

Closed Morriz closed 1 year ago

Morriz commented 1 year ago

Problem/Motivation

Dupe of #123 which was closed but needs to be fixed as losing connection is a HUGE pain in the ass and easily solved with polling before acting.

Expected behavior

The addon to always be connected with the devices found.

Actual behavior

Device list becomes stale and devices are not reachable.

Steps to reproduce

  1. Start addon
  2. Connect audio device to hear output
  3. Turn off chromecast
  4. Try to connect to the same device: time out

Proposed changes

Poll and reestablish connection state upon client request?

Morriz commented 1 year ago

This is actually not consistently reproducible, but somehow the list goes stale over time.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!