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

MythTV noreply at mythtv.org
Sat Sep 7 19:38:58 UTC 2019

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

Comment (by gigem):

 Replying to [comment:1 Klaas de Waal]:
 > **Change the primary key for table program**\\
 > The table program has chanid plus starttime as the primary key. If the
 table program would have a primary key that is independent of the data
 then a reference to an entry in the table program would remain valid even
 if the starttime changes.

 This is simply not true.  Even if all of the common, program information
 was moved to a new table indexed by by just programid, there will still
 need to be table indexed by channel, time and program.  That's just how a
 program guide must work.  FWIW, I'm in favor of moving that common program
 information to another table.  The current schema is the way it is because
 it predates any thoughts of having programids.

 > **Re-implement the "Single Recording"**\\
 > For all other types of recording the starttime is not used as a key and
 hence the problem of changing starttimes does not exist. For instance,
 with a power rule it is possible to search for a program with a specific
 title in a time interval. It should be possible to implement the "Single
 Recording" in this way.  This would solve the problem both for EIT and for
 XMLTV program guide updates.

 This is also not true.  Override and Don't Record rule types use program
 time too.

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

More information about the mythtv-commits mailing list