[mythtv-commits] Ticket #1957: Inconsitently capitalised program titles result in episodes orphaned from titles in PlaybackBox::FillList()

MythTV mythtv at cvs.mythtv.org
Fri Jun 16 15:19:57 UTC 2006


#1957: Inconsitently capitalised program titles result in episodes orphaned from
titles in PlaybackBox::FillList()
---------------------------------------+------------------------------------
 Reporter:  charlton.duncan at gmail.com  |       Owner:  ijr
     Type:  defect                     |      Status:  new
 Priority:  trivial                    |   Milestone:     
Component:  mythtv                     |     Version:     
 Severity:  low                        |  
---------------------------------------+------------------------------------
 This is not per se a bug in PlaybackBox but the attached patch provides
 mitigation in the case of inconsistent guide data.

 = Example =


 The BBC recently broadcast a 3 part series called 'The Line of Beauty'.
 The titles for the episodes were inconsistently capitalised in the guide
 data - two episodes were billed as 'The Line of Beauty' and one as 'The
 Line Of Beauty'. All three episodes appeared in the 'All Programs' list in
 the PlaybackBox but only two appeared under the title 'The Line of
 Beauty'. The third episode was orphaned and did not appear under '''any'''
 title.

 = Patch =

 A patch is attached that fixes the problem in the VIEW_TITLES case. It
 does not, by intention, fix similar situations in the VIEW_RECGROUPS and
 VIEW_CATEGORIES cases. Propogation of the fix to those cases is, I think,
 trivial and I will be pleased to do so if it is felt to be appropriate (I
 am not presently convinced that it is).

 The patch, hopefully, gives most gain for least pain. The result in the
 case of inconsistent captilisation is probably the desired behaviour.
 There is a similar case which occurs with, for example, programs titled
 'Foobar' and 'The Foobar' - this patch prevents one of those from becoming
 orphaned but the the behaviour in that case may not be ideal.

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


More information about the mythtv-commits mailing list