summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-22 22:56:00 +0200
committerwm4 <wm4@nowhere>2014-09-22 22:56:00 +0200
commit9fe076f02a67a87a79856e9583fc76aeb211c330 (patch)
tree80e9d226bbd700f26bb829fa35b7147b239948e7 /DOCS/man
parent9ce45261399e2ee99f468c5016b378fd5360ae12 (diff)
downloadmpv-9fe076f02a67a87a79856e9583fc76aeb211c330.tar.bz2
mpv-9fe076f02a67a87a79856e9583fc76aeb211c330.tar.xz
player: allow passing number of loops to --loop-file
E.g. --loop-file=2 will play the file 3 times (one time normally, and 2 repeats). Minor syntax issue: "--loop-file 5" won't work, you have to use "--loop-file=5". This is because "--loop-file" still has to work for compatibility, so the "old" syntax with a space between option name and value can't work.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/options.rst14
1 files changed, 9 insertions, 5 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index c6df057834..33431a03e7 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -205,11 +205,15 @@ Playback Control
Note that ``--playlist`` always loads all entries, so you use that instead
if you really have the need for this functionality.
-``--loop-file``
- Loop a single file. The difference to ``--loop=inf`` is that this doesn't
- loop the playlist, just the file itself. If the playlist contains only a
- single file, the difference between the two option is that this option
- performs a seek on loop, instead of reloading the file.
+``--loop-file=<N|inf|no>``
+ Loop a single file N times. ``inf`` means forever, ``no`` means normal
+ playback. For compatibility, ``--loop-file`` and ``--loop-file=yes`` are
+ also accepted, and are the same as ``--loop-file=inf``.
+
+ The difference to ``--loop`` is that this doesn't loop the playlist, just
+ the file itself. If the playlist contains only a single file, the difference
+ between the two option is that this option performs a seek on loop, instead
+ of reloading the file.
``--ordered-chapters``, ``--no-ordered-chapters``
Enabled by default.