Hello,
I'm developping a GTK wrapper for libvlc for another application. (http://code.google.com/p/libvlc-gtk/)
I have a problem to load playlist (M3U file). When I load one, I detect with event when a subitem is added in the media_list of the main media and I copy these subitem in a queue. When the playlist is finished to be analysed I play the first media in the queue and after the second...
I use the event libvlc_MediaPlayerEndReached to detect the end of the playlist loading, this works but sometimes it doesn't happens (randomly). So i'm wonder if libvlc has a bug, or if this event isn't efficient to detect the end of the playlist loading. In this case, how to detect it?
And I have another question, when the libvlc_MediaPlayerStopped event happen? Because the function to stop the media player send just a libvlc_MediaPlayerEndReached event.
I'm using libvlc 0.9.9a on Ubuntu.
Thank you for you're help.