Pyatv

Latest version: v0.16.0

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

Scan your dependencies

Page 8 of 18

0.10.0

It's a new year and time for a new release with a few bug fixes:

* Play state was reported inconsistently with iOS (MRP) and is now fixed
* Pairing requirement was incorrectly reported as mandatory for Companion
and AirPlay in some cases
* All internal resources are now de-allocated when a connection is closed or
lost, so no need to call for instance push_updater.stop
* Initial support to scan with python-zeroconf. Internal multicast and unicast
methods will be ported to this over time.

This release drops support for python 3.6, mainly due to python-zeroconf not
supporting that version. My intention is to not support EOL versions of python
in the future.

**Changes:**

*Protocol: MRP:*


02202ff mrp: Fix play state bug


*Protocol: AirPlay:*


da51ff4 airplay: Fix pairing requirement bug


*Protocol: Companion:*


baf4a9f companion: Fix pairing requirement flag


*Protocol: RAOP:*


c74e710 raop: Fix stream from buffer bug
e7afb7e raop: Use requests instead of urllib in web stream
0db2447 raop: Override volume from other protocols


*Other:*


52a0f03 scan: Add support for scanning with AsyncZeroconf
55ef75c deps: Deprecate python 3.6
204049b Ensure knock exceptions are retrieved
df6047a deps: Add requests as dependency
b099169 gha: Don't build for armv7
d6ffbd2 facade: Stop push updaters on close
37f6a1a core: Dispatch volume changes in protocols


**All changes:**


02202ff mrp: Fix play state bug
52a0f03 scan: Add support for scanning with AsyncZeroconf
4d3687e build(deps): bump types-protobuf from 3.19.4 to 3.19.5 in /requirements
3e90c65 build(deps): bump mypy-protobuf from 3.0.0 to 3.1.0 in /requirements
6c58037 build(deps): bump pytest-asyncio from 0.16.0 to 0.17.2 in /requirements
55ef75c deps: Deprecate python 3.6
baf4a9f companion: Fix pairing requirement flag
261cbb6 build(deps): bump types-requests from 2.27.5 to 2.27.7 in /requirements
c7c40c8 Fixes and amendments to protocols doc.
1b3e09e build(deps): bump pytest-timeout from 2.0.2 to 2.1.0 in /requirements
ef88032 build(deps): bump types-protobuf from 3.19.0 to 3.19.4 in /requirements
b386ae0 build(deps): bump protobuf from 3.19.1 to 3.19.3 in /requirements
6b50822 build(deps): bump types-protobuf from 3.18.4 to 3.19.0 in /requirements
4ed1f55 build(deps): bump types-protobuf from 3.18.3 to 3.18.4 in /requirements
e40be8d build(deps): bump bitarray from 2.3.4 to 2.3.5 in /requirements
bb79792 build(deps): bump mypy from 0.930 to 0.931 in /requirements
182ffdd build(deps): bump types-requests from 2.26.3 to 2.27.5 in /requirements
8a7ec5d build(deps): bump requests from 2.27.0 to 2.27.1 in /requirements
0217895 build(deps): bump miniaudio from 1.45 to 1.46 in /requirements
d9cdad9 build(deps): bump types-protobuf from 3.18.2 to 3.18.3 in /requirements
cb05378 build(deps): bump requests from 2.26.0 to 2.27.0 in /requirements

0.9.8

Here is yet another release with a bunch of bug fixes and improvements:

* Calling public interface methods after disconnecting now results
in `BlockedStateError` being raised
* `power_state` now depends on `device_state`. Because of the unreliable
method used to derive `power_state`, a device could be reported as
powered off while playing some media, which doesn't make sense. As
long as `device_state` is not `idle`, the power state will be reported
as on.
* Button presses in MRP should be more reliable and not skipped or
repeated now.
* `netifaces` has been replaced by `ifaddr` due to lack of a maintainer.
* A few fixes have been made for MRP on devices running tvOS <= 14.
* The pause `pause` in RAOP will now stops playback. This is merely
because it's not implemented yet and aligns better with Home
Assistant for now.

**Changes:**

*Protocol: MRP:*


18d7a6e mrp: Do not disable MRP service for older tvOS
9541d21 mrp: Fix erroneous button press behavior (1521)
74d38b2 mrp: Add enable_encryption to connection


