Skip to content

Commit

Permalink
Fix: Only PlayerGroups of supported players should enable MULTI_DEVIC…
Browse files Browse the repository at this point in the history
…E_DSP (music-assistant#1864)

Fix: Only PlayerGroups of supported players enable MULTI_DEVICE_DSP
  • Loading branch information
maximmaxim345 authored Jan 13, 2025
1 parent 8b3a13d commit d3f1d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_assistant/providers/player_group/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,6 @@ async def _register_group_player(
player_features = {
PlayerFeature.POWER,
PlayerFeature.VOLUME_SET,
PlayerFeature.MULTI_DEVICE_DSP,
}

if not (self.mass.players.get(x) for x in members):
Expand All @@ -685,6 +684,7 @@ async def _register_group_player(
for x in self.mass.players.providers
if x.instance_id != self.instance_id
}
player_features.add(PlayerFeature.MULTI_DEVICE_DSP)
elif player_provider := self.mass.get_provider(group_type):
# grab additional details from one of the provider's players
if TYPE_CHECKING:
Expand Down

0 comments on commit d3f1d2c

Please sign in to comment.