/
/
# What does this implement/fix? Music Assistant read the AirPlay password announcement differently for Apple TVs: the standard password flag was ignored for them, and a separate bit (`0x1000`) was trusted instead. Testing against a live Apple TV on tvOS 27.0 shows that reading is wrong — toggling "Require Password" moves the standard flag (`0x644` ⇄ `0x4c4`) and never touches `0x1000`, which the AirPlay spec documents as SilentPrimary, unrelated to passwords. Nothing changes for any device seen so far: the Apple TV exception could never fire (it tested a model string that discovery never produces), and no observed device raises `0x1000`. This aligns the code with how the devices actually behave, and drops a bit that would otherwise report a password where there is none. - Honour the standard password flag on every device, Apple TVs included - Stop treating SilentPrimary as a password announcement - Replace the Apple TV tests with the flags the devices really publish ## Types of changes - [ ] Bugfix (non-breaking change which fixes an issue) — `bugfix` - [ ] New feature (non-breaking change which adds functionality) — `new-feature` - [ ] Enhancement to an existing feature — `enhancement` - [ ] New music/player/metadata/plugin provider — `new-provider` - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) — `breaking-change` - [ ] Refactor (no behaviour change) — `refactor` - [ ] Documentation only — `documentation` - [x] Maintenance / chore — `maintenance` - [ ] CI / workflow change — `ci` - [ ] Dependencies bump — `dependencies` ## Checklist - [x] The code change is tested and works locally. - [x] `pre-commit run --all-files` passes. - [x] `pytest` passes, and tests have been added/updated under `tests/` where applicable. - [ ] For changes to shared models, the companion PR in `music-assistant/models` is linked. - [ ] For changes affecting the UI, the companion PR in `music-assistant/frontend` is linked. - [x] I have read and complied with the project's [AI Policy](https://github.com/music-assistant/.github/blob/main/AI_POLICY.md) for any AI-assisted contributions. - [ ] I have [raised a PR against the documentation repository](https://github.com/music-assistant/music-assistant.io/blob/main/CONTRIBUTING.md) targeting the main or beta branch as appropriate.