Skip to content

Commit

Permalink
fix: snapcast player in universal player group (#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoSotoC authored Oct 28, 2024
1 parent 16704be commit f7ee100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_assistant/server/providers/snapcast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f7ee100

Please sign in to comment.