music-assistant-server

Branch:dev-lidarr-plugin

Commit Details

Fix sync group toggle (#3142)

* Fix dynamic sync group toggle having no effect on member checkboxes

PR #3118 made _attr_static_group_members unconditionally populated for
both dynamic and static groups. Since the frontend uses
static_group_members to determine which players are non-removable
(greyed out, no checkbox), this caused all members to appear locked
regardless of the dynamic toggle setting.

Restore the conditional assignment: dynamic groups get an empty
static_group_members list (all members removable), static groups get
the configured members list (all members locked). Fix the power-off
reset to read configured members directly from config instead of
_attr_static_group_members, so dynamic groups preserve their member
list on power-off without needing them marked as static.

https://claude.ai/code/session_01VVeBMzkvqTrutpg53aMtBY

* Remove added comments

https://claude.ai/code/session_01VVeBMzkvqTrutpg53aMtBY

---------

Co-authored-by: Claude <[email protected]>
Forgejo

Author

February 12, 2026 at 07:24 AM UTC

Committer

February 12, 2026 at 07:24 AM UTC
4additions
5deletions
1file changed

Parent commits

Changes

1 file
+4-5

Changed Files (1)

music_assistant/controllers/players/
music_assistant/controllers/players/sync_groups.py
+4-5