Page 1 of 1

jump around in file and play until ...

Posted: 06 Jun 2018 23:54
by ergodus
today i have build my first lua extention for vlc. I managed to jump around in the file with postition and time, play and pause also works.
The thing i can't find, and im not sure it is possible, is to play the file for like 30 second and then pause again,
or to play to position x and pause again.

imagine the file is a collection of images and video and with a next and prev you jump around in the file.

eventhing within one video, and not as a collection of playlist items.

Anyone ?

Re: jump around in file and play until ...

Posted: 10 Jun 2018 16:02
by mederi
It is not possible to do it within extension script. You could write an interface script containing an endless loop checking input item, playback status and position.
https://forum.videolan.org/viewtopic.ph ... 35#p472667