This commit is contained in:
cheykrym 2026-04-01 04:14:23 +03:00
parent 26e89c23ba
commit 34cb65bb8f

View File

@ -87,6 +87,12 @@ class BluetoothController(MediaSourceController):
"""Получить приоритетный MAC для музыки."""
return self._music_mac
def connect_device(self, mac: str) -> bool:
"""Подключиться к устройству."""
if self._bt_service:
return self._bt_service.connect_device(mac)
return False
@property
def name(self) -> str:
return "Bluetooth"