Loop a single track/element in a XSPF playlist using VLC

Multi tool use
up vote
3
down vote
favorite
I've googled a lot, but I haven't found a solution yet.
Is it possible to loop a single track in the XSPF playlist?
In terms of a pause, we can do it in a xspf playlist as follows:
<track>
<location>vlc://pause:10</location>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
</extension>
</track>
Is there anything similar to loop a track?
With CLI VLC it is possible to loop a given number of times:
cvlc Example.mp4 :input-repeat=3
So I think it can be done using a XSPF playlist.
Please someone enlighten me with wisdom and knowledge to accomplish this task.
vlc-media-player
add a comment |
up vote
3
down vote
favorite
I've googled a lot, but I haven't found a solution yet.
Is it possible to loop a single track in the XSPF playlist?
In terms of a pause, we can do it in a xspf playlist as follows:
<track>
<location>vlc://pause:10</location>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
</extension>
</track>
Is there anything similar to loop a track?
With CLI VLC it is possible to loop a given number of times:
cvlc Example.mp4 :input-repeat=3
So I think it can be done using a XSPF playlist.
Please someone enlighten me with wisdom and knowledge to accomplish this task.
vlc-media-player
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I've googled a lot, but I haven't found a solution yet.
Is it possible to loop a single track in the XSPF playlist?
In terms of a pause, we can do it in a xspf playlist as follows:
<track>
<location>vlc://pause:10</location>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
</extension>
</track>
Is there anything similar to loop a track?
With CLI VLC it is possible to loop a given number of times:
cvlc Example.mp4 :input-repeat=3
So I think it can be done using a XSPF playlist.
Please someone enlighten me with wisdom and knowledge to accomplish this task.
vlc-media-player
I've googled a lot, but I haven't found a solution yet.
Is it possible to loop a single track in the XSPF playlist?
In terms of a pause, we can do it in a xspf playlist as follows:
<track>
<location>vlc://pause:10</location>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
</extension>
</track>
Is there anything similar to loop a track?
With CLI VLC it is possible to loop a given number of times:
cvlc Example.mp4 :input-repeat=3
So I think it can be done using a XSPF playlist.
Please someone enlighten me with wisdom and knowledge to accomplish this task.
vlc-media-player
vlc-media-player
edited Apr 2 '14 at 15:02


