forked from Wobbl/Wobuzz
16 lines
272 B
Python
16 lines
272 B
Python
#!/usr/bin/python3
|
|
|
|
from .utils import *
|
|
|
|
|
|
class MPRISRoot(DBusInterface):
|
|
def get_all(self):
|
|
body = ({
|
|
"CanQuit": ("b", True),
|
|
"CanRaise": ("b", True)
|
|
},)
|
|
|
|
return body
|
|
|
|
def Raise(self, msg):
|
|
print("Raise!")
|