Fix MPRIS method names

This commit is contained in:
Mirsal Ennaime 2008-04-20 00:09:56 +02:00
parent d12c664410
commit 271ddec328
2 changed files with 6 additions and 6 deletions

View 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;
}

View 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"