Releases: home-assistant-libs/pychromecast
Releases · home-assistant-libs/pychromecast
4.1.1
4.1.0
4.0.1
4.0.0
3.2.3
What's Changed
- Fix failure to reconnect after device reboot (#305) @soreau
- Better controller for plex. (#300) @Hellowlol
- Catch IndexError while parsing STATUS message. (#296) @skillingt
- Seek to a specified point in time via the Plex controller (#295) @tking2
3.2.2
What's Changed
- Update spotify controller and spotify example to handle casting to audio groups (#294) @emontnemery
3.2.1
What's Changed
- Add google home mini as audio device (#284) @Tsjippy
- Fix broken attempt to update status during tear down (#289) @emontnemery
3.2.0
What's Changed
- Dynamic auth token (#282) @fondberg
- Add support for queue_next / queue_prev (#286) @emontnemery
3.1.0
What's Changed
- Fix Spotify playback (#275) @fondberg
- Update spotify example (#276) @emontnemery
- Add multizone controller (#278) @emontnemery
- Do not wait forever when starting Spotify app (#277) @emontnemery
- Add MultizoneManager (#283) @emontnemery
3.0.0
What's Changed
- fixup! Remove the filters feature from get_chromecasts (#141) (#270) @tompreston
- Do not automatically start worker thread and connect in Chromecast constructor (#271) @emontnemery
This is a breaking change. The method to call now depends on if you're running in blocking (the default) or non-blocking mode. Use one of the methods to start, appropriate for the mode you run in:
- Blocking mode:
cast.start()
: Start the worker thread and connect to the chromecast device. Connection status will be reported through the listener registered incast.register_connection_listener
. - Blocking mode:
cast.wait()
: Wait for connection, this will also start the worker thread if it has not been started. - Non-blocking mode:
cast.connect()
: Connect to the chromecast. This must only be called if the worker thread has not been started. Connection status will be reported through the listener registered incast.register_connection_listener
.
Background
The automatic connect in the constructor meant that the constructor would hang forever if the number of retries was unlimited and the chromecast could not be found. It was also unnatural to start the worker thread in the constructor.