How do I call the "On Screen Display" plugin from Lua? The code below does not seem to work. Why? I guess because OSD is not categorized as util (it is Utilities) the first parameter of plugin.call is incorrect. Perhaps the second one too. How should I make it work?
local text = "yeah"
local time_ms = 500; local size = 64;
local font = "@Arial Unicode MS";
local r = 255; local g = 0; local b = 0;
local h = "Center"; local v = "Center";
local params = string.format([["%s" "%d" "%d" "%s" "%d" "%d" "%d" "%s" "%s]], text, time_ms, size, font, r, g, b, h, v );
plugin.call("", "On Screen Display", params);