*Protocol: AirPlay:*


3065d6c airplay: Be stricter when setting up remotecontrol


*Protocol: RAOP:*


f0c4c33 raop: Let pause button stop playback


*Other:*


6540c49 facade: Block calls to public methods after close
c6e9466 facade: Make Power interface respect play status
4b0136b dep: Migrate from netifaces to ifaddr


**All changes:**


732339f protobuf: Fix support on Windows
ba5e6bb protobuf: Use version from base_versions.txt
4d565d8 gh: Update question issue
23be7cb build(deps): bump cryptography from 36.0.0 to 36.0.1 in /requirements
ff13e68 mdns: Quiet error log if address cannot be added
3065d6c airplay: Be stricter when setting up remotecontrol
18d7a6e mrp: Do not disable MRP service for older tvOS
9541d21 mrp: Fix erroneous button press behavior (1521)
6713225 build(deps): bump pytest-timeout from 2.0.1 to 2.0.2 in /requirements (1529)
2009c18 knock Ensure knock yields to the event loop often enough to avoid blocking (1515)
6540c49 facade: Block calls to public methods after close
2d4d526 support: Add shield module
b00dbf4 build(deps): bump pytest-xdist from 2.4.0 to 2.5.0 in /requirements
f555e46 core: Clean up dispatchers
67fcb09 core: Specialize StateDispatcher in protcols
a72947d core: Prevent duplicates from state producer
f27c5a4 if: Remove loop argument to PushUpdater
c6e9466 facade: Make Power interface respect play status
c67819b core: Add main_protocol to Relayer
c84bf4a core: Add base support for internal state updates
605b1a6 core: Add filtering to MessageDispatcher
2d0a1ca core: Support plain functions in MessageDispatcher
4b0136b dep: Migrate from netifaces to ifaddr
f0c4c33 raop: Let pause button stop playback
74d38b2 mrp: Add enable_encryption to connection

0.9.7

It's already Decemeber, how did that happen? Not sure... Anyways, I've
prepared a small update with few neat things:

* Implemented a missing type in OPACK that raised an exception when
connecting to Companion for some people (`TypeError: 0xc0`)
* More buttons are supported by Companion as we as proper feature reporting
for some of them
* A persistent connection is now set up to Companion. The active device listener
is called if connection is lost.
* A copy is now made of the configuration passed to `pyatv.connect` which
means a config cannot be modified after connecting anymore
* Experimental support for streaming via HTTP(S) has been added to `stream_file`


**Changes:**

*Protocol: MRP:*


f6a8973 mrp: Migrate protocol to MessageDispatcher


*Protocol: Companion:*


dd44437 companion: Use XID for message dispatch
825912d companion: Move CompanionAPI to separate module
a02b3b9 companion: Do not wait for initial event update
5a765bc companion: Fix button presses for HID buttons
ceddc9f companion: Add support for additional commands
8c7ed2f companion: Improve tests for sessions and events
5f0cb39 companion: Support playback control availability
b3d69a7 companion: Events and persistent connection
4b7e832 opack: Handle pointers properly


*Protocol: RAOP:*


cf11b42 raop: Support streaming from HTTP(s)


*Other:*


a1a357a core: Add enabled state to services

8b0c82e env: Fix broken GitPod integration
5eb4152 core: Create copy of config in connect
0227529 docs: Add example connect_with_credentials.py


**All changes:**


