update
This commit is contained in:
parent
26e89c23ba
commit
34cb65bb8f
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user