2017-05-21, 20:06
(2017-05-21, 19:05)h0dges Wrote: This is hopefully relevant as I've just experienced Kodi hanging whilst watching Live TV using nextPVR as backend.I've responded to your question about this on the NextPVR forum.
Comparing the log files reveals something interesting:
kodi.log:
Code:17:36:55.822 T:9332 NOTICE: CVideoPlayerAudio::Process - stream stalled
17:37:14.762 T:10028 NOTICE: CVideoPlayer::CloseFile()
17:37:14.762 T:10028 NOTICE: VideoPlayer: waiting for threads to exit
17:37:15.395 T:3588 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
NRecord.log:
Code:2017-05-21 17:36:52.801 [DEBUG][10] Updating EPG...
2017-05-21 17:36:52.801 [DEBUG][10] UpdateEPG@1
2017-05-21 17:36:52.809 [DEBUG][10] No C:\Users\Public\NPVR\Scripts\UpdateEPG.bat file found
2017-05-21 17:36:52.809 [DEBUG][10] UpdateEPG@2
2017-05-21 17:36:52.810 [DEBUG][10] Checking for any DVB/ATSC listings
2017-05-21 17:36:52.810 [DEBUG][10] CaptureSource.LoadAll()
2017-05-21 17:36:54.812 [DEBUG][10] UpdateEPG@3
2017-05-21 17:36:54.812 [DEBUG][10] CaptureSource.LoadAll()
2017-05-21 17:36:54.816 [DEBUG][10] Number of broadcastEPGChannels: 152
2017-05-21 17:36:54.816 [DEBUG][10] broadcast channel: BBC ONE Yorks
2017-05-21 17:36:54.816 [DEBUG][10] captureSourceOID: 24
2017-05-21 17:36:54.816 [DEBUG][10] found capture source
2017-05-21 17:36:54.816 [DEBUG][10] mapping:
<tuning>
<type>DVB-T</type>
<locator>
<frequency>682000</frequency>
<bandwidth>8</bandwidth>
</locator>
<service_id>100000</service_id>
<tsid>4170</tsid>
<onid>9018</onid>
<service_type>1</service_type>
<provider></provider>
</tuning>
2017-05-21 17:36:54.819 [DEBUG][10] Processing locator for 'BBC ONE Yorks'
2017-05-21 17:36:54.819 [DEBUG][10] Allocating IPC channel
2017-05-21 17:36:54.819 [DEBUG][10] Registering channel
2017-05-21 17:36:54.820 [DEBUG][10] About to get: ipc://DigitalHost-24/RecorderRemote
2017-05-21 17:36:54.820 [DEBUG][10] Got: ipc://DigitalHost-24/RecorderRemote
2017-05-21 17:36:54.820 [DEBUG][10] Asking NDigitalHost to start: c:\devxxxxxx\null.ts
2017-05-21 17:36:54.879 [DEBUG][3] Renew lease failed (0x180015)
2017-05-21 17:36:54.879 [DEBUG][3] liveHandleRenewalTime contains 1 handles:
2017-05-21 17:36:54.879 [DEBUG][3] - 0x180015
2017-05-21 17:36:55.238 [DEBUG][10] Scanning Freq:682000 SID:100000
60 seconds remaining...
2017-05-21 17:36:55.881 [DEBUG][3] StopStream(15)
Updating the EPG killed the stream and caused Kodi to hang. So the questions are:
- Can kodi fail more gracefully in this situation?
- Can NextPVR defer EPG update until a time it's not streaming?
- Or, can NextPVR utilise the second of the two tuners I have to perform the additional task?
Edit: Just looked at my NextPVR settings:
http://imgur.com/a/JhRiF
Update DVB EPG during live tv is turned off, yet this is not respected for some reason. Bug?
Software versions:
- Kodi 17.1
- NextPVR 3.9.2 (161119)
- NextPVR/Kodi Frontend 2.4.11