Skip to content

Load sonos config conditionally on BNB_SONOS_ENABLE_S1#278

Merged
simojenki merged 1 commit into
masterfrom
feature/s1.v.s2.config
Jun 15, 2026
Merged

Load sonos config conditionally on BNB_SONOS_ENABLE_S1#278
simojenki merged 1 commit into
masterfrom
feature/s1.v.s2.config

Conversation

@simojenki

Copy link
Copy Markdown
Owner

When S1 is disabled (the default), skip reading all other SONOS_* env vars and return hardcoded safe defaults (discovery disabled, sid -1). Only when BNB_SONOS_ENABLE_S1=true are the env vars consulted.

When S1 is disabled (the default), skip reading all other SONOS_* env
vars and return hardcoded safe defaults (discovery disabled, sid -1).
Only when BNB_SONOS_ENABLE_S1=true are the env vars consulted.
@simojenki simojenki merged commit 2179241 into master Jun 15, 2026
4 checks passed
@simojenki simojenki deleted the feature/s1.v.s2.config branch June 15, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant