From 0a18f3eb9a163b1cd656129dac6164d7914ecc41 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 28 Nov 2013 19:13:48 +0100 Subject: command: allow "current" as argument to playlist_remove command Feature request from github issue #376. --- DOCS/man/en/input.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'DOCS/man') 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 `` +``playlist_remove current|`` 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 `` Move the playlist entry at index1, so that it takes the place of the -- cgit v1.2.3