feat: add support for overriding default multicast interface#208
Merged
svrooij merged 1 commit intosvrooij:betafrom Nov 19, 2025
Merged
feat: add support for overriding default multicast interface#208svrooij merged 1 commit intosvrooij:betafrom
svrooij merged 1 commit intosvrooij:betafrom
Conversation
* fix: sonos-cli (svrooij#22)
Pull Request Test Coverage Report for Build 19285653215Details
💛 - Coveralls |
|
🎉 This PR is included in version 2.6.0-beta.13 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for overriding default multicast interface.
Description
This pull request adds the ability to override the default multicast interface used to send SSDP discovery requests.
As described in sonos-cli #22, if the user has activated a WSL environment, or has installed the Hyper-V subsystem, their default multicast interface will change to one of the virtual vEthernet interfaces added by WSL/Hyper-V, instead of their physical network interface. This causes a (sonos-cli)
sonos zonesrequest to fail and timeout without discovering any SONOS devices (the query is sent out on the virtual interface).To work around this issue, with this change, you can set either the
SONOS_MULTICAST_IForIP_MULTICAST_IFenvironment variable to the IP address of the network interface you want to be used to discover the SONOS devices.