Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #5816: Guide rating for programa data from tv_grab_uk_rt produces nonsensical results

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Oct 12, 2008, 8:35 AM

Post #1 of 2 (101 views)
Permalink
Ticket #5816: Guide rating for programa data from tv_grab_uk_rt produces nonsensical results

#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
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 12, 2008, 9:29 AM

Post #2 of 2 (94 views)
Permalink
Re: Ticket #5816: Guide rating for programa data from tv_grab_uk_rt produces nonsensical results [In reply to]

#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: closed
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Resolution: wontfix
Mlocked: 0 |
--------------------------------------+-------------------------------------
Changes (by stuartm):

* status: new => closed
* resolution: => wontfix


Comment:

Adding grabber specific hacks is not a solution and won't happen, we've
spent the last two years removing such hacks because they are a pain to
maintain.

XMLTV makes no recommendation on the multiples used,merely that the rating
should be in the format "N / M". It doesn't specify that N or M should be
integers, but that is implied. We might store the value as a string
instead of a float but that has display issues - themers can't easily
represent differing schemes with star images for example.

On systems with multiple and differing different sources you'd have rating
information which didn't relate in a straight comparison. You wouldn't be
able to setup recording rules for all films with 5 stars, if one scheme
was rated out of 5 and the other out of 100.

I'm not really sure why Myth uses a 4 star rating internally, by far the
most common multiple is 5 (5,10,100). I think this could be changed to 5
or 10 but it needs some discussion first. It would at least match up with
other areas both mythmusic and mythvideo use 10 and this sort of UI
consistency is what we're moving towards.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5816#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.