Page 1 of 1

Handover of parameters in the playlist

Posted: 11 Dec 2013 18:57
by kodela
Hi,

I want to permanently play a video part. For that I have written the following playlist:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1"> <title>Wiedergabeliste</title> <trackList> <track> <location>file:///D:/VLC/Test.mp4</location> <duration>5938980</duration> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>playlist-autostart=1</vlc:option> <vlc:option>repeat=1</vlc:option> <vlc:option>start-time=60.0</vlc:option> <vlc:option>stop-time=120.0</vlc:option> <vlc:id>0</vlc:id> </extension> </track> </trackList> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:item tid="0"/> </extension> </playlist>
The two parameters "start time" and "stop-time" are evaluated by VLC.

The two parameters "playlist-autostart" and "repeat" are not evaluated by VLC.

What am I doing wrong?

kodela

Re: Handover of parameters in the playlist

Posted: 14 Dec 2013 15:58
by kodela
Can not anyone help me?

Re: Handover of parameters in the playlist

Posted: 18 Dec 2013 15:50
by kodela
Is this question really so difficult that no one has an answer?

Re: Handover of parameters in the playlist

Posted: 23 Dec 2013 20:08
by Jean-Baptiste Kempf
Or just noone knows.

Re: Handover of parameters in the playlist

Posted: 24 Dec 2013 12:30
by Rémi Denis-Courmont
The two "non-working" parameters are not per-item parameters; they are global. You cannot pass them through a playlist file.

Re: Handover of parameters in the playlist

Posted: 25 Dec 2013 10:24
by kodela
Thanks,

but how does one know which parameter is global and which parameter is not global?

All four mentioned parameters are in the section "[main]" of the vlcrc-file.

Re: Handover of parameters in the playlist

Posted: 25 Dec 2013 14:48
by mederi

Code: Select all

--input-repeat=<integer [-2147483648 .. 2147483647]> Input repetitions Number of time the same input will be repeated
This option should work. Playlist autostart is enabled by default in VLC.

Re: Handover of parameters in the playlist

Posted: 26 Dec 2013 09:25
by kodela
Hi mederi,
thank you for your instructions.

Yes, with input-repeat = "a big integer" it works
and I also know that playlist-autostart is enabled by default in VLC.

But it is a fundamental question, which parameters can be passed via the Play List and which are not.

Re: Handover of parameters in the playlist

Posted: 27 Dec 2013 12:21
by Rémi Denis-Courmont
Unfortunately, there are currently no generic ways to determine this other than reading the source code. Patch welcome and all that.