2005-04-02, 06:07 PM
Hi. I have been having a bit of bother with hibernating. I think its to do with RSS newsfeed but not sure. I wrote this little batch file to get round the problem. It uses Recstatus.exe written by Jimh and can be found here
Download recstatus.exe from the link above and put it in the gbpvr install dir.
This utility when run will return a error level depending on the recording status. Follow the link for the examples.
Copy the below into a batch file called checkrec.bat and place it in the gbpvr install dir.
##################################
recstatus.exe time=15 # checks for a show ending in 15 mins. Change the
# value to what you want
if errorlevel 2 goto NOHIB
if errorlevel 1 goto NOHIB
echo "Hibernating" > hibernate.log
date /t >> hibernate.log
time /t >> hibernate.log
rundll32.exe powrprof.dll,SetSuspendState
:NOHIB
echo "No Hibernate possible" > nohibernate.log
date /t >> nohibernate.log
time /t >> nohibernate.log
exit
#################################
Create or edit PostProcessing.bat Add the line at the end of the file (after comskip etc)
##################################
call checkrec.bat
##################################
Disable the logging after you are sure it works.
Download recstatus.exe from the link above and put it in the gbpvr install dir.
This utility when run will return a error level depending on the recording status. Follow the link for the examples.
Copy the below into a batch file called checkrec.bat and place it in the gbpvr install dir.
##################################
recstatus.exe time=15 # checks for a show ending in 15 mins. Change the
# value to what you want
if errorlevel 2 goto NOHIB
if errorlevel 1 goto NOHIB
echo "Hibernating" > hibernate.log
date /t >> hibernate.log
time /t >> hibernate.log
rundll32.exe powrprof.dll,SetSuspendState
:NOHIB
echo "No Hibernate possible" > nohibernate.log
date /t >> nohibernate.log
time /t >> nohibernate.log
exit
#################################
Create or edit PostProcessing.bat Add the line at the end of the file (after comskip etc)
##################################
call checkrec.bat
##################################
Disable the logging after you are sure it works.
Asus A7V880 Motherboard
AMD Sempron 2400+ 1.67GHz (Socket A) CPU
Maxtor DiamondMax Plus 10 200GB SATA 8MB Cache
Maxtor DiamondMax Plus 10 160GB SATA 8MB Cache
Corsair 512MB DDR Value Select PC3200
Hauppauge PVR150
2 X Hauppauge Nova-T (200009)
FX5200 composite out
AMD Sempron 2400+ 1.67GHz (Socket A) CPU
Maxtor DiamondMax Plus 10 200GB SATA 8MB Cache
Maxtor DiamondMax Plus 10 160GB SATA 8MB Cache
Corsair 512MB DDR Value Select PC3200
Hauppauge PVR150
2 X Hauppauge Nova-T (200009)
FX5200 composite out