VLC lua script to jump 1 second at the beginning of every video
Posted: 25 Sep 2017 10:07
Hi all,
I have a script the should jump 1 second at the beginning of every video.
The video should be played only from the second second on.
I have made a lua script, but it does not work yet:
skipper.lua placed in /home/USER/.local/share/vlc/lua/extensions
The lua script / extension shows under
Tools > Plugins and extensions > Addon Manager --> skipper.lua (installed)
But the lua script / extension does not show under
Tools > Plugins and extensions > Active Extensions
Can anybody please help? Thanks.
I have a script the should jump 1 second at the beginning of every video.
The video should be played only from the second second on.
I have made a lua script, but it does not work yet:
skipper.lua placed in /home/USER/.local/share/vlc/lua/extensions
Code: Select all
require 'common'
local input = vlc.object.input()
if input then
if skip() then
common.seek(2) -- seeks to 2s
-- common.seek("50%") -- seeks to middle of video
end
end
Tools > Plugins and extensions > Addon Manager --> skipper.lua (installed)
But the lua script / extension does not show under
Tools > Plugins and extensions > Active Extensions
Can anybody please help? Thanks.