postlund / pyatv

A client library for Apple TV and AirPlay devices
https://pyatv.dev
MIT License
839 stars 91 forks source link

raop: Add protocol_version setting #2206

Closed postlund closed 9 months ago

postlund commented 9 months ago

The setting protocols.raop.protocol_version can be set to auto, 1 or 2 to force a specific AirPlay version instead of always falling back to automatic mode.

Relates to #2204

codecov[bot] commented 9 months ago

Codecov Report

Patch coverage: 96.66% and project coverage change: -0.02% :warning:

Comparison is base (fd7135b) 88.97% compared to head (df496d6) 88.95%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2206 +/- ## ========================================== - Coverage 88.97% 88.95% -0.02% ========================================== Files 167 167 Lines 11343 11347 +4 ========================================== + Hits 10092 10094 +2 - Misses 1251 1253 +2 ``` | [Files Changed](https://app.codecov.io/gh/postlund/pyatv/pull/2206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl) | Coverage Δ | | |---|---|---| | [pyatv/protocols/raop/\_\_init\_\_.py](https://app.codecov.io/gh/postlund/pyatv/pull/2206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvcHJvdG9jb2xzL3Jhb3AvX19pbml0X18ucHk=) | `97.01% <66.66%> (ø)` | | | [pyatv/protocols/airplay/\_\_init\_\_.py](https://app.codecov.io/gh/postlund/pyatv/pull/2206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvcHJvdG9jb2xzL2FpcnBsYXkvX19pbml0X18ucHk=) | `72.94% <100.00%> (-0.16%)` | :arrow_down: | | [pyatv/protocols/airplay/pairing.py](https://app.codecov.io/gh/postlund/pyatv/pull/2206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvcHJvdG9jb2xzL2FpcnBsYXkvcGFpcmluZy5weQ==) | `94.11% <100.00%> (-0.71%)` | :arrow_down: | | [pyatv/protocols/airplay/utils.py](https://app.codecov.io/gh/postlund/pyatv/pull/2206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvcHJvdG9jb2xzL2FpcnBsYXkvdXRpbHMucHk=) | `88.27% <100.00%> (+0.41%)` | :arrow_up: | | [pyatv/settings.py](https://app.codecov.io/gh/postlund/pyatv/pull/2206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvc2V0dGluZ3MucHk=) | `100.00% <100.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/postlund/pyatv/pull/2206/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.