Thanks in advance. I've been Googling for a solution for the last couple of days without success.
I have a batch file that ping scans the local network looking for cameras, and for every reply it starts an instance of VLC.
My issue is that there are a couple of other devices, whose IP's can change, that don't stream video. This means VLC attempts to open a stream that doesn't exist. Is there a way I can have VLC gracefully close that window if it cannot find the stream, as opposed to the error it currently shows?