Find position in playlist in TVLCPlugin2

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Ridders
New Cone
New Cone
Posts: 7
Joined: 08 Nov 2012 16:55

Find position in playlist in TVLCPlugin2

Postby Ridders » 19 Nov 2012 10:46

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)

Ridders
New Cone
New Cone
Posts: 7
Joined: 08 Nov 2012 16:55

Re: Find position in playlist in TVLCPlugin2

Postby Ridders » 20 Dec 2012 16:51

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

rgkluver
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Jan 2013 13:08

Re: Find position in playlist in TVLCPlugin2

Postby rgkluver » 30 Jan 2013 01:34

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Find position in playlist in TVLCPlugin2

Postby Jean-Baptiste Kempf » 06 Feb 2013 17:27

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.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Ridders
New Cone
New Cone
Posts: 7
Joined: 08 Nov 2012 16:55

Re: Find position in playlist in TVLCPlugin2

Postby Ridders » 06 Aug 2013 17:09

https://trac.videolan.org/vlc/ticket/9151

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

Ridders
New Cone
New Cone
Posts: 7
Joined: 08 Nov 2012 16:55

Re: Find position in playlist in TVLCPlugin2

Postby Ridders » 03 Dec 2013 16:41

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


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests