Opened 10 years ago

Closed 10 years ago

#6912 closed defect (fixed)

fix xmltv ratings

Reported by: Andrew Cain <mail.andrew.cain@…> Owned by: stuartm
Priority: minor Milestone: 0.23
Component: MythTV - Mythfilldatabase Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Small fix for mythfilldatabase. xmltvparser incorrectly ignores ratings if the rating system is blank. This is the case with my xmltv provider. The xmltv DTD here http://xmltv.cvs.sourceforge.net/*checkout*/xmltv/xmltv/xmltv.dtd doesn't exclude the use of empty "rating system" while still having valid "rating" values.

Patch included. I have been using patch for 1 year, including current trunk and 0.21. However, have only tested with my xmltv provider.

Attachments (1)

ratings.patch (647 bytes) - added by Andrew Cain <mail.andrew.cain@…> 10 years ago.
xmltvparser ratings patch

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Andrew Cain <mail.andrew.cain@…>

Attachment: ratings.patch added

xmltvparser ratings patch

comment:1 Changed 10 years ago by stuartm

Milestone: unknown0.23
Status: newaccepted

comment:2 Changed 10 years ago by stuartm

Resolution: fixed
Status: acceptedclosed

(In [23371]) Always parse the censors rating from xmltv even when no rating system is given. Fixes #6912

Note: See TracTickets for help on using tickets.