projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652e30c
)
Marcel's recommendation, remove the task
author
Santiago Soto
<santiago@soto.uy>
Wed, 2 Apr 2025 22:12:47 +0000
(19:12 -0300)
committer
Santiago Soto
<santiago@soto.uy>
Wed, 2 Apr 2025 22:12:47 +0000
(19:12 -0300)
music_assistant/providers/snapcast/__init__.py
patch
|
blob
|
history
diff --git
a/music_assistant/providers/snapcast/__init__.py
b/music_assistant/providers/snapcast/__init__.py
index 8ffda1f5ae123bf77e241e728e53cb72d3068219..bc374f83521ef18debab3eebad79fe824df25d16 100644
(file)
--- 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.
mass.create_task(self._snapserver.delete_client(self._get_snapclient_id(player_id)
))
+ 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."""