From ec236f7a99754adb95fada8195f25c03c2218545 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Tue, 24 May 2022 18:16:28 -0500 Subject: 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 --- DOCS/man/osc.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'DOCS') 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. -- cgit v1.2.3