Page 1 of 1

Automatic restart of VLC in case of crash

Posted: 05 May 2006 02:08
by Guest
Is there any way we could get an option to restart vlc after it has crashed? VLC tends to crash sometimes with my tv tuner and I would like it to restart itself so I could access vlc through the http interface from a remote location. Any suggestions would be great, thanks.

Posted: 05 May 2006 02:09
by bdogg64
Is there any way we could get an option to restart vlc after it has crashed? VLC tends to crash sometimes with my tv tuner and I would like it to restart itself so I could access vlc through the http interface from a remote location. Any suggestions would be great, thanks.

Posted: 05 May 2006 15:31
by pieroxy
The obvious ;)

Instead of starting "vlc --options" start :

Code: Select all

while [ 1 ]; do vlc --options done
That's if your on unix/bash, but the same can be done for DOS in a batch file:

Code: Select all

:toto vlc --options goto toto