From 702bea8e51a84f0925b709be003d18dfc25510f3 Mon Sep 17 00:00:00 2001 From: tomasklaen Date: Fri, 23 Sep 2022 17:49:04 +0200 Subject: [PATCH] fix: initialization of required props causing osd messages --- scripts/uosc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/uosc.lua b/scripts/uosc.lua index 454a292..cbeee98 100644 --- a/scripts/uosc.lua +++ b/scripts/uosc.lua @@ -247,7 +247,7 @@ options.background = serialize_rgba(options.background).color options.background_text = serialize_rgba(options.background_text).color if options.chapter_ranges:sub(1, 4) == '^op|' then options.chapter_ranges = defaults.chapter_ranges end -- Ensure required environment configuration -if options.autoload then mp.command('set keep-open-pause no') end +if options.autoload then mp.command('no-osd set keep-open-pause no') end --[[ CONFIG ]]