Getting Filename being Played in VLC Plugin

This forum is about all development around libVLC.
callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Getting Filename being Played in VLC Plugin

Postby callxpert » 11 Jul 2009 07:56

Hi,
Im using vlc 1.0.0 axvlc.dll in VB 6.0

* How to get the media filename being played in vlc plugin.

* Im unable to create Playlist. Only the first song plays after that the second song doesnt play.

* The VB code im using,
vlcplugin.addTarget List1.List(0), Null, VLCPlayListInsertAndGo, 0
vlcplugin.addTarget List1.List(1), Null, VLCPlayListinsert, 1
vlcplugin.addTarget List1.List(2), Null, VLCPlayListinsert, 2

* If i give vlcplugin.playnext , the next song plays fine.

* I think New VLC 1.0.0 by default is in

Code: Select all

--play-and-stop stops the playlist after each played item
mode.
I tried changing to --repeat and --loop but no result

Any Help is greatly appreciated

Thanks

BenShoan
Blank Cone
Blank Cone
Posts: 10
Joined: 22 Jul 2009 01:34

Re: Getting Filename being Played in VLC Plugin

Postby BenShoan » 28 Jul 2009 05:48

Set up Timer of 1 second, check the status or the position, when stop or no change to position you can play the new song

callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Re: Getting Filename being Played in VLC Plugin

Postby callxpert » 01 Aug 2009 12:05

But that is not an optimal solution.

* I already have many timers in my application and adding timers for such basic functionality can bring poor performance.

* Moreover by doing that i cannot have a continuation of playlist. i.e. Flickering will happen between two videos.

Any Other Optimal solution Please


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests