)
# Python is not suitable for realtime audio streaming so we do the actual streaming
- # of (RAOP) audio using a small executable written in C based on libraop to do the actual
- # timestamped playback, which reads pcm audio from stdin
+ # of (RAOP) audio using a small executable written in C based on libraop to do
+ # the actual timestamped playback, which reads pcm audio from stdin
# and we can send some interactive commands using a named pipe.
# setup RaopStream for player and its sync childs
await self._get_snapgroup(player_id).set_stream("default")
await self.cmd_stop(player_id=player_id)
- async def play_media(self, player_id: str, media: PlayerMedia) -> None:
+ async def play_media(self, player_id: str, media: PlayerMedia) -> None: # noqa: PLR0915
"""Handle PLAY MEDIA on given player."""
player = self.mass.players.get(player_id)
if player.synced_to: