random playlist play is missing!

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
jleroux61
New Cone
New Cone
Posts: 7
Joined: 25 Oct 2007 14:38

random playlist play is missing!

Postby jleroux61 » 31 Mar 2009 14:57

I have VLC embedded as activeX into a C# application. This works well.
I am now adding playlist functionality and the random play seems not to work. It is always playing in the orginal sequence. I also tried the :Z option.
Am I doing somthing wrong?

string[] strInitOptions = {
":no-video",
":directx-audio-device=",


":one-instance",
":no-loop",
":random",
};

this.Stop(); //Stop running show

int n;
n = playerForm.ReturnEmbeddedVlcPlayer(Source).playlist.add(Url, null, strInitOptions);
playerForm.ReturnEmbeddedVlcPlayer(Source).playlist.playItem(n);
Thanks
Jean

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 6 guests