mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed error in MPRIS property setter
This commit is contained in:
parent
73c7e911be
commit
0f68dbf0eb
@ -625,7 +625,7 @@ class MPRISInterface(dbus.service.Object): #TODO
|
||||
def Set(self, interface, prop, value):
|
||||
getter, setter = self.__prop_mapping[interface][prop]
|
||||
if setter is not None:
|
||||
setter(value)
|
||||
setter(self, value)
|
||||
|
||||
@dbus.service.method(__prop_interface, in_signature="s", out_signature="a{sv}")
|
||||
def GetAll(self, interface):
|
||||
|
Loading…
Reference in New Issue
Block a user