NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 2 3 4 5 111 Next »
Standby/Sleep During Playback

 
  • 0 Vote(s) - 0 Average
Standby/Sleep During Playback
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 55,291
Threads: 985
Joined: May 2006
#31
2025-03-02, 07:54 PM (This post was last modified: 2025-03-02, 07:57 PM by mvallevand.)
In another test it did partially work (no prevent standby until the recording ended though and then the don't continue to the end.

Code:
2025-03-02 14:31:01.230    [DEBUG][11]    PowerManagement AllowSleep
2025-03-02 14:31:01.230    [DEBUG][11]    No longer active
2025-03-02 14:31:26.474    [DEBUG][55]    PowerManagement PreventStandby...
2025-03-02 14:32:28.977    [DEBUG][55]    PowerManagement PreventStandby...
2025-03-02 14:33:29.575    [DEBUG][55]    PowerManagement PreventStandby...
2025-03-02 14:33:50.096    [DEBUG][3]    PowerManagement PreventStandby...
but they stop being sent at that point even though it was streaming.
2025-03-02 14:36:38.081    [VERBOSE][16]    RollingFile.Close()
2025-03-02 14:36:38.092    [DEBUG][16]    Got request [172.16.3.30]: /service (recording.watched.set)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,544
Threads: 776
Joined: Nov 2003
#32
2025-03-02, 08:50 PM
It's possible it had already sent the whole file by that point, so was no longer actively in the loop where PreventStandby is called.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 55,291
Threads: 985
Joined: May 2006
#33
2025-03-02, 09:27 PM (This post was last modified: 2025-03-02, 09:28 PM by mvallevand.)
That's a good bet there was a burst here after the last standby

2025-03-02 14:33:54.113 [DEBUG][55] Sent total of 3384000 bytes

with minor transfers every 2 seconds after that until the end.

2025-03-02 14:33:56.121 [DEBUG][55] Sent total of 282000 bytes
2025-03-02 14:33:58.130 [DEBUG][55] Sent total of 282000 bytes
2025-03-02 14:34:00.140 [DEBUG][55] Sent total of 282000 bytes
2025-03-02 14:34:02.149 [DEBUG][55] Sent total of 282000 bytes
2025-03-02 14:34:04.158 [DEBUG][55] Sent total of 282000 bytes
...

I did another test and nothing is logged while paused either.

2025-03-02 16:23:10.271 [VERBOSE][11] STATUS: pending 0, recording 0
2025-03-02 16:24:10.552 [VERBOSE][11] STATUS: pending 0, recording 0
2025-03-02 16:24:48.739 [VERBOSE][158] Checking for expired UI client sessions
2025-03-02 16:25:10.828 [VERBOSE][11] STATUS: pending 0, recording 0
2025-03-02 16:26:11.076 [VERBOSE][11] STATUS: pending 0, recording 0
2025-03-02 16:27:11.335 [VERBOSE][11] STATUS: pending 0, recording 0
play
2025-03-02 16:27:11.873 [DEBUG][172] PowerManagement PreventStandby...

I guess as long as the flag is set it doesn't matter what is logged.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,544
Threads: 776
Joined: Nov 2003
#34
2025-03-02, 11:20 PM
From memory it only does it every minute, so you need to have been streaming for at least a minute. (ie, not reached the end of a small file, or skipped to effectively start the timer again)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 55,291
Threads: 985
Joined: May 2006
#35
2025-03-02, 11:35 PM
That might explain something. After the in-progress ends pvr.nextpvr tries to read more data (it still thinks it is in-progress ) so it will never reach one minute after an open.

Code:
2025-03-02 14:31:28.477    [DEBUG][3]    RollingFile.Open(C:\Users\Public\Videos\Married  With Children\Season 02\Married.With.Children.S02E07.For.Whom.the.Bell.Tolls.ts) ..
2025-03-02 14:31:28.494    [DEBUG][55]    RollingFile.Open(C:\Users\Public\Videos\Married  With Children\Season 02\Married.With.Children.S02E07.For.Whom.the.Bell.Tolls.ts) ..
2025-03-02 14:33:40.599    [VERBOSE][55]    RollingFile.Close()
2025-03-02 14:33:50.097    [VERBOSE][3]    RollingFile.Close()
2025-03-02 14:33:52.099    [DEBUG][21]    RollingFile.Open(C:\Users\Public\Videos\Married  With Children\Season 02\Married.With.Children.S02E07.For.Whom.the.Bell.Tolls.ts) ..
2025-03-02 14:33:52.103    [DEBUG][55]    RollingFile.Open(C:\Users\Public\Videos\Married  With Children\Season 02\Married.With.Children.S02E07.For.Whom.the.Bell.Tolls.ts) ..
2025-03-02 14:33:52.103    [VERBOSE][55]    RollingFile.Close()
2025-03-02 14:33:52.105    [VERBOSE][21]    RollingFile.Close()
2025-03-02 14:33:54.107    [DEBUG][55]    RollingFile.Open(C:\Users\Public\Videos\Married  With Children\Season 02\Married.With.Children.S02E07.For.Whom.the.Bell.Tolls.ts) ..
2025-03-02 14:33:54.110    [DEBUG][3]    RollingFile.Open(C:\Users\Public\Videos\Married  With Children\Season 02\Married.With.Children.S02E07.For.Whom.the.Bell.Tolls.ts) ..
2025-03-02 14:33:54.111    [VERBOSE][3]    RollingFile.Close()
2025-03-02 14:33:54.113    [VERBOSE][55]    RollingFile.Close()
repeating

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,544
Threads: 776
Joined: Nov 2003
#36
2025-03-02, 11:50 PM
I've made a change so the lastKeepAwake time is a static, so that the skipping / rerequesting won't reset the timer.
fla
Offline

Posting Freak

Posts: 916
Threads: 48
Joined: Mar 2006
#37
2025-03-03, 01:05 AM
(2025-03-02, 05:16 PM)sub Wrote: fla, if your scenario was using this method for streaming, and you set <LogPowerManagement>true</LogPowerManagement> you should see regular "PowerManagement PreventStandby..." messages in nrecord.log
Just saw this, rough day health-wise... Sounds like the two gurus have found something already. I've got my LogPowerManagement turned on and willing to test.
gEd
Offline

Posting Freak

London
Posts: 3,546
Threads: 100
Joined: Jan 2005
#38
2025-05-03, 03:05 PM
I was reminded about this thread when UIdroid completely hung earlier today when watching a recording. I realised that this was because the PC had gone to sleep (because it was during the part of the day when it's allowed to sleep if it want's).

After setting <LogPowerManagement>true</LogPowerManagement> (NOT True I discovered....) and updating to the latest pre-release (I was on the december release before) now shows "PowerManagement StayAwake" when playing back via UIDroid.

Cool!
fla
Offline

Posting Freak

Posts: 916
Threads: 48
Joined: Mar 2006
#39
2025-05-03, 05:38 PM
Thanks @gEd I didn't know about prerelease builds. I installed Version: 7.0.1.250421 and played a recording over LAN from kodi and the nrecord.log on the Win11 server does indeed show "[DEBUG][19] PowerManagement PreventStandby..." every minute.

The bad news is if I run "powercfg /requests" on the Win11 server (Administrator Command Prompt) it always shows "None" for all categories. Do you see actual requests on the server?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 55,291
Threads: 985
Joined: May 2006
#40
2025-05-03, 07:59 PM
See https://forums.nextpvr.com/showthread.ph...#pid599383

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): « Previous 1 2 3 4 5 6 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  PC Enter Standby Issues BTV2Nextpvr 4 475 2026-03-03, 11:55 AM
Last Post: BTV2Nextpvr
  client playback Dale Dewing 8 811 2026-01-13, 12:42 PM
Last Post: JamesAllen
  [SOLVED] Windows won't sleep after waking for EPG update fla 2 515 2025-10-30, 07:56 PM
Last Post: fla
  NextPVRServer.exe preventing sleep after watching live TV alanteague 9 2,030 2025-08-09, 05:23 PM
Last Post: Bobins
  New Installation on WIN11 Sleep Problem 12vibes 3 1,077 2025-07-09, 03:57 PM
Last Post: 12vibes
  nextpvr.exe playback issues? hae 7 2,199 2025-05-31, 09:02 PM
Last Post: sub
  playback issue artmetz 4 1,433 2025-03-28, 07:47 PM
Last Post: artmetz
  NextPVRServer.exe (Version 7) Preventing Sleep PVR_Convert 4 1,430 2025-02-18, 07:18 PM
Last Post: mvallevand
  No standby after update to Version 7 Escape7 163 30,698 2025-01-04, 05:27 PM
Last Post: sub
  Jerky Playback at 2160p dshorrosh 6 1,662 2024-07-17, 01:49 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