command/playlist: allow range in "playlistmove"

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1689
This commit is contained in:
Max Kellermann
2023-03-06 11:35:14 +01:00
parent f4adbdbe31
commit 04e60d67ae
5 changed files with 45 additions and 14 deletions

View File

@@ -994,8 +994,9 @@ remote playlists (absolute URI with a supported scheme).
.. _command_playlistmove:
:command:`playlistmove {NAME} {FROM} {TO}`
Moves the song at position ``FROM`` in
:command:`playlistmove {NAME} [{FROM} | {START:END}] {TO}`
Moves the song at position ``FROM`` or range of songs
at ``START:END`` [#since_0_24]_ in
the playlist `NAME.m3u` to the
position ``TO``.