Opened 18 years ago
Closed 18 years ago
#1957 closed patch (fixed)
Inconsitently capitalised program titles result in episodes orphaned from titles in PlaybackBox::FillList()
Reported by: | Owned by: | Robert Tsai | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (3)
Changed 18 years ago by
Attachment: | pbb-orphan.diff added |
---|
comment:1 Changed 18 years ago by
Owner: | changed from Isaac Richards to Robert Tsai |
---|---|
Type: | defect → patch |
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch