2020-06-29, 10:08 PM
Hi,
I've been using NextPVR for many years now and recently took the decision to upgrade to version 5. I like it very much but I've been having some problems with it terminating recordings early.
It's taken me a little while to work out when it's happening, but it seems that sometimes, after my Windows PC has screen locked, when I sign back in the recording stops. I noticed this today when returning to my PC and unlocking it, expecting Hawaii 5-0 to be recording, the npvr notification icon was green rather than red. Checking the log file (below) I can see that the recording started fine at 18:55 (I do five minutes before, 10 minutes after as standard), but it was when I logged in at around 19:55 (irritatingly 5 mins before the end!) that the recording shutdown, and the log notes it got a 'GET request: /shutdown' at this point.
I have tried forcing it to quit - starting a recording, locking the PC and signing back in to see if I could halt the recording in its tracks, but without any success and examining the logs files, no shutodwn line, just a more usual 'GET request: /stream/stop?handle=3' line at the end of the recording amongst all the others about stopping graphs and filters. So it does not seem to do it every time, and has done many recording perfectly. It's just an occasional thing.
I could of course do some workarounds - I could return to version 4, I could stop my screen locking, I could studiously avoid unlocking my machines at times likely to impinge on a recording, but none of those are things I really want to do.
So, has anyone got any suggestions, any idea what causes this 'GET request: /shutdown' to be emitted?
Many thanks.
PS: I guess you may want to know, I'm running Windows 10 1909, NextPVR 5.0.6 (200614), using a Hauppauge WinTV-QuadHD, with a Ryzen 7 2700 and 32Gb of RAM.
I've been using NextPVR for many years now and recently took the decision to upgrade to version 5. I like it very much but I've been having some problems with it terminating recordings early.
It's taken me a little while to work out when it's happening, but it seems that sometimes, after my Windows PC has screen locked, when I sign back in the recording stops. I noticed this today when returning to my PC and unlocking it, expecting Hawaii 5-0 to be recording, the npvr notification icon was green rather than red. Checking the log file (below) I can see that the recording started fine at 18:55 (I do five minutes before, 10 minutes after as standard), but it was when I logged in at around 19:55 (irritatingly 5 mins before the end!) that the recording shutdown, and the log notes it got a 'GET request: /shutdown' at this point.
Code:
[...startup]
2020-06-29 18:55:00.165 [DEBUG][1] Args...
2020-06-29 18:55:00.166 [DEBUG][1] -listen:51994
2020-06-29 18:55:00.166 [DEBUG][1] -type:DVB-T
2020-06-29 18:55:00.166 [DEBUG][1] -device:Hauppauge WinTV 885 DVBT Tuner/Demod
2020-06-29 18:55:00.166 [DEBUG][1] -instance:1
2020-06-29 18:55:00.166 [DEBUG][1] -parent:14408
2020-06-29 18:55:00.166 [DEBUG][1] Starting web server on port: 51994
2020-06-29 18:55:00.203 [DEBUG][1] Found parent process: NextPVRServer
2020-06-29 18:55:00.204 [INFO][4] Got POST request: /stream/start?slipseconds=1200&target=M%3A%5COff-Air%5CHawaii%20Five-0%5CHawaii%20Five-0_20200629_19002000.ts
2020-06-29 18:55:00.205 [DEBUG][4] Starting Stream: M:\Off-Air\Hawaii Five-0\Hawaii Five-0_20200629_19002000.ts
2020-06-29 18:55:00.205 [DEBUG][4] SlipSeconds: 1200
2020-06-29 18:55:00.205 [DEBUG][4] Tuning:
<tuning>
<type>DVB-T</type>
<locator>
<frequency>554000</frequency>
<bandwidth>8</bandwidth>
</locator>
<service_id>22208</service_id>
<tsid>20544</tsid>
<onid>9018</onid>
<service_type>1</service_type>
<provider></provider>
</tuning>
2020-06-29 18:55:00.229 [DEBUG][4] StartStream(): M:\Off-Air\Hawaii Five-0\Hawaii Five-0_20200629_19002000.ts
2020-06-29 18:55:00.277 [DEBUG][4] Using tuner: Hauppauge WinTV 885 DVBT Tuner/Demod (1)
2020-06-29 18:55:00.277 [DEBUG][4] About to connect...
2020-06-29 18:55:00.277 [DEBUG][4] has network provider
2020-06-29 18:55:00.278 [DEBUG][4] has tuner
2020-06-29 18:55:00.299 [INFO][4] [4b4332e6-c822-11db-beb400a0c9f21fc7]-00080000-00000000
2020-06-29 18:55:00.299 [DEBUG][4] About to auto detect capture filter...
2020-06-29 18:55:00.300 [INFO][4] Need match: [4b4332e6-c822-11db-beb400a0c9f21fc7]-00080000-00000000
2020-06-29 18:55:00.302 [DEBUG][4] dw1=00080000 vs 00080000
2020-06-29 18:55:00.303 [DEBUG][4] Got capture filter: 'Hauppauge WinTV 885 TS Capture'
2020-06-29 18:55:00.303 [INFO][4] medium: [4b4332e6-c822-11db-beb400a0c9f21fc7]-00080000-00000000
2020-06-29 18:55:00.303 [DEBUG][4] Added capture filter
2020-06-29 18:55:00.305 [DEBUG][4] Connected Tuner to Capture
2020-06-29 18:55:00.339 [DEBUG][4] Graph filter list:
2020-06-29 18:55:00.340 [DEBUG][4] - MPEG-2 Sections and Tables
2020-06-29 18:55:00.340 [DEBUG][4] - BDA MPEG2 Transport Information Filter
2020-06-29 18:55:00.340 [DEBUG][4] - MPEG-2 Demultiplexer
2020-06-29 18:55:00.340 [DEBUG][4] - NPVR TS Mon
2020-06-29 18:55:00.340 [DEBUG][4] - Capture
2020-06-29 18:55:00.340 [DEBUG][4] - Tuner
2020-06-29 18:55:00.340 [DEBUG][4] - Network Provider
2020-06-29 18:55:00.340 [DEBUG][4] Starting graph...
2020-06-29 18:55:00.461 [DEBUG][4] Calling LockChannel()
2020-06-29 18:55:00.461 [DEBUG][4] locked=0, present=0, strength=40000, quality=0 (took 0ms to check)
2020-06-29 18:55:00.463 [DEBUG][4] DigitalRecorderDVBT::Tune@1
2020-06-29 18:55:00.463 [DEBUG][4] DigitalRecorderDVBT::Tune@2
2020-06-29 18:55:00.463 [DEBUG][4] DigitalRecorderDVBT::Tune@3
2020-06-29 18:55:00.463 [DEBUG][4] DigitalRecorderDVBT::Tune@4
2020-06-29 18:55:00.473 [DEBUG][4] DigitalRecorderDVBT::Tune@5
2020-06-29 18:55:01.436 [DEBUG][4] DigitalRecorderDVBT::Tune@post
2020-06-29 18:55:01.436 [DEBUG][4] KSPROPERTY_HCW_DVB_T2_PLP_INDEX Supported
2020-06-29 18:55:01.550 [DEBUG][4] MPLP count: 0
2020-06-29 18:55:01.612 [DEBUG][4] MPLP count: 0
2020-06-29 18:55:01.615 [DEBUG][4] Calling LockChannel()
2020-06-29 18:55:02.542 [DEBUG][4] locked=1, present=1, strength=-10000, quality=100 (took 922ms to check)
2020-06-29 18:55:02.542 [DEBUG][4] StartStream()@exit handle=1
2020-06-29 18:55:02.542 [DEBUG][4] StartStream succeded. Handle: 1
2020-06-29 19:54:48.073 [INFO][5] Got GET request: /shutdown
I have tried forcing it to quit - starting a recording, locking the PC and signing back in to see if I could halt the recording in its tracks, but without any success and examining the logs files, no shutodwn line, just a more usual 'GET request: /stream/stop?handle=3' line at the end of the recording amongst all the others about stopping graphs and filters. So it does not seem to do it every time, and has done many recording perfectly. It's just an occasional thing.
I could of course do some workarounds - I could return to version 4, I could stop my screen locking, I could studiously avoid unlocking my machines at times likely to impinge on a recording, but none of those are things I really want to do.
So, has anyone got any suggestions, any idea what causes this 'GET request: /shutdown' to be emitted?
Many thanks.
PS: I guess you may want to know, I'm running Windows 10 1909, NextPVR 5.0.6 (200614), using a Hauppauge WinTV-QuadHD, with a Ryzen 7 2700 and 32Gb of RAM.