Commit 271ddec3 authored by Mirsal Ennaime's avatar Mirsal Ennaime

Fix MPRIS method names

parent d12c6644
......@@ -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;
}
......
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment