[mythtv-commits] Ticket #1223: TV listings should group by channum, not chanid

MythTV mythtv at cvs.mythtv.org
Sun Feb 5 21:27:30 UTC 2006

#1223: TV listings should group by channum, not chanid
 Reporter:  Robert Tsai <rtsai1111>  |       Owner:  xris
     Type:  patch                    |      Status:  new 
 Priority:  minor                    |   Milestone:      
Component:  mythtv                   |     Version:  head
 Severity:  low                      |  
 Grouping by chanid is strictly the most correct way to display TV
 listings, since it implicitly depicts which source will be recording which
 programs. However, this is overly verbose when different sources have
 overlapping channels (which I have assigned the same channum and
 callsign). For example, I have two separate antenna sources that overlap
 with some channels. The attached patch groups the TV listing by channum
 instead to help reduce the verbosity.

 Grouping by channum effectively picks a random chanid for each channel,
 however, which means that some scheduled recordings will be hidden, since
 the $Scheduled_Recordings structure is keyed by chanid. So this patch
 changes $Scheduled_Recordings to be keyed by channum.

 Upcoming Recordings, TV listings both now work as expected; clicking on a
 recording or timeslot will still direct the user to a page that references
 the true chanid.

 I chose channum as the new key rather than callsign; I think that is
 slightly more unique (and appropriately so). For example, in my area,
 there is an analog "WBZ" and a digital "WBZ-DT" (for broadcast HDTV).

 This patch supersedes #1054 and references [8873].

Ticket URL: <http://cvs.mythtv.org/trac/ticket/1223>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list