Hi All.
I have an embedded player that works as follows:
- add an item using vlc.playlist.add
- save the id (which always seems to be zero-indexed and sequential)
- allow user to remove any item by calling vlc.playlist.items.remove(id-which-was-saved)
The problem I run into is that vlc.playlist.items.remove always throws an exception, but seems to remove the item from its list (ie vlc.playlist.items.count reflects reality, I have no way of knowing if it actually removed the right one).
Calling document.playlist.playItem with the saved id works perfectly, but remove always barfs.
Any ideas as to what might be going on?
Thanks.
AM