Start | Scan, Pair and Connect | Device Information | Control | Power Management | Features | Metadata | Listeners | Stream | Apps | Audio | Logging | Examples


There are a few example bundled with pyatv in the examples subdirectory:

Filename Description Demonstrates the simple auto_connect helper. Manual creation of a configuration used to connect to a device. Generic example demonstrating the pairing API. Play a video from URL using AirPlay. Scans for devices, picks the first one and connects to it. Stream audio file to an AirPlay/RAOP receiver. Complete source code of tutorial.

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.

← Logging