From df37ca748ec0ceab8149da909e201ee308bbeea7 Mon Sep 17 00:00:00 2001 From: tomasklaen Date: Fri, 23 Sep 2022 18:22:25 +0200 Subject: [PATCH] refactor: use `commandv` instead of `command` --- scripts/uosc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/uosc.lua b/scripts/uosc.lua index cbeee98..e1abf24 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('no-osd set keep-open-pause no') end +if options.autoload then mp.commandv('set', 'keep-open-pause', 'no') end --[[ CONFIG ]]