diff options
author | wm4 <wm4@nowhere> | 2013-07-02 13:17:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-02 13:23:26 +0200 |
commit | 451f6788cea2f7a90badcf2fb7e1e3679fa513cb (patch) | |
tree | 3ed3098c30316d5d8c174da64359e4f873d8a0cf /DOCS | |
parent | 0b77649c0b6afb103e0390163bd14f1cf9d20f06 (diff) | |
download | mpv-451f6788cea2f7a90badcf2fb7e1e3679fa513cb.tar.bz2 mpv-451f6788cea2f7a90badcf2fb7e1e3679fa513cb.tar.xz |
command: add some playlist manipulation commands
playlist_remove and playlist_move.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/en/input.rst | 11 |
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_. |