From 451f6788cea2f7a90badcf2fb7e1e3679fa513cb Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 2 Jul 2013 13:17:50 +0200 Subject: command: add some playlist manipulation commands playlist_remove and playlist_move. --- DOCS/man/en/input.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS/man/en/input.rst') diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index d57d686184..e7c53b2d3b 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -164,6 +164,17 @@ loadlist "" [replace|append] playlist_clear Clear the playlist, except the currently played file. +playlist_remove + Remove the playlist entry at the given index. Index values start counting + with 0. You can't remove the entry for the currently played file. + +playlist_move + Move the playlist entry at index1, so that it takes the place of the + entry index2. (Paradoxically, the moved playlist entry will not have + the index value index2 after moving if index1 was lower than index2, + because index2 refers to the target entry, not the index the entry + will have after moving.) + run "" Run the given command with ``/bin/sh -c``. The string is expanded like in property_expansion_. -- cgit v1.2.3