mirror of https://github.com/artizirk/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
257 B
9 lines
257 B
5 years ago
|
#!/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)
|
||
|
|