jump around in file and play until ...

Discuss your Lua playlist, album art and interface scripts.
ergodus
New Cone
New Cone
Posts: 1
Joined: 06 Jun 2018 23:34

jump around in file and play until ...

Postby ergodus » 06 Jun 2018 23:54

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 ?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

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

Postby mederi » 10 Jun 2018 16:02

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


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 15 guests