Edit existing link groups: add or remove channels, dissolve below two

A channel added in front of the group first gets the group's settings, so the
DSP (which copies from the first channel) keeps them. The group name moves along.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-02 00:13:34 +01:00
1 parent 4b33fc2665
commit 0a1f282c63
5 files changed
+90 -19

No files matched your search

+1
View File
@@ -861,6 +861,7 @@ class App:
if action == "link":
kind = "in" if body.get("kind") == "in" else "out"
groups = [[int(i) for i in g] for g in body.get("groups") or [] if isinstance(g, list)]
await dev.flush() # e.g. settings copied to a new first channel of a group must arrive before the link
await dev.set_links(kind, groups)
return {"ok": True}
if action == "refresh":