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:
@@ -489,3 +489,11 @@ class TestIndicator:
|
||||
assert vis.toolTip() == "Playing on tiat.place — click to stop"
|
||||
vis.mousePressEvent(None)
|
||||
airplay.disconnect.assert_called_once()
|
||||
|
||||
|
||||
def test_protocol_choice_defaults_to_auto():
|
||||
assert support.protocol_choice(None) == "auto"
|
||||
assert support.protocol_choice("1") == "1"
|
||||
assert support.protocol_choice("v1") == "1"
|
||||
assert support.protocol_choice(2) == "2"
|
||||
assert support.protocol_choice("three") == "auto"
|
||||
|
||||
Reference in New Issue
Block a user