Handover of parameters in the playlist

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Handover of parameters in the playlist

Postby kodela » 11 Dec 2013 18:57

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

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Handover of parameters in the playlist

Postby kodela » 14 Dec 2013 15:58

Can not anyone help me?

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Handover of parameters in the playlist

Postby kodela » 18 Dec 2013 15:50

Is this question really so difficult that no one has an answer?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Handover of parameters in the playlist

Postby Jean-Baptiste Kempf » 23 Dec 2013 20:08

Or just noone knows.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Handover of parameters in the playlist

Postby Rémi Denis-Courmont » 24 Dec 2013 12:30

The two "non-working" parameters are not per-item parameters; they are global. You cannot pass them through a playlist file.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Handover of parameters in the playlist

Postby kodela » 25 Dec 2013 10:24

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.

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: Handover of parameters in the playlist

Postby mederi » 25 Dec 2013 14:48

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.

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Handover of parameters in the playlist

Postby kodela » 26 Dec 2013 09:25

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Handover of parameters in the playlist

Postby Rémi Denis-Courmont » 27 Dec 2013 12:21

Unfortunately, there are currently no generic ways to determine this other than reading the source code. Patch welcome and all that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests