Commit 88b35bff authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

D-Bus, The Repeat method should be part of /Player, not /TrackList

Patch by Mirsal ENNAIME, as usual.
parent 1983a7d9
......@@ -667,6 +667,7 @@ DBUS_METHOD( handle_player )
METHOD_FUNC( "Stop", Stop );
METHOD_FUNC( "Play", Play );
METHOD_FUNC( "Pause", Pause );
METHOD_FUNC( "Repeat", Repeat );
METHOD_FUNC( "VolumeSet", VolumeSet );
METHOD_FUNC( "VolumeGet", VolumeGet );
METHOD_FUNC( "PositionSet", PositionSet );
......@@ -691,7 +692,6 @@ DBUS_METHOD( handle_tracklist )
METHOD_FUNC( "AddTrack", AddTrack );
METHOD_FUNC( "DelTrack", DelTrack );
METHOD_FUNC( "Loop", Loop );
METHOD_FUNC( "Repeat", Repeat );
METHOD_FUNC( "Random", Random );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
......
......@@ -127,6 +127,9 @@ const char* psz_introspection_xml_data_player =
" </method>\n"
" <method name=\"Pause\">\n"
" </method>\n"
" <method name=\"Repeat\">\n"
" <arg type=\"b\" direction=\"in\" />\n"
" </method>\n"
" <method name=\"VolumeSet\">\n"
" <arg type=\"i\" direction=\"in\" />\n"
" </method>\n"
......@@ -176,9 +179,6 @@ const char* psz_introspection_xml_data_tracklist =
" <method name=\"Loop\">\n"
" <arg type=\"b\" direction=\"in\" />\n"
" </method>\n"
" <method name=\"Repeat\">\n"
" <arg type=\"b\" direction=\"in\" />\n"
" </method>\n"
" <method name=\"Random\">\n"
" <arg type=\"b\" direction=\"in\" />\n"
" </method>\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