Last element of playlist loop

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
crimson69666
New Cone
New Cone
Posts: 2
Joined: 26 May 2008 22:55

Last element of playlist loop

Postby crimson69666 » 26 May 2008 23:00

Hi!

I'm trying to find a way of looping the last element of a playlist. I tried about everything without any luck.

Is there a way to achieve that?

Eample:
======
media1.mpg <=== Play 1 time
media2.mpg <=== Play 1 time
media3.mpg <=== Loop the last

I tried with XPSF <loop> media3.mpg </loop> but VLC simply stop to play when it reaches this part.

Thanks!

Crimson69666

crimson69666
New Cone
New Cone
Posts: 2
Joined: 26 May 2008 22:55

Re: Last element of playlist loop

Postby crimson69666 » 27 May 2008 04:30

Correction: i tried XSPF playlist (sorry for typo).

Googling around, i saw some people asking last year to add <loop> </loop> to XSPF. I would be
so cool if VLC would be able to correctly interpret this ! Have the "loop" command acting
globally won't cut it for us.

The idea is to play the content of a playlist and loop on the last item listed inside the playlist.

At the right time, we'd connect remotely by telnet and launch another playlist with the same idea: the
last element of the playlist would be played in loop.

We already have the Windows PC auto-logging and the shell is now VLC (instead of Windows Explorer) so
change of video files are smooth instead of window blinks when using the explorer shell.

metafaniel
New Cone
New Cone
Posts: 2
Joined: 22 Nov 2011 21:03

Re: Last element of playlist loop

Postby metafaniel » 01 Mar 2012 20:22

This question was made several years ago...
Almost 4 years later I repeat the same question: Is it possible to loop a single track in the XSPF playlist??
In therms of a pause we can do it in a xspf playlist as follows:

Code: Select all

<track> <location>vlc://pause:10</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>1</vlc:id> </extension> </track>
Simple! Powerful!
Is there something similar to loop a track???
With CLI VLC it is possible to loop a given number of times:

Code: Select all

cvlc Example.mp4 :input-repeat=3
So I think it can be done using a XSPF playlist.

Please someone enlight me with wisdom and knowledge to accomplish this task!

Thanks in advance.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Last element of playlist loop

Postby VLC_help » 02 Mar 2012 19:33

.bat playlist might work in theory with :repeat before the last item, but I ain't sure.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 61 guests