random playlist play is missing!
Posted: 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
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