[dotnet interface] Double playing

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
ccriniti
New Cone
New Cone
Posts: 7
Joined: 19 Feb 2007 13:39

[dotnet interface] Double playing

Postby ccriniti » 15 Nov 2007 15:40

Hello all,

I'm using in c# the vlc dotnet interface and I have a problem with my program.

At the end of a track I call :
Vlc_Add_And_Play(playlist[playlist_playing_item]);
----
private void Vlc_Add_And_Play(string new_current_track)
{

vlc_current_track = new_current_track;

vlc_engine.Stop();
vlc_engine.ClearPlayList();

int track_number = vlc_engine.AddToPlayList(vlc_current_track, "", "".Split('\n'));

vlc_engine.PlayItem(track_number);
vlc_engine.Show();
}


My problem is each track is repeated 2 times (but the vlc_current_track changes each times). I don't understand why.

Can anyone help me ???

Thanks for your help !!!

Return to “Web and scripting”

Who is online

Users browsing this forum: Google [Bot] and 13 guests