Start
|
Scan, Pair and Connect
|
Device Information
|
Control
|
Power Management
|
Features
|
Metadata
|
Listeners
|
AirPlay
|
Examples
Examples
There are a few example bundled with pyatv
in the examples
subdirectory:
Filename | Description |
---|---|
auto_connect.py | Demonstrates the simple auto_connect helper. |
manual_connect.py | Manual creation of a configuration used to connect to a device. |
pairing.py | Generic example demonstrating the pairing API. |
scan_and_connect.py | Scans for devices, picks the first one and connects to it. |
These scripts that are bundled with pyatv
can be used for inspiration as well:
More examples can be added on request, please write an issue if you want something more specific.