Releases: home-assistant-libs/pychromecast
Releases · home-assistant-libs/pychromecast
v0.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
andCastStatus.is_stand_by
will reportNone
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 asUUID
type.cast_type
, type of cast device, one of"cast"
(regular Chromecast),"audio"
(Audio cast) or"group"
(Grouped devices/multi-room). Seedial.CAST_TYPES
for details.
- Better
__repr__
strings on some classes. ConnectionStatus
now reports the host/port pair using a namedtuple calledNetworkAddress
.
Client
- Specify socket port using the new
port
parameter toChromecast
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
andcast_type
.
v0.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