[mythtv-commits] Ticket #13481: Missed recordings caused by EIT guide update

MythTV noreply at mythtv.org
Mon Sep 2 19:50:50 UTC 2019


#13481: Missed recordings caused by EIT guide update
---------------------------------+---------------------------
     Reporter:  Klaas de Waal    |      Owner:  Klaas de Waal
         Type:  Patch - Bug Fix  |     Status:  assigned
     Priority:  minor            |  Milestone:  31.0
    Component:  MythTV - EIT     |    Version:  Master Head
     Severity:  low              |   Keywords:  EIT
Ticket locked:  0                |
---------------------------------+---------------------------
 **Problem**

 In a system that uses EIT for the guide data, if you schedule a single
 recording and the start time does later on change even as little as
 one minute then the entry will be shown in the "Upcoming Recordings"
 as "Not listed" and it will not be recorded.

 **Analysis**

 The programs scheduled to be recorded, i.e. the records in database table
 program, are identified by the fields chanid plus starttime.
 The EIT program guide updates do change sometimes the program starttime.
 There are a number of tables that also store program related information
 and that use the same primary key of chanid plus starttime.
 The EIT program update code does update the starttime in all these tables,
 but NOT in the database table record. This is the table that is used by
 the scheduler and, for single record recordings only, the starttime is
 used to identify the program to be recorded. When the starttime is changed
 the program cannot be found anymore and it will not be recorded.

 **Solution**

 The solution is to update the starttime also in table record when the EIT
 update code updates the program starttime. This is implemented in the
 attached patch.

 **Additional information**

 There is an extensive email thread in the developers mailing list, title
 "Missed recordings caused by EIT guide update", started 23 Aug 2019, which
 describes this bug, the solution presented here and possible alternative
 solutions in more detail.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13481>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list