mirror of
https://github.com/artizirk/dotfiles.git
synced 2025-12-19 00:05:17 +02:00
Switch to tvolnoti
This commit is contained in:
8
.bin/fakebluezplayer.py
Executable file
8
.bin/fakebluezplayer.py
Executable file
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user