Der Hochstapler
67.1k48230283
67.1k48230283
asked Mar 1 '12 at 20:16
Metafaniel
162111
162111
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
3
down vote
accepted
And the trick is
for infinit loop:
<vlc:option>input-repeat=-1</vlc:option>
To repeat 3x
<vlc:option>input-repeat=3</vlc:option>
just like the command line...
3
Many months later, the answer has finally arrived =D THANKS!!!! Just one clarification:input-repeat=3
will repeat the track FOUR times, not three. So to repeat a track three times we use2
. Thanks for your help =D =)
– Metafaniel
Jul 24 '13 at 19:01
So, for the 2018 year you cannot add the negative value of"input-repeat"
to the XSPF playlist. Your string must look like<vlc:option>input-repeat=65545</vlc:option>
References to the issue - github.com/ZeBobo5/Vlc.DotNet/issues/96
– Mark Fieldman
Nov 30 at 21:27
add a comment |
up vote
0
down vote
Wiki lists this as a way to set an option (within the extension
data element): <vlc:option>stop-time=55</vlc:option>
.
Some VLC playlist options:
--random plays files randomly forever.
--loop loops playlist on end.
--repeat repeats current item until another item is forced
--play-and-stop stops the playlist after each played item.
So maybe try adding: <vlc:option>repeat</vlc:option>
Mmm... Sadly no, it won't repeat that way =/ But your answer seems useful, thanks! I'll read more, maybe I'll get something! Let's wait another answer in hopes someone else knows the exact way to do this =) Thanks ;)
– Metafaniel
Mar 1 '12 at 21:44
I've read but the specification says those options you mention are for playlists indeed but they're not applied as vlc:options likestop-time=55
Those are for tracks. But the playlist ones are only used in a command line code =
– Metafaniel
Mar 2 '12 at 15:09
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
And the trick is
for infinit loop:
<vlc:option>input-repeat=-1</vlc:option>
To repeat 3x
<vlc:option>input-repeat=3</vlc:option>
just like the command line...
3
Many months later, the answer has finally arrived =D THANKS!!!! Just one clarification:input-repeat=3
will repeat the track FOUR times, not three. So to repeat a track three times we use2
. Thanks for your help =D =)
– Metafaniel
Jul 24 '13 at 19:01
So, for the 2018 year you cannot add the negative value of"input-repeat"
to the XSPF playlist. Your string must look like<vlc:option>input-repeat=65545</vlc:option>
References to the issue - github.com/ZeBobo5/Vlc.DotNet/issues/96
– Mark Fieldman
Nov 30 at 21:27
add a comment |
up vote
3
down vote
accepted
And the trick is
for infinit loop:
<vlc:option>input-repeat=-1</vlc:option>
To repeat 3x
<vlc:option>input-repeat=3</vlc:option>
just like the command line...
3
Many months later, the answer has finally arrived =D THANKS!!!! Just one clarification:input-repeat=3
will repeat the track FOUR times, not three. So to repeat a track three times we use2
. Thanks for your help =D =)
– Metafaniel
Jul 24 '13 at 19:01
So, for the 2018 year you cannot add the negative value of"input-repeat"
to the XSPF playlist. Your string must look like<vlc:option>input-repeat=65545</vlc:option>
References to the issue - github.com/ZeBobo5/Vlc.DotNet/issues/96
– Mark Fieldman
Nov 30 at 21:27
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
And the trick is
for infinit loop:
<vlc:option>input-repeat=-1</vlc:option>
To repeat 3x
<vlc:option>input-repeat=3</vlc:option>
just like the command line...
And the trick is
for infinit loop:
<vlc:option>input-repeat=-1</vlc:option>
To repeat 3x
<vlc:option>input-repeat=3</vlc:option>
just like the command line...
answered Jul 24 '13 at 18:24
algol
462
462
3
Many months later, the answer has finally arrived =D THANKS!!!! Just one clarification:input-repeat=3
will repeat the track FOUR times, not three. So to repeat a track three times we use2
. Thanks for your help =D =)
– Metafaniel
Jul 24 '13 at 19:01
So, for the 2018 year you cannot add the negative value of"input-repeat"
to the XSPF playlist. Your string must look like<vlc:option>input-repeat=65545</vlc:option>
References to the issue - github.com/ZeBobo5/Vlc.DotNet/issues/96
– Mark Fieldman
Nov 30 at 21:27
add a comment |
3
Many months later, the answer has finally arrived =D THANKS!!!! Just one clarification:input-repeat=3
will repeat the track FOUR times, not three. So to repeat a track three times we use2
. Thanks for your help =D =)
– Metafaniel
Jul 24 '13 at 19:01
So, for the 2018 year you cannot add the negative value of"input-repeat"
to the XSPF playlist. Your string must look like<vlc:option>input-repeat=65545</vlc:option>
References to the issue - github.com/ZeBobo5/Vlc.DotNet/issues/96
– Mark Fieldman
Nov 30 at 21:27
3
3
Many months later, the answer has finally arrived =D THANKS!!!! Just one clarification:
input-repeat=3
will repeat the track FOUR times, not three. So to repeat a track three times we use 2
. Thanks for your help =D =)– Metafaniel
Jul 24 '13 at 19:01
Many months later, the answer has finally arrived =D THANKS!!!! Just one clarification:
input-repeat=3
will repeat the track FOUR times, not three. So to repeat a track three times we use 2
. Thanks for your help =D =)– Metafaniel
Jul 24 '13 at 19:01
So, for the 2018 year you cannot add the negative value of
"input-repeat"
to the XSPF playlist. Your string must look like <vlc:option>input-repeat=65545</vlc:option>
References to the issue - github.com/ZeBobo5/Vlc.DotNet/issues/96– Mark Fieldman
Nov 30 at 21:27
So, for the 2018 year you cannot add the negative value of
"input-repeat"
to the XSPF playlist. Your string must look like <vlc:option>input-repeat=65545</vlc:option>
References to the issue - github.com/ZeBobo5/Vlc.DotNet/issues/96– Mark Fieldman
Nov 30 at 21:27
add a comment |
up vote
0
down vote
Wiki lists this as a way to set an option (within the extension
data element): <vlc:option>stop-time=55</vlc:option>
.
Some VLC playlist options:
--random plays files randomly forever.
--loop loops playlist on end.
--repeat repeats current item until another item is forced
--play-and-stop stops the playlist after each played item.
So maybe try adding: <vlc:option>repeat</vlc:option>
Mmm... Sadly no, it won't repeat that way =/ But your answer seems useful, thanks! I'll read more, maybe I'll get something! Let's wait another answer in hopes someone else knows the exact way to do this =) Thanks ;)
– Metafaniel
Mar 1 '12 at 21:44
I've read but the specification says those options you mention are for playlists indeed but they're not applied as vlc:options likestop-time=55
Those are for tracks. But the playlist ones are only used in a command line code =
– Metafaniel
Mar 2 '12 at 15:09
add a comment |
up vote
0
down vote
Wiki lists this as a way to set an option (within the extension
data element): <vlc:option>stop-time=55</vlc:option>
.
Some VLC playlist options:
--random plays files randomly forever.
--loop loops playlist on end.
--repeat repeats current item until another item is forced
--play-and-stop stops the playlist after each played item.
So maybe try adding: <vlc:option>repeat</vlc:option>
Mmm... Sadly no, it won't repeat that way =/ But your answer seems useful, thanks! I'll read more, maybe I'll get something! Let's wait another answer in hopes someone else knows the exact way to do this =) Thanks ;)
– Metafaniel
Mar 1 '12 at 21:44
I've read but the specification says those options you mention are for playlists indeed but they're not applied as vlc:options likestop-time=55
Those are for tracks. But the playlist ones are only used in a command line code =
– Metafaniel
Mar 2 '12 at 15:09
add a comment |
up vote
0
down vote
up vote
0
down vote
Wiki lists this as a way to set an option (within the extension
data element): <vlc:option>stop-time=55</vlc:option>
.
Some VLC playlist options:
--random plays files randomly forever.
--loop loops playlist on end.
--repeat repeats current item until another item is forced
--play-and-stop stops the playlist after each played item.
So maybe try adding: <vlc:option>repeat</vlc:option>
Wiki lists this as a way to set an option (within the extension
data element): <vlc:option>stop-time=55</vlc:option>
.
Some VLC playlist options:
--random plays files randomly forever.
--loop loops playlist on end.
--repeat repeats current item until another item is forced
--play-and-stop stops the playlist after each played item.
So maybe try adding: <vlc:option>repeat</vlc:option>
answered Mar 1 '12 at 20:38


