summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-26 18:43:49 +0200
committerwm4 <wm4@nowhere>2016-05-26 18:44:01 +0200
commitca87e623b5651d5c94274bdede86768a5562dd56 (patch)
tree3ea1081cf126a341f17155329684a5e679894969 /DOCS
parent306c554376f6b06fcd675c8b8609da4e005997ed (diff)
downloadmpv-ca87e623b5651d5c94274bdede86768a5562dd56.tar.bz2
mpv-ca87e623b5651d5c94274bdede86768a5562dd56.tar.xz
command: add playlist-pos-1 property
This has often been requested for use on OSD. I don't really like having such "special" properties, but whatever. Hopefully this will be the only case. Untested because I'm too damn lazy. Fixes #2828.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 095a91bb35..f8eb87b065 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1674,6 +1674,9 @@ Property list
Current position on playlist. The first entry is on position 0. Writing
to the property will restart playback at the written entry.
+``playlist-pos-1`` (RW)
+ Same as ``playlist-pos``, but 1-based.
+
``playlist-count``
Number of total playlist entries.