Page 1 of 1

Get Position and Lenght and Cant Clear Playlist

Posted: 28 Mar 2009 17:25
by JCuningham
Im trying to use the VLC ActiveX Plugin in a VB6 Media Player im Building but Im running into two problems.

My first problem is I cant seem to work out how to get the length of the media being played and can't get the position it is playing at. Does anybody know how to get the play time and position in VB6 with VLC?

My other problem is that I cant seem to clear the playlist. When I open the program I can play a file no problem. Its when i try to play a second file it will play the first one again. After its done that it will play the second file. Ive tried clearing the playlist but this dosent work. Does anyone know what it wrong.

Thank You

Re: Get Position and Lenght and Cant Clear Playlist

Posted: 31 Mar 2009 10:15
by revolunet
the playlist.clear option is actually bugged. you have to use addItem + playItem for a workaround

for other functions, see http://wiki.videolan.org/Documentation: ... d_above.29

Re: Get Position and Lenght and Cant Clear Playlist

Posted: 05 May 2010 19:46
by m@th
Quite simple actually, to delete a playlist simply press Ctrl + Del.

Re: Get Position and Lenght and Cant Clear Playlist

Posted: 05 May 2010 20:33
by Ilasir
Length and position are buggy. There's really not much you can do about it.