mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-12-22 11:30:15 +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)
|
|
|