Pychromecast

Latest version: v14.0.1

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 17

0.7.1

General
- Fix Chromecast discovery Python 3 compatibility
- Update dependencies `zeroconf` and `protobuf` to latest versions

0.7

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](https://github.com/balloob/pychromecast/compare/v0.6.14...v0.7)

0.6.14

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](//github.com/balloob/pychromecast/compare/v0.6.12...v0.6.14)

Page 17 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.