I'm using VLC0.9.0 mozilla plugin. And I found that vlc.playlist.items.clear() will not change the count attribute asynchronously. BTW, I waited for 10 second to see if the only one item had been cleared, so I think it must be something wrong. May I use the deprecated version "vlc.playlist.clear()"?
Is there a working example?