Saving the A-B repeat loop to the playlist

Discuss your Lua playlist, album art and interface scripts.
modaniel
New Cone
New Cone
Posts: 5
Joined: 02 Dec 2014 16:37

Saving the A-B repeat loop to the playlist

Postby modaniel » 04 Dec 2014 02:23

Hi,
I regularly use the A-B repeat loop feature of VLC. I would like to save it to the playlist so when I open that list, only that specific section of video plays. I see that VLC does not do this by default.
1. Is there a way of enabling this feature?
2. Alternatively, is there an addon that does this?
3. If not, How can i find the correct object in LUA to access the positions that the A-B repeat feature uses?

Please let me know if you have any ideas.

cheers,
Daniel

p.s. I have also posted this under windows troubleshooting.

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: Saving the A-B repeat loop to the playlist

Postby mederi » 04 Dec 2014 15:51

1. Is there a way of enabling this feature?
2. Alternatively, is there an addon that does this?
3. If not, How can i find the correct object in LUA to access the positions that the A-B repeat feature uses?
1. No, it is not implemented.
2. Clipper
3. ?

modaniel
New Cone
New Cone
Posts: 5
Joined: 02 Dec 2014 16:37

Re: Saving the A-B repeat loop to the playlist

Postby modaniel » 04 Dec 2014 16:34

Thank you mederi,
One quick further question. Is there a way of passing the option to videolan via the .m3u to play the playlist in a loop. I know there is startup option for this when using the commandline but I don't know to pass it in the .m3u file.
I tried #EXTVLCOPT:loop=1 based on the option in the file "vlcrc" but that didn't seem to work.
Do you have an idea? Or where I can find a reference for passing options to VLC in this way?

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: Saving the A-B repeat loop to the playlist

Postby mederi » 04 Dec 2014 19:04

I know only following options that can be used with particular playlist items in playlist files:
Playback control:
--input-repeat=<integer [-2147483648 .. 2147483647]>
Input repetitions
Number of time the same input will be repeated
--start-time=<float> Start time
The stream will start at this position (in seconds).
--stop-time=<float> Stop time
The stream will stop at this position (in seconds).
--run-time=<float> Run time
The stream will run this duration (in seconds).

--bookmarks=<string> Bookmarks list for a stream
You can manually give a list of bookmarks for a stream in the form
"{name=bookmark-name,time=optional-time-offset,bytes=optional-byte-off
set},{...}"
Check vlc -H for full list.

You can create a batch script file or vlc shortcut icon that will launch vlc.exe with additional global options and load your playlist file containing items with local options.

Code: Select all

"path to your\vlc.exe" --loop "playlist.m3u"

stream-whisperer
New Cone
New Cone
Posts: 1
Joined: 23 Jan 2024 10:26

Re: Saving the A-B repeat loop to the playlist

Postby stream-whisperer » 23 Jan 2024 10:53

1. Is there a way of enabling this feature?
2. Alternatively, is there an addon that does this?
3. If not, How can i find the correct object in LUA to access the positions that the A-B repeat feature uses?
1. No, it is not implemented.
2. Clipper
3. ?
this was not helpful


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 2 guests