summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2022-05-24 18:16:28 -0500
committerDudemanguy <random342@airmail.cc>2022-06-04 14:48:32 +0000
commitec236f7a99754adb95fada8195f25c03c2218545 (patch)
tree40cc2e999b1e2b9df39c5a9781942716436afc33 /DOCS
parent5c4b0c2afd4b1482d51965ad680c4676116b4bf2 (diff)
downloadmpv-ec236f7a99754adb95fada8195f25c03c2218545.tar.bz2
mpv-ec236f7a99754adb95fada8195f25c03c2218545.tar.xz
osc.lua: add idlescreen and osc-idlescreen
This is mainly for other user scripts that may conflict with the osc logo in some way. Although it is possible to listen for shared-script-properties, this has many edge cases that could easily pop up. A user could want other OSC things to happen at the same time (say osc-message). They just don't want the logo. The idlescreen option disables all idlescreen related things (including the santa hat) if it is set to "no". A new script message (osc-idlescreen) is also added so users can easily toggle the value (passing "cycle" or just explictly setting "yes" or "no"). Some more discussion on this is found in the below github issues. https://github.com/mpv-player/mpv/issues/10201 https://github.com/CogentRedTester/mpv-file-browser/issues/55
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/osc.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/DOCS/man/osc.rst b/DOCS/man/osc.rst
index c375c3075d..6529990668 100644
--- a/DOCS/man/osc.rst
+++ b/DOCS/man/osc.rst
@@ -236,6 +236,11 @@ Configurable Options
Enable the OSC when fullscreen
+``showidlescreen``
+ Default: yes
+
+ Show the mpv logo and message when idle
+
``scalewindowed``
Default: 1.0
@@ -418,6 +423,10 @@ to set auto mode (the default) with ``b``::
a script-message osc-visibility never
b script-message osc-visibility auto
+``osc-idlescreen``
+ Controls the visibility of the mpv logo on idle. Valid arguments are ``yes``,
+ ``no``, and ``cycle`` to toggle between yes and no.
+
``osc-playlist``, ``osc-chapterlist``, ``osc-tracklist``
Shows a limited view of the respective type of list using the OSC. First
argument is duration in seconds.