[mythtv-commits] Ticket #6638: New channel scanner needs "delete old lineup" option.

MythTV mythtv at cvs.mythtv.org
Fri Jun 26 16:43:23 UTC 2009

#6638: New channel scanner needs "delete old lineup" option.
 Reporter:  danielk                   |        Owner:  danielk
     Type:  defect                    |       Status:  new    
 Priority:  minor                     |    Milestone:  0.22   
Component:  MythTV - Channel Scanner  |      Version:  head   
 Severity:  medium                    |   Resolution:         
  Mlocked:  0                         |  

Comment(by barberio at lineone.net):

 I tried raising this issue as a bug before in #6600 but it was closed with
 the confusing response of "Trac is not a discussion forum."

 The current issue is that mythtv caches the channel lineup in the
 database, and *keeps that cache even after deleting the channel*. Deleting
 the channels in the user interface, and performing a rescan, *does not
 generate the new lineup*. It will recreate some channels from the previous
 lineup, that no longer exist, but were in the database. Some times this
 overwrites channels in the new lineup. This means mythtv can't handle
 lineup changes gracefully, and requires the user to manually edit channel
 data, perform a database flush from the command line, and then rescan.

 Specifically, I pointed to an instance of this happening in the UK with a
 channel lineup change with one channel moving to a different MUX, it's PID
 being reused for a new +1 timeshift channel on the original mux. MythTV
 could not cope in that case, and simply kept the 'old' channel pointing at
 the +1, and ignored the 'new' channel.

 The fix is to, as a default behaviour, flush channel information on a
 channel entirely if it's EIT has changed. This would ensure that Myth's
 channel lineup matches what is being broadcast.

 I consider being out-of-sync with the broadcast EIT lineup after a rescan
 to be a critical bug.

Ticket URL: <http://svn.mythtv.org/trac/ticket/6638#comment:2>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list