Add configuration for Zeroconf discovery interfaces (#2880)
authorSimon Vos <vossim@users.noreply.github.com>
Fri, 2 Jan 2026 12:09:21 +0000 (13:09 +0100)
committerGitHub <noreply@github.com>
Fri, 2 Jan 2026 12:09:21 +0000 (13:09 +0100)
commitd4320088c4524edc6ed032d714be5bdf0401432d
tree59a4316a1865cd8086886f77950601d9529deb9f
parente4cfbaa04b7e33d0b17fce8911efee7da8f650b8
Add configuration for Zeroconf discovery interfaces (#2880)

feat(core): Add configuration for Zeroconf discovery interfaces

- Add `zeroconf_interfaces` setting to allow choosing between 'default' and 'all' network interfaces for mDNS discovery.
- Move ConfigController setup before AsyncZeroconf initialization in `MusicAssistant` to ensure config is available.
- Initialize `AsyncZeroconf` based on the configured interface choice (`InterfaceChoice.All` vs `InterfaceChoice.Default`).
music_assistant/constants.py
music_assistant/controllers/streams/streams_controller.py
music_assistant/mass.py