NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 49 50 51 52 53 … 56 Next »
Using RecStaus.exe to hibernate after a recording

 
  • 0 Vote(s) - 0 Average
Using RecStaus.exe to hibernate after a recording
Darx-starz
Offline

Senior Member

Posts: 336
Threads: 53
Joined: Jan 2005
#1
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.
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows Desktop/Sidebar Gadget with Recording Schedule cncb 0 1,804 2011-09-29, 12:49 PM
Last Post: cncb
  Auto restart recording service utility gEd 79 28,633 2010-01-13, 05:16 PM
Last Post: liteswap
  HVR 1300 Recording Quality Improvement garymeds 4 2,202 2008-07-02, 11:24 PM
Last Post: bunegg
  Batch to surely Hibernate & Update EPG dfdario 1 1,761 2008-03-09, 02:32 PM
Last Post: cakes
  Shutdown computer when current recording session completes Mister Slimm 3 1,795 2005-11-26, 05:14 PM
Last Post: Mister Slimm
  Restart Recording Service Plugin pbb 3 1,824 2005-11-22, 04:14 AM
Last Post: pbb
  RecInfo - Email reporting of recording results jimh 15 6,051 2005-09-06, 08:30 PM
Last Post: lif
  RecStatus.exe - returns current recording status jimh 14 5,661 2005-03-28, 06:06 PM
Last Post: Pioneer4x4
  Rename Recording KingArgyle 7 3,417 2005-03-03, 04:12 PM
Last Post: KingArgyle
  External Recording Manager KingArgyle 9 4,221 2005-01-20, 03:42 AM
Last Post: KingArgyle

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode