Page 1 of 1

Trigger lua with vlc commands?

Posted: 02 May 2016 13:41
by Angrod90
I don't know if this is possible, but I have an application with Python using the vlc bindings, it works fine...ish. Whenever I use the python set_time(ms) command, VLC transalate it in set_time(s) and sometimes there are a few frames lost. I downloaded the Jump to time extension an it works wonderfully when I change the miliseconds, so is there a way for lua to catch my set_time(ms) order from python and use the

function click_Set_time()
local input=vlc.object.input()
if input then vlc.var.set(input,"time",String2time(textinput_time:get_text())) end
end

from lua?
I've been reading for a while and if it's posible I don't know how to do it, so any help would be appreciated.
If there is no solution I'll guess I'll have to trash my work and redo it using mplayer which has ms precision...

Thanks!

Re: Trigger lua with vlc commands?

Posted: 17 May 2016 13:47
by mederi
Perhaps you will find a way if you check available interface scripts.