Skip to content

Commit

Permalink
Update pychromecast/socket_client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery authored Oct 20, 2024
1 parent d418837 commit 519fa65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pychromecast/socket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,9 @@ def new_cast_status(self, status: CastStatus) -> None:
self.destination_id = status.transport_id
self.session_id = status.session_id

# App quirk: when a new cast status is received, give Audible time to load
# App quirk: If the Audible app is running, wait 1s after receiving cast status
# before connecting to the media player channel. This is a workaround for
# https://github.com/home-assistant-libs/pychromecast/issues/738
if (
any(namespace in self._handlers for namespace in self.app_namespaces)
and self.destination_id not in self._open_channels
Expand Down

0 comments on commit 519fa65

Please sign in to comment.