summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-02 13:17:50 +0200
committerwm4 <wm4@nowhere>2013-07-02 13:23:26 +0200
commit451f6788cea2f7a90badcf2fb7e1e3679fa513cb (patch)
tree3ed3098c30316d5d8c174da64359e4f873d8a0cf /DOCS/man/en/input.rst
parent0b77649c0b6afb103e0390163bd14f1cf9d20f06 (diff)
downloadmpv-451f6788cea2f7a90badcf2fb7e1e3679fa513cb.tar.bz2
mpv-451f6788cea2f7a90badcf2fb7e1e3679fa513cb.tar.xz
command: add some playlist manipulation commands
playlist_remove and playlist_move.
Diffstat (limited to 'DOCS/man/en/input.rst')
-rw-r--r--DOCS/man/en/input.rst11
1 files changed, 11 insertions, 0 deletions
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 "<playlist>" [replace|append]
playlist_clear
Clear the playlist, except the currently played file.
+playlist_remove <index>
+ 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 <index1> <index2>
+ 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 "<command>"
Run the given command with ``/bin/sh -c``. The string is expanded like in
property_expansion_.