Page 1 of 1

Playlist.clear won't work

Posted: 02 Jun 2009 22:29
by jcvamp
I found that there is no way to identify which playlist item is playing, so I decided to work around it by making my own playlist array and keeping only the playing video on the playlist, as follows.

Code: Select all

vlc.playlist.items.Clear vlc.playlist.Add Filename
The problem is if the video has been played and stopped, instead of playing the new video, it plays the old one.

Any ideas?

Re: Playlist.clear won't work

Posted: 02 Jun 2009 22:41
by jcvamp
Just for reference, I've read a thread about the same problem, and the solution was to use playitem, which plays the file you've opened. However, I want to be able to open the file without playing it immediately.

Re: Playlist.clear won't work

Posted: 03 Jun 2009 10:58
by Jean-Baptiste Kempf
Fill a bug.

Re: Playlist.clear won't work

Posted: 03 Jun 2009 13:49
by fablec
viewtopic.php?f=16&t=46076#p201249

it's work for video too

Re: Playlist.clear won't work

Posted: 03 Jun 2009 18:10
by jcvamp
Fill a bug.
It's apparently already been reported. It won't let me fill out a report anyway.
viewtopic.php?f=16&t=46076#p201249

it's work for video too
That method still plays the video immediately.