Repository navigation
Conversation
- create() codec settings were causing audio dropouts after pausing and resuming playback in a group. Use the MusicCenter app's CodecType 0x0030 and CodecBitrate 0x0000 instead. - add(), remove() and their *_m variants passed the slaves through as is so the CLI (which passes a tuple) could not add or remove slaves. They now accept a list or tuple of UUIDs like create(), or a string as before. - Add exit() for a slave to leave its group (X_Exit).
SirScythe
force-pushed
the
group-codec-exit
branch
from
November 13, 2026 14:14
67de6bb to
8df4c04
Compare
11 of 22 tasks
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.
This fixes a few issues with grouping I noticed while while implementing it for the SongPal integration in Home Assistant:
The codec settings that were previously used caused dropouts in audio after pausing and resuming playback. The replacements are what Sony's Music Center app sets and fixed the issue on my HT-ZF9 + SRS-X77 setup.
The
songpal group add/removecommands weren't working due to an issue with how the slaves were passed between them so this was fixed by adding a new helper function.Lastly it adds an
exit()function so that a slave can leave its group independently of the leader.I used an LLM for help in testing and writing the code.