Playlist Items ...

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
rmhartman
Blank Cone
Blank Cone
Posts: 16
Joined: 02 Nov 2010 19:39

Playlist Items ...

Postby rmhartman » 02 Nov 2010 19:47

Ok, I have a few questions about playlist items. First, I am trying to get the filename/url of the currently playing item, and I see no way to do this. Second, the playlist.playItem() method uses some sort of id value you get from playlist.add(), and this is explictly mentioned as not being a position in the playlist. Finally, how do I even identify /which/ playlist item is the one currently being played?

I presume that the items on the playlist items collection may be the key to answering some of these questions, but the documentation at http://wiki.videolan.org/Documentation: ... ems_object, while it talks about the collection, does not talk about the individual item objects themselves.

Ilasir
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 14 Apr 2010 18:57

Re: Playlist Items ...

Postby Ilasir » 07 Nov 2010 19:49

I've never figured that out either, but you can keep track of it independently from the vlc object, and that works fine.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 4 guests