Page 1 of 1

vlc.playlist.items.remove() seems to be buggy since V1.1

Posted: 29 Aug 2010 19:26
by MrMcMedia
Within the Mozilla plugin the method "vlc.playlist.items.remove() seems to be buggy since V1.1.

1.0.5 Goldeneye worked as a charme.

The javascript code : "vlc.playlist.items.remove((vlc.playlist.items.count+=-1));" doesn´t work anymore.

"try{vlc.playlist.items.remove((vlc.playlist.items.count+=-1));}catch(errorObject){ugly="bug";alert(errorObject.message);}"

throws the following error but works: "Error calling method on NPObject!"

Without try - catch the method doesn´t work any more.

Re: vlc.playlist.items.remove() seems to be buggy since V1.1

Posted: 04 Sep 2010 16:46
by Jean-Baptiste Kempf
Do you know which one throws the exception?

Re: vlc.playlist.items.remove() seems to be buggy since V1.1

Posted: 03 Oct 2010 21:20
by MrMcMedia
vlc.playlist.items.remove(1); doesn´t work even with a fixed integer as param.
with try / catch it works and returns the error above.