]> git.sesse.net Git - vlc/commitdiff
Fix MPRIS method names
authorMirsal Ennaime <mirsal.ennaime@gmail.com>
Sat, 19 Apr 2008 22:09:56 +0000 (00:09 +0200)
committerMirsal Ennaime <mirsal.ennaime@gmail.com>
Sat, 19 Apr 2008 22:13:06 +0000 (00:13 +0200)
modules/control/dbus.c
modules/control/dbus.h

index 5fafa0b7c156bcec2499c8c1f1b774efe631f8cc..1bfe3a767b3c978e958b5438149d76d5be041a81 100644 (file)
@@ -488,7 +488,7 @@ DBUS_METHOD( DelTrack )
     REPLY_SEND;
 }
 
-DBUS_METHOD( Loop )
+DBUS_METHOD( SetLoop )
 {
     REPLY_INIT;
     OUT_ARGUMENTS;
@@ -551,7 +551,7 @@ DBUS_METHOD( Repeat )
     REPLY_SEND;
 }
 
-DBUS_METHOD( Random )
+DBUS_METHOD( SetRandom )
 {
     REPLY_INIT;
     OUT_ARGUMENTS;
@@ -676,8 +676,8 @@ DBUS_METHOD( handle_tracklist )
     METHOD_FUNC( "GetLength",               GetLength );
     METHOD_FUNC( "AddTrack",                AddTrack );
     METHOD_FUNC( "DelTrack",                DelTrack );
-    METHOD_FUNC( "Loop",                    Loop );
-    METHOD_FUNC( "Random",                  Random );
+    METHOD_FUNC( "SetLoop",                 SetLoop );
+    METHOD_FUNC( "SetRandom",               SetRandom );
 
     return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
 }
index 5956f0d68ed8cac54783014b14d267db1fb9a5f1..7e8864a5aff137dbb3a6ed727d87c9237ba1d64d 100644 (file)
@@ -191,10 +191,10 @@ const char* psz_introspection_xml_data_tracklist =
 "    <method name=\"GetLength\">\n"
 "      <arg type=\"i\" direction=\"out\" />\n"
 "    </method>\n"
-"    <method name=\"Loop\">\n"
+"    <method name=\"SetLoop\">\n"
 "      <arg type=\"b\" direction=\"in\" />\n"
 "    </method>\n"
-"    <method name=\"Random\">\n"
+"    <method name=\"SetRandom\">\n"
 "      <arg type=\"b\" direction=\"in\" />\n"
 "    </method>\n"
 "    <signal name=\"TrackListChange\">\n"