Skip to content

Releases: home-assistant-libs/pychromecast

4.1.1

23 Jan 17:34
Compare
Choose a tag to compare

What's Changed

  • Update "add support to your favorite app" in the README (#326) @Eerovil
  • Get ipaddress the same way as code examples in zeroconf (#337) @fondberg
  • Correct METADATA_TYPE in media.py (#334) @jparthum

4.1.0

17 Oct 04:49
Compare
Choose a tag to compare

What's Changed

4.0.1

11 Sep 22:33
84f72dd
Compare
Choose a tag to compare

What's Changed

4.0.0

10 Sep 00:12
Compare
Choose a tag to compare

What's Changed

  • Support for Home Assistant Cast (#301) @balloob
  • BREAKING CHANGE Dropped support for Python 3.4, 3.5

3.2.3

15 Aug 20:41
Compare
Choose a tag to compare

What's Changed

3.2.2

13 May 17:49
Compare
Choose a tag to compare

What's Changed

  • Update spotify controller and spotify example to handle casting to audio groups (#294) @emontnemery

3.2.1

27 Apr 10:41
Compare
Choose a tag to compare

What's Changed

3.2.0

01 Apr 19:58
Compare
Choose a tag to compare

What's Changed

3.1.0

29 Mar 23:51
Compare
Choose a tag to compare

What's Changed

3.0.0

09 Mar 18:11
Compare
Choose a tag to compare

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 in cast.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 in cast.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.