From: Maxim Raznatovski Date: Sat, 1 Feb 2025 16:39:15 +0000 (+0100) Subject: fix: correctly refresh streamdetails in group/ungroup scenarios (#1929) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=2170bf36d60e5a3a608bbe3e8306420d6263deee;p=music-assistant-server.git fix: correctly refresh streamdetails in group/ungroup scenarios (#1929) This fixes a bug, where change detection wasn't working when the output format is not known. This is for example the case with any grouped child of a player provider that does not support multi device dsp. --- diff --git a/music_assistant/controllers/player_queues.py b/music_assistant/controllers/player_queues.py index 70dc2d87..4e9c5ede 100644 --- a/music_assistant/controllers/player_queues.py +++ b/music_assistant/controllers/player_queues.py @@ -980,6 +980,8 @@ class PlayerQueuesController(CoreController): for child_id in player.group_childs: if (child := self.mass.players.get(child_id)) and child.output_format: output_formats.append(child.output_format.output_format_str) + else: + output_formats.append("unknown") # basic throttle: do not send state changed events if queue did not actually change new_state = CompareState(