[gnome-music/wip/jfelder/mpris-cleanup: 5/17] mpris: Add PropertiesChanged signal to xml description



commit eeb32c3f419144cb2ac60c0db40a4c2bf447e372
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Mar 15 12:13:22 2019 +0100

    mpris: Add PropertiesChanged signal to xml description

 gnomemusic/mpris.py | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 90ee4122..e9a9fa6c 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -120,6 +120,11 @@ class MPRIS(DBusInterface):
                 <arg name='interface' direction='in' type='s'/>
                 <arg name='properties' direction='out' type='a{sv}'/>
             </method>
+            <signal name='PropertiesChanged'>
+                <arg name='interface_name' type='s' />
+                <arg name='changed_properties' type='a{sv}' />
+                <arg name='invalidated_properties' type='as' />
+            </signal>
         </interface>
         <interface name='org.mpris.MediaPlayer2'>
             <method name='Raise'>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]