VLC C# Frontend - Some Coding Issues
Posted: 08 Jun 2008 12:45
I have been writing a C# front-end for VLC and its about 90% finished now. Everything works, but I have a few outstanding issues that need to be resolved. This frontend will be GPL'ed as soon as I get this finished. Hopefully, that will be this week.
1. When playing an MP3 file, or DVD, VLC_LengthGet returns zero. If I play an avi, wmv, etc., it returns the length of the media. How can I obtain the length of the media in a consistent fashion?
2. How would I obtain a playlist for a CD (cdda://)?
3. How would I obtain the Titles, Chapters for a DVD (dvd://, dvdsimple://)?
4. From either list, in points 2 and 3, how do I control which item in the playlist to play (VLC_Play does not allow me to pass any index)?
5. What function exposes the 'Next Chapter' control (note: not next in playlist)?
Please remember that I'm using InterOp, so any info on types would be appreciated.
1. When playing an MP3 file, or DVD, VLC_LengthGet returns zero. If I play an avi, wmv, etc., it returns the length of the media. How can I obtain the length of the media in a consistent fashion?
2. How would I obtain a playlist for a CD (cdda://)?
3. How would I obtain the Titles, Chapters for a DVD (dvd://, dvdsimple://)?
4. From either list, in points 2 and 3, how do I control which item in the playlist to play (VLC_Play does not allow me to pass any index)?
5. What function exposes the 'Next Chapter' control (note: not next in playlist)?
Please remember that I'm using InterOp, so any info on types would be appreciated.