Skip to content

Releases: home-assistant-libs/pychromecast

v0.7

23 Jan 17:25
Compare
Choose a tag to compare

General

  • #65: Multi-room casting. Any groups that are created for Audio cast devices will appear as separate cast devices.
  • Better support for audio devices. CastStatus.is_active_input and CastStatus.is_stand_by will report None for audio devices as this information is not available.
  • The socket timeout value (timeout) can be specified when fetching cast devices.
  • Improved information on Cast devices by primarily using the Dial information.
  • New fields on DeviceStatus.
    • uuid, the unique ID for the cast devices. Stored as UUID type.
    • cast_type, type of cast device, one of "cast" (regular Chromecast), "audio" (Audio cast) or "group" (Grouped devices/multi-room). See dial.CAST_TYPES for details.
  • Better __repr__ strings on some classes.
  • ConnectionStatus now reports the host/port pair using a namedtuple called NetworkAddress.

Client

  • Specify socket port using the new port parameter to Chromecast class. This is part of the multi-room support as groups use a different port but the same IP.
  • New properties on Chromecast class for ease of access. uuid, name, model_name and cast_type.

Detailed changes

v0.6.14

22 Jan 16:43
Compare
Choose a tag to compare

General

  • General improvements to unicode handling on Python 2.7.
  • Improved unicode support when parsing device description.
  • #68, #70: Fix error using title or thumb in play_media

Client

  • A chromecast connection can be manually stopped using device.disconnect().
  • New listener for launch errors (device.register_launch_error_listener). Launching an app now reports back errors to the caller.
  • Failure to launch an app now results in a LaunchError exception (blocking mode).
  • #40: Added a wait() method to allow the client to wait for the device to be ready.
  • The time between retries can now be specified by the caller (retry_wait parameter).
  • New listener for connection status (device.register_connection_listener). It will report connecting, connected, disconnected, failed and lost.

Socket

  • Better handling of socket timeouts and errors.
  • Improved stability in keeping a connection.
  • #60: Reduced log spamming

Detailed changes