[mythtv-commits] Ticket #5955: Guide start channel not always correct

MythTV mythtv at cvs.mythtv.org
Tue Dec 2 06:16:09 UTC 2008

#5955: Guide start channel not always correct
 Reporter:  wstewart at hgrace.com  |       Owner:  ijr    
     Type:  defect               |      Status:  new    
 Priority:  minor                |   Milestone:  unknown
Component:  mythtv               |     Version:  unknown
 Severity:  medium               |     Mlocked:  0      
 If there are multiple channels with the same call sign, the guide will not
 necessary select the right channel to start the guide on.

 Best explained by an example. Lets say there are channels
 123   ABC
 1167  ABC
 where ABC is the callsign and 123, 1167 are the channum.

 If livetv is viewing 1167, then when the guide is started it will start on
 123 instead.  If there are no duplicates it starts on the right channel.
 The guide does in fact display both channels 123 and 1167, it just starts
 on the wrong one.

 This due to the code in guidegrid.cpp, fillChannelInfos that handles
 duplicates.  Then in FindChannel, the inner loop of the first check will
 check the duplicates and thus return the index of 123 instead of 1167

 I would suggest a patch, but I am not sure why this code is there to
 handle duplicates.  This problem would seem to be related to [16882].  I
 recall this use to work fine.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5955>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list