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

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

Posting Freak

Ontario Canada
Posts: 52,820
Threads: 954
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: 106,650
Threads: 767
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: 52,820
Threads: 954
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: 106,650
Threads: 767
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: 52,820
Threads: 954
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: 106,650
Threads: 767
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: 880
Threads: 46
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,514
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!
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
fla
Offline

Posting Freak

Posts: 880
Threads: 46
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: 52,820
Threads: 954
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 (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  playback issue artmetz 4 338 2025-03-28, 07:47 PM
Last Post: artmetz
  NextPVRServer.exe (Version 7) Preventing Sleep PVR_Convert 4 360 2025-02-18, 07:18 PM
Last Post: mvallevand
  No standby after update to Version 7 Escape7 163 9,100 2025-01-04, 05:27 PM
Last Post: sub
  nextpvr.exe playback issues? hae 5 554 2024-12-29, 10:15 PM
Last Post: hae
  Jerky Playback at 2160p dshorrosh 6 564 2024-07-17, 01:49 PM
Last Post: mvallevand
  Error at 58 minutes playback Offroad 4 570 2024-06-01, 01:17 PM
Last Post: Offroad
  Recording wont resume, just playback from beginning dallascowboy23 26 2,690 2024-05-15, 01:35 PM
Last Post: mvallevand
  Sleep WakeUp, PC shuts down instead FM5 3 474 2024-05-09, 09:52 PM
Last Post: mvallevand
  Playback record skips back while recording a program sgar75 2 586 2024-03-23, 05:41 AM
Last Post: sgar75
  Occasional delay during skip/playback artmetz 11 1,287 2023-11-11, 03:29 PM
Last Post: artmetz

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

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

Linear Mode
Threaded Mode