Bug #4017
Recording ends prematurely
100%
Description
Yesterday I compiled new versions of tvheadend.
Today I found out that all 2 recordings have ended 15 minutes earlier than their EPG ending time.
They have been moved to "Finished Recordings" with zero "Errors" and with the correct "Schedule stop time". There were no errors related to any of the recordings in log at the time when recordings have stopped.
I do have "Post-recording padding:" set to 15 minutes and it used to record 15 minutes after program EPG ending time.
My previous version was 4.1-2140~gf34fac1.
My running version is 4.1-2267~g6efcfd2.
Files
History
Updated by Jaroslav Kysela about 8 years ago
Check, if you have EITp/f enabled (running state check) in your DVR config. If it's off, provide '--trace dvr' . https://tvheadend.org/projects/tvheadend/wiki/Traces
Updated by Artur Marczok about 8 years ago
- File 1a76e44ad96fd074689cc9610773f72a 1a76e44ad96fd074689cc9610773f72a added
- File tvheadend.log tvheadend.log added
Same here (HTS Tvheadend 4.1-2267~g6efcfd2)
Updated by Joey Joey about 8 years ago
- File file_length1.png file_length1.png added
- File file_length2.png file_length2.png added
- File finished_recording.png finished_recording.png added
Same here...
TVheadend displays the scheduled start/stop time correctly, however the file details show that the recording was way shorter. It seems that pre and post recording padding isn't honored.
Updated by Jaroslav Kysela about 8 years ago
2016-10-11 07:03:20.717 [ TRACE]:dvr: dvr event running check for ENE MENE BU - und dran bist du on KiKA HD running 0 2016-10-11 07:03:20.717 [ DEBUG]:dvr: dvr entry 8c12294d64493a7b7f14d9eb775f93f8 event ENE MENE BU - und dran bist du on KiKA HD - EPG marking stop
Disable EITp/f status checking for this channel or in the whole DVR config. When it's set, the EPG info field from BROADCASTER determines start/stop times. Some broadcasters does not use these fields how they should be used.
For DVR config: "Use EPG running state" checkbox
For channel: "Use EPG running state" checkbox
Updated by Artur Marczok about 8 years ago
- File DVR_Config_1.PNG DVR_Config_1.PNG added
- File Channel_Config.PNG Channel_Config.PNG added
- File schedule.PNG schedule.PNG added
- File tvheadend_2.log tvheadend_2.log added
It wasn't set
"warm-time": 30,
"pre-extra-time": 6,
"post-extra-time": 11,
"epg-update-window": 86400,
"epg-running": false,
The scheduled stopt time was 14:21. But...
2016-10-11 14:09:01.906 [ DEBUG]:dvr: dvr entry 688badfa6444b7e0a781e535edcf19fa event Die Pfefferkörner on KiKA HD - EPG marking stop
2016-10-11 14:09:02.166 [ INFO]:subscription: 001F: "DVR: Die Pfefferkörner" unsubscribing from "KiKA HD"
2016-10-11 14:09:02.349 [ TRACE]:dvr: entry 688badfa6444b7e0a781e535edcf19fa - set state - state COMPLETED rec_state FINISHED error 'OK'
2016-10-11 14:09:02.350 [ TRACE]:dvr: entry 688badfa6444b7e0a781e535edcf19fa - retention timer - disarm
I've also changed the setting for the channel from 'not set' to 'disable'. The 'pre-extra-time' seems to work fine.
Updated by Jaroslav Kysela about 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|22cf3b4d6d609781989420f1c855545186614492.
Updated by Jaroslav Kysela about 8 years ago
Oops. It's really a bug. Fixed in v4.1-2269-g22cf3b4 .
Updated by Joey Joey about 8 years ago
Thanks, just updated and will give it a go tonight.
(The missus was pissed off all her favorite shows missed the ending )
Updated by Joey Joey about 8 years ago
Joey Joey wrote:
Thanks, just updated and will give it a go tonight.
(The missus was pissed off all her favorite shows missed the ending )
The fix works!