mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-15 21:51:00 +02:00
9 lines
257 B
Python
Executable File
9 lines
257 B
Python
Executable File
#!/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)
|
|
|