Page 1 of 1

Find position in playlist in TVLCPlugin2

Posted: 19 Nov 2012 10:46
by Ridders
Hello,

I have been working in Delphi XE3 using the VLC activex plug-in and was wondering if there is a way to do a couple of things.

1) Is there a way to get the index of where you currently are in the playlist, I am using the vlc2 plugin and there does not seem to be although there does seem to be a playlist index property in the vlc 1 plugin.

2) Is there an event or something similar which will notify me if an item in the playlist has finished and it is either starting the next item or has reached the end of the playlist.

If any more information is required or anyone has any ideas of the problem please let me know.

Thanks

(I also have another unanswered question here : viewtopic.php?f=16&t=105871)

Re: Find position in playlist in TVLCPlugin2

Posted: 20 Dec 2012 16:51
by Ridders
I was wondering if anyone who has seen this topic has any insight? I still have not found a way in VLC to find my position in the playlist which is an issue for me. If anyone can help this would be greatly appreciated.

Thanks

Re: Find position in playlist in TVLCPlugin2

Posted: 30 Jan 2013 01:34
by rgkluver
http://wiki.videolan.org/Documentation:WebPlugin

From the documentation, I also see know way of getting the MRLs or elements of the playlist from the API. I would love to be able to grab that information through the API as part of some automation I have been working on.

Now, if you know the contents of the playlist, what SHOULD work is adding event listeners and detecting the iteration between connects. I found that with some playlists the player simply will not advance to the next item in the m3u or pls based playlist when there is a connection error on an item before it, where I had to detect the error manually and then tell it to advance to the next item.

Theoretically, if you know all the items in the playlist you should be able to detect each connect where you can increment your own counter variable and compare it against your own known array of items in the playlist. However, while this works flawlessly in Firefox, IE seems to register the events but never executes the handlers.

Re: Find position in playlist in TVLCPlugin2

Posted: 06 Feb 2013 17:27
by Jean-Baptiste Kempf
From the documentation, I also see know way of getting the MRLs or elements of the playlist from the API. I would love to be able to grab that information through the API as part of some automation I have been working on.
Please file a feature request on trac.

Re: Find position in playlist in TVLCPlugin2

Posted: 06 Aug 2013 17:09
by Ridders
https://trac.videolan.org/vlc/ticket/9151

I don't think the feature request was put on trac so here it is.

Re: Find position in playlist in TVLCPlugin2

Posted: 03 Dec 2013 16:41
by Ridders
I was wondering if there has been any update as to the progress of this request?

Has it been accepted that this can/will be implemented in the future?

Will it be in a planned future release?

Thanks