mirror of https://github.com/artizirk/dotfiles
Arti Zirk
5 years ago
3 changed files with 18 additions and 3 deletions
@ -0,0 +1,8 @@ |
|||||||
|
#!/usr/bin/env python3 |
||||||
|
import dbus, time |
||||||
|
bus = dbus.SystemBus() |
||||||
|
media = dbus.Interface(bus.get_object("org.bluez", "/org/bluez/hci0"), 'org.bluez.Media1') |
||||||
|
path = dbus.ObjectPath('/dummy_player') |
||||||
|
media.RegisterPlayer(path, {}) |
||||||
|
while True: time.sleep(10000) |
||||||
|
|
Loading…
Reference in new issue