Commit: 853a5293e0811186d962229f03e3430a700833b4
Parent: fa5e141114980e0ac6edd86a0467f74354ee9d53
Author: Ren Tatsumoto
Date: Fri, 24 Sep 2021 17:08:52 +0300
use config manager
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -96,8 +96,8 @@ local profiles = {
local mp = require('mp')
local utils = require('mp.utils')
local msg = require('mp.msg')
-local mpopt = require('mp.options')
local OSD = require('osd_styler')
+local config_manager = require('config')
-- namespaces
local subs
@@ -1554,8 +1554,7 @@ local main = (function()
main_executed = true
end
- config_manager.init()
-
+ config_manager.init(config, profiles)
clip_autocopy.init()
-- Key bindings