[mythtv-commits] Ticket #5816: Guide rating for programa data from tv_grab_uk_rt produces nonsensical results
MythTV
mythtv at cvs.mythtv.org
Sun Oct 12 15:35:31 UTC 2008
#5816: Guide rating for programa data from tv_grab_uk_rt produces nonsensical
results
--------------------------------------+-------------------------------------
Reporter: lists at benlancaster.co.uk | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Mlocked: 0
--------------------------------------+-------------------------------------
Guide ratings from tv_grab_uk_rt are in multiples of 0.2 (0, 0.2, 0.4,
0.6, 0.8 and 1), but
[source:/trunk/mythtv/libs/libmythtv/programinfo.cpp#L647 programinfo.cpp]
multiplies them by 4, giving odd guide ratings for shows. Should there be
a check for the data source somewhere around line 639 to multiply the
guide rating by 5 for data from the UK RadioTimes grabber, and 4 for all
others so the displayed rating is an integer, rather than multiples of 0.8
as they are at the moment?
Are there other grabbers that provide ratings as multiples of 0.2?
I may have picked the wrong root cause of the issue here, perhaps the
grabber is producing the less-useful numbers. I'm no C programmer, hence
not submitting a patch of my own.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5816>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list