per-file video looping

Discuss your Lua playlist, album art and interface scripts.
tony4
New Cone
New Cone
Posts: 2
Joined: 06 Jan 2010 14:06

per-file video looping

Postby tony4 » 06 Jan 2010 14:14

I'm looking into lua to achieve the following:

I have a playlist with various video files, all have the same format. I want to control the looping option on a per-file basis. Here's an example

1. opener (fade in - plays only once, automatically transitions into (2))
2. looped video (shall loop automatically without user intervention)
3. fade out (plays only when the user skips forward)
4. another clip (plays automatically without user intervention)
5. looped clip
... and so on.

I was thinking of parsing either a custom playlist format or the file name to determine whether to set or clear the 'loop once' option on start of a new file.

Is this possible with lua in VLC?

Thanks!
Tony

tony4
New Cone
New Cone
Posts: 2
Joined: 06 Jan 2010 14:06

Re: per-file video looping

Postby tony4 » 14 Jan 2010 13:58

Hey there,

can anyone please fill me in if I can somehow automate setting/clearing the LOOP property of a playlist item?

Thanks a lot in advance!
Tony


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 4 guests