NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 2 3 4 5 … 1231 Next »
Inhibit Computer Shutdown While Recording

 
  • 0 Vote(s) - 0 Average
Inhibit Computer Shutdown While Recording
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#41
2011-02-16, 02:13 PM (This post was last modified: 2011-02-16, 03:05 PM by pBS.)
almost done for multiple recordings..
Am using filename as param so each 'off' will know which one to turn off..
so in batches use:
AwayModeActive.exe "%~n1"
and
AwayModeActive.exe "%~n1" off
in postprocessing.bat
so each recording will only kill it's own protector..

ahh, nevermind above, i made it so it's always running, and monitors db for recordings..Big Grin
just put it in startup and leave running..you'll notice icon change when recording..Smile
let me know if any problems..
[seems to take a couple of secs after recording starts to prevent standby...like 2 max]
will see what can be done about hibernating..if hybrid sleep is anbled, it makes hibernation second step of 2 part sleep process..first it sleeps, then after a time hibernates if not woken..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
rwnz
Offline

Member

Posts: 89
Threads: 15
Joined: Aug 2006
#42
2011-02-18, 05:40 AM
Great thanks. Initial testing shows this latest download to inhibit my Windows 7 computer from sleeping when NPVR is recording and to permit Sleep once it has stopped, both for single and simultaneous recordings.
I couldn't see an icon change though.
With regard to hibernation, I have my computer set to hibernate after about an hour, so if I put it to sleep, it will hibernate after that time (though I haven't sat around timing it), so it's OK, but being able to hibernate it immediately is the most desirable outcome. There is no difference in this performance between Sleep and Hybrid Sleep.
Hauppauge WinTV-HVR-2200, Intel C2D E8400; 4GB RAM; ASUS EN9400GT SILENT 512MB; Windows 10 Home 64 Bit; NPVR + EPG Collector. TVersity; Sony Smart TVs; Xtreamer Sidewinders. TV source: DVB-T
rwnz
Offline

Member

Posts: 89
Threads: 15
Joined: Aug 2006
#43
2011-02-18, 09:51 PM
Well, I tested the app in real life last night and it was wonderful - tried to switch off the PC before heading to bed while it was recording a late program and it stayed going and the full program was recorded. Much appreciated.
Now, ............... I don't want to appear greedy, but if you are looking for enhancements, along with the hibernation issue is it possible for the app to put the computer into sleep or hibernation after recording (but only if sleep/hibernation has already been attempted as we wouldn't want it switching off after every recording, and if there is no other recording at the same time) and could there be a pop-up if sleep/hibernation is attempted while recording to inform the operator why it is not shutting down?
Cheers.
Hauppauge WinTV-HVR-2200, Intel C2D E8400; 4GB RAM; ASUS EN9400GT SILENT 512MB; Windows 10 Home 64 Bit; NPVR + EPG Collector. TVersity; Sony Smart TVs; Xtreamer Sidewinders. TV source: DVB-T
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#44
2011-02-19, 05:37 PM
hmmm,it was supposed to sleep after recording finished automatically, was comskip running after? having hard time detecting when away mode is active...
oh and the tray app just changes when recordings are happening..shows lock wheen recording, red thing when not]
it's only way to know if suspend was activated, so i'll know to suspend after recording clears..normal suspend msgs are not broadcast while away mode is active..
i thought it might just restart windows sleep timer, so it would just take as long as sleep timeout has set..will have to test..
if i can somehow detect when awaymode has entered, the rest is no problem..Smile
[plus a few other nice features] but so far no luck...
now that i've got a win7 machine running npvr fulltime, development should go faster..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
rwnz
Offline

Member

Posts: 89
Threads: 15
Joined: Aug 2006
#45
2011-02-19, 08:51 PM
My apologies - I didn't realise that there was an AwayMode icon and that it was hidden so I had looked for a change in the NPVR icon!
I'm not running comskip.
Hauppauge WinTV-HVR-2200, Intel C2D E8400; 4GB RAM; ASUS EN9400GT SILENT 512MB; Windows 10 Home 64 Bit; NPVR + EPG Collector. TVersity; Sony Smart TVs; Xtreamer Sidewinders. TV source: DVB-T
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,300
Threads: 114
Joined: Oct 2008
#46
2012-01-06, 01:25 PM
I've been using the awaymodecmd for a few days now with Vista 32 Home Premium so that I can shut down Computer TV and Amp with one click of the Harmony One remote, without terminating recordings prematurely.
The only problem I had to start with was the MCE remote button was forcing sleep - I solved this by setting LM Remote to block native command then run a batch file with rundll32.exe powrprof.dll,SetSuspendState now if a recording is in progress the screen blanks but the recording continues.

