v0.56.1: AirPlay diagnostics — log each stream, choose the protocol

tiat.place connects but stays silent; pyatv streams to it with its AirPlay 2
path, which the fake receiver never exercised. Log every stream's start,
first audio and outcome; config.json airplay_protocol (auto/1/2) forces a
version and airplay_debug turns on pyatv's own debug log.
This commit is contained in:
2026-10-15 16:07:20 -07:00
parent c1aee48b8b
commit c2a566bf57
7 changed files with 66 additions and 4 deletions
+5
View File
@@ -839,6 +839,11 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
tile shows the sink's `glyph`. Testing streams against **pyatv's own fake
receiver** (`tests/fake_device/raop.py` in its sdist, bound to 127.0.0.1) —
never a real speaker unless trav says so.
pyatv picks AirPlay **2** for any receiver advertising its features (the
WiiM does) and the fake only exercises v1, so `config.json` takes
`airplay_protocol` ("auto"/"1"/"2") and `airplay_debug` (pyatv's logger
at DEBUG); every stream's start, first audio and outcome are logged at
INFO under `lintunes.airplay`, and the chosen protocol in the control log.
## Conventions & gotchas