Bail if original osc is enabled (#1)

This commit is contained in:
Jon Knapp
2020-03-03 02:23:48 -08:00
committed by GitHub
parent a1d3b7e000
commit 7bd63b3dc0

View File

@@ -38,6 +38,11 @@ Key script-binding uosc/toggleprogressbar
]]
if mp.get_property('osc') == 'yes' then
mp.msg.info("Disabled because original osc is enabled!")
return
end
local assdraw = require 'mp.assdraw'
local opt = require 'mp.options'
local osd = mp.create_osd_overlay("ass-events")