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 … 132 133 134 135 136 … 433 Next »
Keep awake during streaming

Keep awake during streaming
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#1
2016-04-11, 01:14 AM
I now am back into using NextPVR, but only use it to stream the current output of my Skybox, either via a sd capture card or the HDPVR.

I watch the streams either using VLC and the 'live?channnel=' command, or using Psycik's Plex channel.
I've noticed that if I wake the PC up using WOL, then it will go back to sleep when I am streaming from the PC.

I've changed my power settings, and if I wake the PC with the keyboard, it will stay on until I sleep it.
Ideally, I'd like it to stay awake when streaming, even on an unattended wake so I can change the power settings to sleep after XX minutes.

I'm pretty sure it works fine with the client connecting.

Is there any setting in NextPVR to combat the issue, or do I need to set something on PC for unattended wake ups.

Thanks
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2016-04-12, 06:27 AM
try this: [for win7+]
"Add_Allow_Sleep_with_Remote_Opens.reg"
Code:
Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; http://www.eightforums.com
; Tutorial: http://www.eightforums.com/tutorials/49805-power-options-add-allow-sleep-remote-opens.html


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d]
"Attributes"=dword:00000002

and:
"Add_System_unattended_sleep_timeout_setting.reg"
Code:
Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: http://www.sevenforums.com/tutorials/246364-power-options-add-system-unattended-sleep-timeout.html


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0]
"Attributes"=dword:00000002
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#3
2016-04-12, 07:52 AM
Thanks. I'll give it a go.
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#4
2016-04-12, 09:22 AM
Unfortunately that didn't work
(well, I can set the unattended wake timer to a longer delay, but I don't know how long I want to be streaming for at any point) Sleep with remote opens was already set to off


Sub, when live tv is called using live?channel= syntax
should the recording service set the system state the same as if it was recording / supplying live tv? (thereby preventing sleep)

I'm pretty sure the plex channel uses this URL also. What does the XBMC plugin use?
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2016-04-13, 06:44 AM
what win version is your server on? in 7+ you can set in power policy : 'Dont allow sleep while streaming media' or similar wording in the advanced section..
usually works for me..
[too well as i needed the 'allow sleep with remote opens' to allow it to *ever* sleep even after shutting down client..
tho that may be because i accessed it by npvr client, it uses .net remoting and i believe that's what was keeping mine awake..]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#6
2016-04-13, 07:37 AM
Win 7. Tried that option, but think I had it tonset to go to away mode. I'll try the other tonight.
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#7
2016-04-13, 01:18 PM
JonnyCam Wrote:Unfortunately that didn't work
(well, I can set the unattended wake timer to a longer delay, but I don't know how long I want to be streaming for at any point) Sleep with remote opens was already set to off


Sub, when live tv is called using live?channel= syntax
should the recording service set the system state the same as if it was recording / supplying live tv? (thereby preventing sleep)
My understanding is that this action already tries to keep the machine awake. I can't check it until I'm back in NZ in a week. If you're still having the issue then, bump the thread and I'll take a look.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,227
Threads: 958
Joined: May 2006
#8
2016-04-13, 02:09 PM
My headless Vista backend never sleeps during hours of http streaming live TV and I don't have any power tweaks except increased unattended sleep to 5 minutes for EPG updates. When not streaming WOL and a 5 minutes sleep work fine.

Martin
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#9
2016-05-18, 08:10 AM
I've still got this problem. I'm guessing it's not a NPVR thing but something else on the PC sleeping it. (as Martin's is working fine)
I've attached logs for when I wake using WOL and stream, and it goes to sleep after a few minutes.

Also attached are logs when I wake with a hit of the spacebar, which stays awake the whole time.
In the event viewer for the unattended sleep, it says the reason is 'Application API'


any help would be appreciated.
Thanks
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,227
Threads: 958
Joined: May 2006
#10
2016-05-18, 12:56 PM
You'd need to fix the source, as it stops delivering data. Maybe your STB goes into a power save mode if you don't hit a remote key. I now in my EPG update I have to send a key to mine or I get a recording that say please hit any key to resume.

Code:
2016-05-18 19:15:23.953    [DEBUG][20]    Waiting for more data (pos: 159800000, len: 159831960, avail: 31960
...
2016-05-18 19:15:58.531    [ERROR][8]    Live stream expired without renewal. (handle:180001)
...
2016-05-18 19:16:14.351    [DEBUG][20]    Waiting for more data (pos: 159800000, len: 159831960, avail: 31960
...
2016-05-18 19:16:14.757    [DEBUG][20]    reached end of rolling file. Dropping connection...

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Streaming Services with NPVR tesla1886 4 2,947 2021-01-04, 02:58 AM
Last Post: tesla1886
  Web streaming security bisonfan 13 4,724 2019-11-06, 01:58 PM
Last Post: mvallevand
  Web Cleint Streaming Failed (Transcoder Exited) SilverTiger 6 4,056 2019-08-14, 10:24 PM
Last Post: SilverTiger
  log files for streaming outside network MaxOne72 9 2,917 2019-07-26, 05:32 AM
Last Post: persim
  streaming outside network MaxOne72 3 1,620 2019-07-24, 12:54 AM
Last Post: mvallevand
  HDHomeRun Premium Streaming channels ccihon 5 1,890 2018-11-21, 02:21 AM
Last Post: sub
  Not all channels streaming after upgrade rosede 66 18,995 2018-09-27, 12:35 PM
Last Post: BrettB
  Channels with AC3 give laggy video and doesn't work when streaming jeppetinghoej 12 3,649 2018-02-26, 09:23 PM
Last Post: sub
  Streaming Failed (transcoder exited) Coolbob99 3 2,630 2018-01-29, 01:00 AM
Last Post: sub
  Support for on demand streaming channels ? NicolasK 4 2,357 2018-01-17, 04:59 PM
Last Post: NicolasK

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

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

Linear Mode
Threaded Mode