horatio
3,2771115
3,2771115
Mmm... Sadly no, it won't repeat that way =/ But your answer seems useful, thanks! I'll read more, maybe I'll get something! Let's wait another answer in hopes someone else knows the exact way to do this =) Thanks ;)
– Metafaniel
Mar 1 '12 at 21:44
I've read but the specification says those options you mention are for playlists indeed but they're not applied as vlc:options likestop-time=55
Those are for tracks. But the playlist ones are only used in a command line code =
– Metafaniel
Mar 2 '12 at 15:09
add a comment |
Mmm... Sadly no, it won't repeat that way =/ But your answer seems useful, thanks! I'll read more, maybe I'll get something! Let's wait another answer in hopes someone else knows the exact way to do this =) Thanks ;)
– Metafaniel
Mar 1 '12 at 21:44
I've read but the specification says those options you mention are for playlists indeed but they're not applied as vlc:options likestop-time=55
Those are for tracks. But the playlist ones are only used in a command line code =
– Metafaniel
Mar 2 '12 at 15:09
Mmm... Sadly no, it won't repeat that way =/ But your answer seems useful, thanks! I'll read more, maybe I'll get something! Let's wait another answer in hopes someone else knows the exact way to do this =) Thanks ;)
– Metafaniel
Mar 1 '12 at 21:44
Mmm... Sadly no, it won't repeat that way =/ But your answer seems useful, thanks! I'll read more, maybe I'll get something! Let's wait another answer in hopes someone else knows the exact way to do this =) Thanks ;)
– Metafaniel
Mar 1 '12 at 21:44
I've read but the specification says those options you mention are for playlists indeed but they're not applied as vlc:options like
stop-time=55
Those are for tracks. But the playlist ones are only used in a command line code =– Metafaniel
Mar 2 '12 at 15:09
I've read but the specification says those options you mention are for playlists indeed but they're not applied as vlc:options like
stop-time=55
Those are for tracks. But the playlist ones are only used in a command line code =– Metafaniel
Mar 2 '12 at 15:09
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f395918%2floop-a-single-track-element-in-a-xspf-playlist-using-vlc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
wZ,pmk ZXICeT4uu0jME fhOL9xFK3 9FgM1nIkmfjIOHpDojykt SRwH