2012-03-01, 11:35 PM
Eeeeeek! Glad I brought this up. I have not tried any of this yet, but want to save a few electric pennies when I can. Input is great!! Thanx!
Greg
Greg
2012-03-01, 11:35 PM
Eeeeeek! Glad I brought this up. I have not tried any of this yet, but want to save a few electric pennies when I can. Input is great!! Thanx!
Greg
2012-03-02, 02:08 AM
I have the computer set to sleep in 30 min in the balanced profile. My high performance profile has sleep and hibernate to never. Here are the commands I use to switch between the two.
REM high performance powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c REM Balanced powercfg -setactive 381b4222-f694-41f0-9685-ff5bb260df2e The most important thing to remember is that all that stuff you run from the batch file is set to wait till it's done before moving on. Otherwise switching power profiles won't make a difference.
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
2012-04-30, 04:31 PM
While reading about sleep modes I ran across this article and dumppo.exe software. It may help others like me. =)
It allows simple command line entry to change power options. http://www.tek-tips.com/viewthread.cfm?qid=1469199
2012-05-02, 07:54 AM
Quote:NextPVR doesnt attempt to put your PC back to sleep. All it does is ask Windows to make sure it's awake at the time a recording is due to start.Just to clarify - NPVR will ask Windows to stay awake for the length of the recording, won't it? Windows will then go to sleep x minutes later. The problem with setting the power profile in postprocessing.bat is that you may have more than one of these running at the same time. You end up with a race condition, where the first to finish resets the profile before the second one has time to complete. It would be nice (hint, hint) if NPVR could keep track of postprocessing.bat instances and keep the PC awake until the last one completes.
[SIZE="1"]NPVR 2.6.2;Windows 7 Enterprise SP1;i5 750; 8GB mem;Geforce 210;Winfast DTV100 S, Winfast DTV Dongle Gold; 2 x Winfast DTV2000DS
[/SIZE]
2012-05-02, 05:34 PM
Nistrod Wrote:Just to clarify - NPVR will ask Windows to stay awake for the length of the recording, won't it? Windows will then go to sleep x minutes later.Every 30 seconds or so while recording, NPVR will tell Windows "I'm still using the PC", which will stop it going to sleep. When the recording is finished it stops telling Windows this.
2012-05-05, 08:11 AM
The way I keep track of the last postprocessing.bat file to run, is for each batch to create a unique tracking file in the default NPVR program folder using the line "echo %3 > %3.ppr".
The %3 is a unique OID number passed from NPVR which in turn creates a unique file name for each postprocessing file being run, and I use the .ppr extension to mean "postprocessing". At the end of the batch file I have the line "del %3.ppr" which erases its own tracking file then I check for other ppr files from other postprocessing.bats by using the line "if exist *.ppr goto finish". The :finish section is at the end of the batch file and skips a line to put the PC into standby using the line "rundll32 powrprof.dll,SetSuspendState 0,1,0". If the PC is rebooted or logged back in for any reason whilst postprocessing batch files are waiting to be fully executed, I have a startup batch file to delete all *.ppr files as the batch files that created them would have been terminated without deleting their own tracking files.
Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T. Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit. Linux Client: Raspberry Pi 3+, OSMC + Kodi |
|