When a malformed URL is given to VLC through the "Open network stream" interface, the command like option "--open " or the Lua CLI command "add", the interface locks up and the console spits out the error message
[00007f31355cea20] filesystem stream error: cannot open file /home/paul/c (No such file or directory)
[00007f313c000c40] main input error: Your input can't be opened
[00007f313c000c40] main input error: VLC is unable to open the MRL 'file:///home/paul/c'. Check the log for details.
at a rate of multiple (hundred?) repetitions per second.
I assume the faulty item is added to the playlist and VLC keeps trying to play it back over and over.
How can I make it ignore this error?
My current ideas are hooking into the error to remove the last item added or having a preprocessor check whether VLC can actually open the resulting playlist item. How would I do this? Maybe this is only a configuration issue after all?
Thanks.