summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en/options.rst
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/man/en/options.rst')
-rw-r--r--DOCS/man/en/options.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index d64cbe8f80..cc55c3a40e 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -786,7 +786,8 @@
--heartbeat-cmd
Command that is executed every 30 seconds during playback via *system()* -
- i.e. using the shell.
+ i.e. using the shell. The time between the commands can be customized with
+ the ``--heartbeat-interval`` option.
*NOTE*: mpv uses this command without any checking. It is your
responsibility to ensure it does not cause security problems (e.g. make
@@ -805,6 +806,9 @@
*EXAMPLE for GNOME screensaver*: ``mpv
--heartbeat-cmd="gnome-screensaver-command -p" file``
+--heartbeat-interval=<sec>
+ Time between ``--heartbeat-cmd`` invocations in seconds (default: 30).
+
--help
Show short summary of options.