cf11b42 raop: Support streaming from HTTP(s)
a1a357a core: Add enabled state to services
4b7e832 opack: Handle pointers properly
8b0c82e env: Fix broken GitPod integration
f1a2b79 build(deps): bump types-protobuf from 3.18.1 to 3.18.2 in /requirements
1b18cd3 build(deps): bump mediafile from 0.8.1 to 0.9.0 in /requirements
0c4ced5 build(deps): bump aiohttp from 3.8.0 to 3.8.1 in /requirements
e328417 build(deps): bump black from 21.10b0 to 21.11b1 in /requirements
c4fc994 build(deps): bump zeroconf from 0.36.11 to 0.37.0 in /requirements
9ec3559 build(deps): bump cryptography from 35.0.0 to 36.0.0 in /requirements
e8ae699 build(deps): bump types-protobuf from 3.18.0 to 3.18.1 in /requirements
a70609d build(deps): bump pylint from 2.11.1 to 2.12.1 in /requirements
6d50e0c docs: Clarifications for data channel payload
d1bc5ee cq: Remove unwanted files
c623b39 net: Log instead of raise in tcp_keepalive
721872d build(deps): bump isort from 5.10.0 to 5.10.1 in /requirements
486dbcf build(deps): bump isort from 5.9.3 to 5.10.0 in /requirements
5eb4152 core: Create copy of config in connect
34e9c67 conf: Implement __deepcopy__ in BaseConfig
98abc57 conf: Implement __deepcopy__ in BaseConfig
b71a415 build(deps): bump aiohttp from 3.7.4.post0 to 3.8.0 in /requirements
b478c9d env: Rebuild miniaudio in tests workflow
70a6f94 conf: Ignore services with missing identifier
9393873 build(deps): bump black from 21.9b0 to 21.10b0 in /requirements
e73f256 build(deps): bump zeroconf from 0.36.9 to 0.36.11 in /requirements
dd44437 companion: Use XID for message dispatch
825912d companion: Move CompanionAPI to separate module
a02b3b9 companion: Do not wait for initial event update
5a765bc companion: Fix button presses for HID buttons
ceddc9f companion: Add support for additional commands
f6a8973 mrp: Migrate protocol to MessageDispatcher
d1332e8 core: Add generic MessageDispatcher
8c7ed2f companion: Improve tests for sessions and events
5f0cb39 companion: Support playback control availability
b3d69a7 companion: Events and persistent connection
e956d79 collection: Add SharedData type
ef2ffe8 gha: Fix caching issue for finished job
0227529 docs: Add example connect_with_credentials.py
931acf6 build(deps): update protobuf requirement in /requirements

0.9.6

It's time for another minor release (nothing fancy, I promise):

* Addresses that are broadcasted when pairing DMAP can be manually set
* A `content_identifier` (app specific) is available in the Playing interface.
Only some apps provides this.
* Removed unnecessary exception log in the `heartbeater` module which polluted
the log in some cases.

**Notes:**

`protobuf` version 3.18.0 or later is now required.

**Changes:**

*Protocol: DMAP:*


4094699 dmap: Support custom addresses during pairing


*Protocol: MRP:*


260b006 mrp: Add support for content_identifier


*Other:*


ee8c23d if: Add content_identifier to Playing
8885662 env: Re-work test environment
6d47d0b scripts: Log current version of pyatv
70b235e core: Do not log exception in heartbeater


**All changes:**


260b006 mrp: Add support for content_identifier
ee8c23d if: Add content_identifier to Playing
4177295 build(deps): update aiohttp requirement in /requirements
6e04896 build(deps): bump zeroconf from 0.36.8 to 0.36.9 in /requirements
8885662 env: Re-work test environment
6d47d0b scripts: Log current version of pyatv
70b235e core: Do not log exception in heartbeater
4094699 dmap: Support custom addresses during pairing

0.9.5

The releases are pouring down right now! Two more bug fixes to smoothen the experience:

* Fix relay bug which could result in methods being reported as unsupported
* Add some missing DMAP tags (removes warnings)

**Changes:**

*Protocol: DMAP:*


436ba7b dmap: Add missing tags aelb and casa


*Other:*


5170edd core: Fix relayer fallback bug


**All changes:**


436ba7b dmap: Add missing tags aelb and casa
5170edd core: Fix relayer fallback bug

0.9.4

This release just contains two minor bug fixes:

* Removal of need for `mypy_extensions` which was never added as an explicit dependency
but was required in the previous release
* Support for the UID type in OPACK used by Companion, which caused an exception when
pairing (Companion) for some people

**Changes:**

*Protocol: Companion:*


f99bad0 companion: Add support for UID in OPACK


*Other:*


954f3dd core: Remove need for mypy_extensions


**All changes:**


f99bad0 companion: Add support for UID in OPACK
0cf4055 docs: Hide internal DeviceInfo.RAW_MODEL
954f3dd core: Remove need for mypy_extensions
41ff2c8 build(deps): bump types-protobuf from 3.17.4 to 3.18.0
8c9f2d9 build(deps): bump deepdiff from 5.5.0 to 5.6.0

Page 8 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.