Project

General

Profile

Bug #4017

Recording ends prematurely

Added by Ivan Kalvachev about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
PVR / DVR
Target version:
-
Start date:
2016-10-10
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-2267~g6efcfd2
Affected Versions:

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

1a76e44ad96fd074689cc9610773f72a (905 Bytes) 1a76e44ad96fd074689cc9610773f72a DVR config Artur Marczok, 2016-10-11 07:06
tvheadend.log (44.8 KB) tvheadend.log tvheadend.log Artur Marczok, 2016-10-11 07:07
file_length2.png (16.3 KB) file_length2.png Joey Joey, 2016-10-11 08:41
file_length1.png (14.8 KB) file_length1.png Joey Joey, 2016-10-11 08:41
finished_recording.png (12.5 KB) finished_recording.png Joey Joey, 2016-10-11 08:41
Channel_Config.PNG (8.64 KB) Channel_Config.PNG Use EPG running state 'disabled' Artur Marczok, 2016-10-11 14:16
DVR_Config_1.PNG (15.5 KB) DVR_Config_1.PNG Use EPG running state unchecked Artur Marczok, 2016-10-11 14:16
schedule.PNG (7.18 KB) schedule.PNG scheduled stopt time Artur Marczok, 2016-10-11 14:16
tvheadend_2.log (196 KB) tvheadend_2.log Artur Marczok, 2016-10-11 14:18

History

#1

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

#2

Updated by Artur Marczok about 8 years ago

Same here (HTS Tvheadend 4.1-2267~g6efcfd2)

#3

Updated by Joey Joey about 8 years ago

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.

#4

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

#5

Updated by Artur Marczok about 8 years ago

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.

#6

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.

#7

Updated by Jaroslav Kysela about 8 years ago

Oops. It's really a bug. Fixed in v4.1-2269-g22cf3b4 .

#8

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 ;) )

#9

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!

Also available in: Atom PDF