1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-10 08:59:45 +00:00
mpv/DOCS/man
Avi Halachmi (:avih) 3abb23d70f command: don't hardcode commands list to be repeatable
Previously, a list of commands was always considered repeatable.

This behavior was added at 6710527a (and moved around since then),
in order to fix #807 (impossible to make a repeatable list).

The problem was that a list doesn't have the normal repeatability
flags and so it was never repeatable, so it was hardcoded to be
repeatable instead. Presumably it was deemed good enough.

However, this made it impossible to have a non-repeatable list.

This commit changes the behavior so that a list repeatability is
that of the first command at the list.

This way, any list can be made either repeatable or non-repeatable
using the following idiom (e.g. at input.conf), based on the fact
that the "ignore" command is not repeatable by default:

  x            ignore; cmd1...; cmd2...   # non-repeatable
  y repeatable ignore; cmd1...; cmd2...   # repeatable

Fixes #7841
2021-08-17 22:45:39 +03:00
..
af.rst DOCS: convert 3rd party http links to https 2021-08-17 13:42:21 +00:00
ao.rst ao_oss: add this audio output again 2021-03-15 12:42:35 +01:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console: use wl-paste on Wayland 2020-12-14 22:43:34 +00:00
encode.rst manpage: explain deprecated usage of multiple items with *-add 2020-01-07 18:13:12 +01:00
input.rst command: don't hardcode commands list to be repeatable 2021-08-17 22:45:39 +03:00
ipc.rst scripting: make socket FD number for subprocesses dynamic 2020-05-15 16:37:41 +02:00
javascript.rst DOCS: convert 3rd party http links to https 2021-08-17 13:42:21 +00:00
libmpv.rst DOCS: convert mpv.io and github links to https 2021-08-17 13:42:21 +00:00
lua.rst DOCS: convert 3rd party http links to https 2021-08-17 13:42:21 +00:00
mpv.rst DOCS: fix manual compiling warnings 2021-07-28 13:56:27 +03:00
options.rst options: clarify OS support for media keys 2021-08-09 21:14:51 +03:00
osc.rst DOCS: fix typo on seekbarkeyframes 2021-06-24 14:34:33 +00:00
stats.rst DOCS/stats.rst: fix quoting 2021-08-09 23:57:04 +03:00
vf.rst DOCS: convert 3rd party http links to https 2021-08-17 13:42:21 +00:00
vo.rst manpage: rename OS X references to macOS 2021-01-03 12:05:30 -05:00