Bail if original osc is enabled (#1)
This commit is contained in:
5
uosc.lua
5
uosc.lua
@@ -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")
|
||||
|
Reference in New Issue
Block a user