Skip to content

Releases: home-assistant-libs/pychromecast

3.2.0

01 Apr 19:58

Choose a tag to compare

What's Changed

3.1.0

29 Mar 23:51

Choose a tag to compare

What's Changed

3.0.0

09 Mar 18:11

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.

2.5.2

16 Feb 19:45

Choose a tag to compare

What's Changed

  • Improve exponential backoff of mdns service resolution retries (#269) @emontnemery

2.5.1

15 Feb 17:44

Choose a tag to compare

What's Changed

2.5.0

12 Feb 19:30

Choose a tag to compare

What's Changed

2.4.0

17 Jan 18:47

Choose a tag to compare

What's Changed

2.3.0

05 Sep 13:01

Choose a tag to compare

What's Changed

  • Updated spotify controller description (#232) @Nobyx
  • Allow users to pass the force_launch flag when launching an app (#237) @marcosdiez
  • Better YouTube controller (#236) @ur1katz
  • Simple event listener example (#241) @hjmsw

2.2.0

09 Apr 03:22

Choose a tag to compare

2.1.0

18 Mar 17:56

Choose a tag to compare