From: Santiago Soto Date: Wed, 2 Apr 2025 22:22:46 +0000 (-0300) Subject: add missing await X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=3c8c435a867022e3a6f1b415df17b7523c2e7834;p=music-assistant-server.git add missing await --- diff --git a/music_assistant/providers/snapcast/__init__.py b/music_assistant/providers/snapcast/__init__.py index bc374f83..491d37ae 100644 --- a/music_assistant/providers/snapcast/__init__.py +++ b/music_assistant/providers/snapcast/__init__.py @@ -446,7 +446,7 @@ class SnapCastProvider(PlayerProvider): async def remove_player(self, player_id: str) -> None: """Remove the client from the snapserver when it is deleted.""" - self._snapserver.delete_client(self._get_snapclient_id(player_id)) + await self._snapserver.delete_client(self._get_snapclient_id(player_id)) async def cmd_volume_set(self, player_id: str, volume_level: int) -> None: """Send VOLUME_SET command to given player."""