From f7ee1007d79ab681c014e540da69d91e6457f4f1 Mon Sep 17 00:00:00 2001 From: Santiago Soto Date: Mon, 28 Oct 2024 03:58:02 -0300 Subject: [PATCH] fix: snapcast player in universal player group (#1756) --- music_assistant/server/providers/snapcast/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/server/providers/snapcast/__init__.py b/music_assistant/server/providers/snapcast/__init__.py index ec9ea26d8..b0cf60a6f 100644 --- a/music_assistant/server/providers/snapcast/__init__.py +++ b/music_assistant/server/providers/snapcast/__init__.py @@ -507,7 +507,7 @@ async def play_media(self, player_id: str, media: PlayerMedia) -> None: ) elif media.queue_id.startswith("ugp_"): # special case: UGP stream - ugp_provider: PlayerGroupProvider = self.mass.get_provider("ugp") + ugp_provider: PlayerGroupProvider = self.mass.get_provider("player_group") ugp_stream = ugp_provider.ugp_streams[media.queue_id] input_format = ugp_stream.output_format audio_source = ugp_stream.subscribe()