Page 1 of 1
Automatic run script
Posted: 31 Jul 2012 00:30
by jozka.1
Hi everyone,
is possible automatic run lua script after next play track in the playlist?
Thanks and sorry for my english.
Re: Automatic run script
Posted: 02 Aug 2012 16:12
by edwardw
This is theoretically possible but not currently implemented.
Re: Automatic run script
Posted: 03 Aug 2012 12:57
by mederi
You have to start an extension lua script manually. Then the running script could perform some action when starting/finishing to play each/chosen playlist item.
Re: Automatic run script
Posted: 05 Aug 2012 17:10
by jozka.1
Yes, but it must be in cycle(while, for) and must test status. Or did you mean something other?
Re: Automatic run script
Posted: 05 Aug 2012 23:10
by mederi
There are some events listeners with predefined functions available in extension script.
viewtopic.php?f=29&t=98644#p343091
..."input-listener"
function input_changed()
...
end
Re: Automatic run script
Posted: 06 Aug 2012 10:11
by jozka.1
Thanks!
This is what I need!
Why this isn't in readme for lua-vlc?
E: is possible this: "--video-filter=scene --scene-prefix=myimagename --scene-format=jpeg --scene-ratio=25" set in lua?
this doesn't work for me:
Code: Select all
vlc.config.set("video-filter", 'scene' )
vlc.config.set("scene-prefix", 'frame' )
vlc.config.set("scene-format", 'jpeg' )
vlc.config.set("scene-ratio", 25 )