How can I acces the playlist-Items with Javascript?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
derdau
Blank Cone
Blank Cone
Posts: 29
Joined: 28 Aug 2006 15:43

How can I acces the playlist-Items with Javascript?

Postby derdau » 10 Nov 2008 15:27

Wirh the javascipt methos vlc.playlist.add(MRL) i can add a new item to the playlist. The property vlc.playlist.itemCount tells the numbers of this items.

Is there any way to get Information about:

mrl of the items? ( like mrl = vlc.playlist.???? )
index of the current playing item?

Thank you for some infos!

maliqua
New Cone
New Cone
Posts: 7
Joined: 22 Aug 2007 16:45

Re: How can I acces the playlist-Items with Javascript?

Postby maliqua » 12 Nov 2008 18:57

I haven't found one, but what i've done is made a function that takes the MRL and a short name for it and assigns both into an array then calls the playlist.add(MRL) I know it's not what you asked but I was looking for the same thing and just gave up and started tracking it myself.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 8 guests