Use PlayerType player for sendspin web player
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 17 Feb 2026 18:48:59 +0000 (19:48 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 17 Feb 2026 18:48:59 +0000 (19:48 +0100)
music_assistant/providers/sendspin/player.py

index 91987a35498768a9efc6157aabb5cf781c755c0a..864a931cbfb135b87c92eb233157514274aa83e9 100644 (file)
@@ -230,6 +230,7 @@ class SendspinPlayer(Player):
         )
         self._attr_expose_to_ha_by_default = not self.is_web_player
         self._attr_hidden_by_default = self.is_web_player
+        self._attr_type = PlayerType.PLAYER if self.is_web_player else PlayerType.PROTOCOL
 
     def event_cb(self, client: SendspinClient, event: ClientEvent) -> None:
         """Event callback registered to the sendspin server."""