diff --git a/mopidy/mpd/frontend.py b/mopidy/mpd/frontend.py index 39bd1eeb..2d1a8bdf 100644 --- a/mopidy/mpd/frontend.py +++ b/mopidy/mpd/frontend.py @@ -1575,8 +1575,8 @@ class MpdFrontend(object): raise MpdNotImplemented # TODO @handle_pattern(r'^playlistmove "(?P[^"]+)" ' - r'"(?P\d+)" "(?P\d+)"$') - def _stored_playlist_playlistmove(self, name, songid, songpos): + r'"(?P\d+)" "(?P\d+)"$') + def _stored_playlist_playlistmove(self, name, from_pos, to_pos): """ *musicpd.org, stored playlists section:* @@ -1584,6 +1584,12 @@ class MpdFrontend(object): Moves ``SONGID`` in the playlist ``NAME.m3u`` to the position ``SONGPOS``. + + *Clarifications:* + + - The second argument is not a ``SONGID`` as used elsewhere in the + protocol documentation, but just the ``SONGPOS`` to move *from*, + i.e. ``playlistmove {NAME} {FROM_SONGPOS} {TO_SONGPOS}``. """ raise MpdNotImplemented # TODO