Page 1 of 1

playlist object syntax

Posted: 13 May 2009 11:17
by ikarus76
hi all,

has the playlist object syntax changed? if i use add now with the params from the 0.9.x version they doesn't seem to work

Re: playlist object syntax

Posted: 13 May 2009 11:44
by Jean-Baptiste Kempf
Please, more details.

Re: playlist object syntax

Posted: 13 May 2009 11:53
by ikarus76
hi,

ok, sorry :)

following syntax worked in an html page with embedded activex class id 9BE31822-FDAD-461B-AD51-BE1D1C159921:

Code: Select all

vlcplayer.playlist.add("udp://@239.0.2.60:8208", "ORF 1", ":ffmpeg-skiploopfilter=4");
vlc player played the stream and displayed ORF 1 as channel name.

with 1.0.0 the same code shows "udp://@239.0.2.60:8208" as channel name and the options doesn't work too, i guess...

Re: playlist object syntax

Posted: 13 May 2009 15:38
by Jean-Baptiste Kempf
does it add it and not play it? or does it refuse to add it?

Re: playlist object syntax

Posted: 13 May 2009 16:16
by ikarus76
yes, it plays the stream, but displays the mrl as channel name and ignores the options.

using

Code: Select all

vlcplayer.playlist.add("c:/test.mpg", "my test movie", "some more options");
looks like the same as using

Code: Select all

vlcplayer.playlist.add("c:/test.mpg");
w/o name and options.

channel name and options seem to be ignored. movie (or stream) is playing normally...