Snapcast: Fix call _can_sync_with (#1496)
authorSantiago Soto <santiago@soto.uy>
Sun, 14 Jul 2024 12:53:32 +0000 (09:53 -0300)
committerGitHub <noreply@github.com>
Sun, 14 Jul 2024 12:53:32 +0000 (14:53 +0200)
music_assistant/server/providers/snapcast/__init__.py

index 13a65f031b185d4a76cf72cd9edf99a7309331d9..40b431f99d5a27892c6f4f14f03f2e26c9fc49e2 100644 (file)
@@ -381,7 +381,7 @@ class SnapCastProvider(PlayerProvider):
                     player.active_source = stream.name
             else:
                 player.active_source = player_id
-        self._can_sync_with(snap_client)
+        self._can_sync_with(player_id)
         self._group_childs(player_id)
         self.mass.players.update(player_id)