How to Insert or Replace item index in axVLCPlugin21.Playlist ?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
wingchunna
New Cone
New Cone
Posts: 7
Joined: 25 Apr 2019 08:08

How to Insert or Replace item index in axVLCPlugin21.Playlist ?

Postby wingchunna » 25 Apr 2019 08:20

Hi everybody,
I used vlc activeX for my C# application. I've added videos into playlist and playing them.
Now, i want to insert new items after playlist played but i can't.
I also want to insert other new items to the top of playlist (index 0) or move up/down 1 index from current index. It's seem no method help me to do this.
Pls tell me How To ?
Thanks !

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: How to Insert or Replace item index in axVLCPlugin21.Playlist ?

Postby Jean-Baptiste Kempf » 25 Apr 2019 11:08

Not really no. The only available are vlc.playlist.items.remove and vlc.playlist.add and vlc.playlist.item.clear
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.

wingchunna
New Cone
New Cone
Posts: 7
Joined: 25 Apr 2019 08:08

Re: How to Insert or Replace item index in axVLCPlugin21.Playlist ?

Postby wingchunna » 25 Apr 2019 13:40

Dear Jean-Baptiste Kempf
So what is the solution if i want to insert item into index number 0 of playlist ?
Could I map axVLCPlugin21.playlist to other List and excute insert in this ?
Why VLC did not design insert function ?


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 6 guests