This Utility should be put on the Wiki or at least have a thread under NPVR Addons - took me ages to find what I was after

Thanks PBS Cool
It's not an overly complicated system - it's more - overly simple operatives  Huh
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#47
2012-01-07, 08:30 AM
cool, glad it's workin for ya..
i don't have any vista machines handy, so glad it works there as expected..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,300
Threads: 114
Joined: Oct 2008
#48
2012-01-08, 04:08 PM
From my experience it looks as though if you use shutdown.exe to sleep the PC it is forced, whereas [rundll32.exe powrprof.dll,SetSuspendState] is not forced so the PC can enter away mode.
It's not an overly complicated system - it's more - overly simple operatives  Huh
DanielP
Offline

Member

Posts: 173
Threads: 26
Joined: Jan 2007
#49
2012-01-11, 11:33 PM
Hi,

I have come up with a really simple solution to this. I set my computer bios to come out of standby via the PC button on the MCE remote. In Windows, I have the machine set to hibernate after 10mins of inactivity. However, in power management, I have set the sleep button to do nothing. So, when in Windows, the MCE PC button also does nothing. Because the machine hibernates reliably and never tries to hibernate when a recording is progress, I simply turn off the TV and walk off. I actually use a harmony remote pretending to be an MCE remote, so when I set the watch TV activity, hitting the off button also does not turn off the computer. Works a treat and is foolproof, even with wife and kids around.

Daniel
Athlon XP 2800 > Asus A7N8X > Win7/64 > NPVR > Pinnacle DVB-T PCI > NovaHD-S2 for 28.2E > NovaS+ for 13E 19.2E > HD3450AGP: EVR/SAF

Pent Dx2 2.8GHZ > Intel D945GNT > Win7/64 > NPVR > 2x Nova HD-S2+ for 28E / 13E / 19E > Nova S+ for 1W 5W > BGT3620 > HD3450 PCIe: EVR/SAF

Metronic analogue for 19.2E

Grumpy wife
Kids eating cables
b00sfuk
Offline

Senior Member

Posts: 319
Threads: 26
Joined: Mar 2005
#50
2012-01-12, 11:27 AM
This inspired me again to have another look at my set-up. Still cannot get a solution though with iMON.
Currently have the iMON remote configured with a standby button (Windows standby in the iMON app) that takes the PC in and out of standby. I can disable the PC power button in Windows power management and configure the iMON app to issue a PC Power button command but this shuts the PC down anyway so no use. Would love to configure a button on the remote that took the PC out of standby but did not put it into it (relying as DanielP does with inactivity to do it).
Silverstone LC10M with iMON
Gigabyte 780G+4850e, AMD 6570
Blackgold BGT3620, Harmony 555 Remote
Win7 32-bit, SAF
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio buzzing second time recording launched. dennit 2 4,509 2012-12-09, 11:28 PM
Last Post: dennit
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,906 2011-12-17, 02:52 PM
Last Post: Sykor
  GBPVR will not wake up XP computer from sleep keith_leitch 8 4,761 2011-10-10, 08:26 PM
Last Post: keith_leitch
  intermittent recording failures bcdudley 6 3,565 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,467 2011-09-19, 01:15 AM
Last Post: sub
  Query : How to use multiple TV Cards (thru GB-PVR) in a Desktop Computer? seymoria 7 4,486 2011-09-07, 08:17 PM
Last Post: martint123
  Sattelite interent recording? crsfooddude 1 2,116 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,329 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,313 2011-05-16, 05:33 PM
Last Post: martint123
  SUB: Recording show in two pieces. Found bug(?) lif 10 4,975 2011-05-11, 09:30 AM
Last Post: jksmurf

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

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

Linear Mode
Threaded Mode