run linter
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 21 Aug 2024 19:50:06 +0000 (21:50 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 21 Aug 2024 19:50:06 +0000 (21:50 +0200)
music_assistant/server/providers/airplay/__init__.py
music_assistant/server/providers/snapcast/__init__.py

index 4e4032d2627dd1aac65599a03fc98038156ed29c..a45de682341921d78c0713eba8c5405f2ba8ac96 100644 (file)
@@ -697,8 +697,8 @@ class AirplayProvider(PlayerProvider):
                 )
 
             # 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
index f51c2f09cb36c3cb3dedd04c728d6648e6b2b446..954832626b21bf81d06b727fc19757c93dcafcaf 100644 (file)
@@ -447,7 +447,7 @@ class SnapCastProvider(PlayerProvider):
         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: