summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-28 19:13:48 +0100
committerwm4 <wm4@nowhere>2013-11-28 19:13:48 +0100
commit0a18f3eb9a163b1cd656129dac6164d7914ecc41 (patch)
tree351b5a74c9a4885e8adc493a81451aa91c018510 /DOCS
parent5318a1bea1e477033cd355e19be366f0504222e9 (diff)
downloadmpv-0a18f3eb9a163b1cd656129dac6164d7914ecc41.tar.bz2
mpv-0a18f3eb9a163b1cd656129dac6164d7914ecc41.tar.xz
command: allow "current" as argument to playlist_remove command
Feature request from github issue #376.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/input.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst
index 53336344af..917584428f 100644
--- a/DOCS/man/en/input.rst
+++ b/DOCS/man/en/input.rst
@@ -185,9 +185,11 @@ List of Input Commands
``playlist_clear``
Clear the playlist, except the currently played file.
-``playlist_remove <index>``
+``playlist_remove current|<index>``
Remove the playlist entry at the given index. Index values start counting
- with 0. You cannot remove the entry for the currently played file.
+ with 0. The special value ``current`` removes the current entry. Note that
+ removing the current entry also stops playback and starts playing the next
+ entry.
``playlist_move <index1> <index2>``
Move the playlist entry at index1, so that it takes the place of the