queue/playlist/command: move range
The move command now accepts a range for the first argument, in the same form as other range commands, e.g. move 15:17 3. The first song in the range is placed at the destination position. Note that as with other range commands, the range is inclusive on the left only; this example would move only songs 15 and 16, not 17. [mk: fixed signed/unsigned warnings; use G_MAXUINT instead of UINT_MAX]
This commit is contained in:
committed by
Max Kellermann
parent
7684c446c6
commit
13208bf5a7
+7
-3
@@ -634,14 +634,18 @@ OK
|
||||
<term>
|
||||
<cmdsynopsis>
|
||||
<command>move</command>
|
||||
<arg choice="req"><replaceable>FROM</replaceable></arg>
|
||||
<group>
|
||||
<arg choice="req"><replaceable>FROM</replaceable></arg>
|
||||
<arg choice="req"><replaceable>START:END</replaceable></arg>
|
||||
</group>
|
||||
<arg choice="req"><replaceable>TO</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Moves the song at <varname>FROM</varname> to
|
||||
<varname>TO</varname> in the playlist.
|
||||
Moves the song at <varname>FROM</varname> or range of songs
|
||||
at <varname>START:END</varname> to <varname>TO</varname>
|
||||
in the playlist.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user