NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 134 135 136 137 138 … 433 Next »
Prevent Windows sleep command when television recording is in progress?

Prevent Windows sleep command when television recording is in progress?
Agama
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Apr 2016
#1
2016-04-26, 05:11 PM
Hi! Is there a way to prevent a Windows system command to put the system to sleep when NextPVR is in the middle of recording a television show? I use it as the backend for Kodi (I recently upgraded it to 16.1), which I started using about 8 or 9 months ago after Microsoft just about abandoned Windows Media Center.

Quick background on why I'm asking: I have the hardware button on our HTPC's case set up to put the system to sleep. If someone accidentally presses the wrong button on our Harmony remote, it will trigger our HTPC to go to sleep while the remote turns on another device. OR, if our little toddler decides once again to press the big glowing power button on the front of the case, it again goes to sleep. Most of the time, that's not a big deal, but if NextPVR happened to be recording a show at the time, it stops doing so, and the system proceeds to go to sleep, leaving me with a partial recording.

Previously, when WMC was in the middle of a recording, my system would ignore the power/sleep command. Is there anyway to configure NextPVR or my HTPC in general to have that same behavior when NextPVR is recording? I originally asked this on the Kodi forums, not realizing that the answer might actually lie with NextPVR since I'm still pretty new to using both. One person recommended using the old utility MCE Standby Tool, and I didn't know if I would need to resort to that.

Thanks!
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#2
2016-04-26, 06:28 PM
Welcome!

NextPVR already tells windows to stay awake but it cannot (or at least currently does not) prevent a user from putting the PC to sleep themselves.

I have my harmony one remote set to power on pc for the "NextPVR" activity but repeating the same activity will not send the pc back to sleep. (can't remember precisely what the settings are in the harmony remote software but it can be done).

In windows you can have it ignore the power button (or put some tape over it!) - check the bios settings as well.

then just configure windows to go to sleep after X mins of inactivity (nextPVR will keep it awake during this time). I have mine set for 20mins.

HTH
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
liteswap
Offline

Senior Member

Posts: 713
Threads: 70
Joined: Aug 2006
#3
2016-04-28, 11:14 AM
Yes, this is what I do: disable the sleep button (Control Panel-->Power plans) so if the power button on the remote is pressed by accident while the PVR is on, nothing happens. It still works to wake it up. Then allow the PVR to sleep after a set period. I've been using a 10-minute timeout for years without problems.
- Silent client PVR: HDPlex HS.1 aluminium fanless case / Thin-ITX ASRock H81TM-ITX motherboard / Intel Celeron 1850T CPU / 4GB RAM / 120GB SSD / TBS6982 DBS-S2 [SIZE=1]dual-tuner card / Win10+nPVR+Plex Media Player feeding LG OLED55B6V + Anthem MRX510 AV Receiver / PMC GB1 / B&W / REL speakers.
- Noisy NAS: Xeon / Intel mobo / 16GB RAM / FreeNAS + Ubuntu VMs on VMware ESXi + 12TB RAID
[/SIZE] running Plex Media Server

Agama
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Apr 2016
#4
2016-04-30, 10:44 PM
Hmm, thanks for the input! I'd rather not tinker with the function of the power button, as my HTPC doesn't always turn off properly after a recording (though it often does)*. I suppose that's where the MCE Standby Tool can come in handy, and I might still need to look into it, though it's age makes me hesitate. So, I like having the power button still trigger sleep mode, as I can do that easily via remote or by pressing the button on the case of the computer. If I turn off that ability, then it takes a few more steps to get the HTPC to sleep, since I have to hunt down my wireless keyboard, turn on my television, and go the Windows menu option to put it to sleep. I was hoping that maybe there was a simple configuration option to get NextPVR and/or Kodi to act like Windows Media Center in how it prevents the system from sleeping if someone tries to trigger sleep.


*My leading theory as to why it sometimes stays awake when it isn't supposed to is that the Plex server running on the same box sees another PC up and running on my network and keeps the HTPC awake in case it needs to serve up a show to one of the other computer.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,549 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 998 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,076 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,194 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,734 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,269 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,038 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,531 2021-03-21, 11:21 PM
Last Post: careads
Video Restrict Recording Space foucomm 1 1,327 2021-01-30, 09:25 PM
Last Post: mvallevand
  Lights-Out for Windows Home Server 2011? TuckerDean 1 1,335 2021-01-28, 01:52 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode