Notify UI when DLNA player has gone offline to mark it unavailable. (#3251)
authorMarvin Schenkel <marvinschenkel@gmail.com>
Thu, 26 Feb 2026 15:54:41 +0000 (16:54 +0100)
committerGitHub <noreply@github.com>
Thu, 26 Feb 2026 15:54:41 +0000 (16:54 +0100)
music_assistant/providers/dlna/player.py

index 14854a25603fe186a67ed3ab7502e67b0d82611d..8b93a81fcf613de51a1b1c4010f4f3437d0c3f1c 100644 (file)
@@ -525,6 +525,7 @@ class DLNAPlayer(Player):
             self.device = None
             self.set_available(False)
             await old_device.async_unsubscribe_services()
+        self.update_state()
 
     @staticmethod
     def _extract_mac_from_uuid(uuid_value: str) -> str | None: