From 27c38eac1040cd781f39d977ce53adcd65ddcfb6 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Fri, 18 Feb 2022 14:39:25 -0600 Subject: options: add always to stop-screensaver The stop-screensaver option is currently limited to a simple yes/no option. While the no option does always disable mpv trying to stop the screensaver, yes does not mean the screensaver is always stopped. The screensaver will be enabled again depending on certain conditions (like if the player is paused). Simply introduce a new value for this option, always, which does exactly what the name implies: the screensaver will always be disabled. --- DOCS/man/options.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 35f2b8862c..12496faca4 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -3255,10 +3255,12 @@ Window 1). A value of 1 means square pixels (correct for (almost?) all LCDs). See also ``--monitoraspect`` and ``--video-aspect-override``. -``--stop-screensaver``, ``--no-stop-screensaver`` +``--stop-screensaver=`` Turns off the screensaver (or screen blanker and similar mechanisms) at - startup and turns it on again on exit (default: yes). The screensaver is - always re-enabled when the player is paused. + startup and turns it on again on exit (default: yes). When using ``yes``, + the screensaver will re-enable when playback is not active. ``always`` will + always disable the screensaver. Note that stopping the screensaver is only + possible if a video output is available (i.e. there is an open mpv window). This is not supported on all video outputs or platforms. Sometimes it is implemented, but does not work (especially with Linux "desktops"). Read the -- cgit v1.2.3