2007-07-29, 11:03 PM
yes, the (updated) script will :-
kill and restart ir.exe when coming out of standby
ensure that gbpvr.exe is always running and is in the foreground
will check to see if the recording service is running and restart if it isn;t
(as mentioned earlier in this thread, you can achieve this by configuring the recording service to restart on failure in control panel, services)
the script used to kill off and restart gbpvr and the recording service upon waking from standby. However I have commented this code out as I am not sure that I need to do this any more.
To use it, you need to download and install Autoit and then use this to compile the code I have provided. It won;t work out of the box as the location of the log and lock file are defined as pointing to r:\temp.
If you are uncomfortable doing this, I could compile a version that writes to (say) c:\temp instead.
However, what do you really want to achieve? gbpvr itself very rarely crashes. I use this program to make sure it is running and in the foreground because I am always messing about with the pc and forget to leave it with gbpvr running in the foreground.
If you only want to restart ir.exe when waking from standby, you might be better of downloading gbpvrwake.exe (search forum or wiki), creating a shortcut to this in your startup folder, and adding the following line to a file called wake.cmd in the gbpvr folder.
"C:\Program Files\WinTV\Ir.exe" /QUIET
kill and restart ir.exe when coming out of standby
ensure that gbpvr.exe is always running and is in the foreground
will check to see if the recording service is running and restart if it isn;t
(as mentioned earlier in this thread, you can achieve this by configuring the recording service to restart on failure in control panel, services)
the script used to kill off and restart gbpvr and the recording service upon waking from standby. However I have commented this code out as I am not sure that I need to do this any more.
To use it, you need to download and install Autoit and then use this to compile the code I have provided. It won;t work out of the box as the location of the log and lock file are defined as pointing to r:\temp.
If you are uncomfortable doing this, I could compile a version that writes to (say) c:\temp instead.
However, what do you really want to achieve? gbpvr itself very rarely crashes. I use this program to make sure it is running and in the foreground because I am always messing about with the pc and forget to leave it with gbpvr running in the foreground.
If you only want to restart ir.exe when waking from standby, you might be better of downloading gbpvrwake.exe (search forum or wiki), creating a shortcut to this in your startup folder, and adding the following line to a file called wake.cmd in the gbpvr folder.
"C:\Program Files\WinTV\Ir.exe" /QUIET
âIf this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.â