Please, Jean-Baptiste, could you reveal the secret of this? Just some brief example, please.But you can attach to events and variable callbacks.
Code: Select all
function descriptor()
return {
...
capabilities = { "input-listener", "meta-listener", "playing-listener" }
}
end
function playing_changed(stat)
vlc.osd.message("Status:" .. tostring(stat))
end
Return to “Scripting VLC in lua”
Users browsing this forum: No registered users and 10 guests