Start | Scan, Pair and Connect | Device Information | Control | Power Management | Features | Metadata | Listeners | AirPlay | 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. 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.