From e9fc53a10b889c5add90364ded20d0448b88f93a Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 8 Feb 2020 14:57:45 +0100 Subject: player: add ab-loop-count option/property As requested I guess. It behaves quite similar to the --loop* options. Not quite happy with the idea that 1) the option is mutated on each operation (but at least it's consistent with --loop* and doesn't require more properties), and 2) the ab-loop command will do nothing once all loop iterations are done. As a concession, the OSD shows something about "disabled". Fixes: #7360 --- DOCS/man/options.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 1d18638f2a..f8b38d4911 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -346,6 +346,14 @@ Playback Control The loop-points can be adjusted at runtime with the corresponding properties. See also ``ab-loop`` command. +``--ab-loop-count=`` + Run A-B loops only N times, then ignore the A-B loop points (default: inf). + Every finished loop iteration will decrement this option by 1 (unless it is + set to ``inf`` or 0). ``inf`` means that looping goes on forever. If this + option is set to 0, A-B looping is ignored, and even the ``ab-loop`` command + will not enable looping again (the command will show ``(disabled)`` on the + OSD message if both loop points are set, but ``ab-loop-count`` is 0). + ``--ordered-chapters``, ``--no-ordered-chapters`` Enabled by default. Disable support for Matroska ordered chapters. mpv will not load or -- cgit v1.2.3