[mythtv-commits] Ticket #7810: Fraction part of star rating

MythTV mythtv at cvs.mythtv.org
Sun Jan 31 23:44:19 UTC 2010


#7810: Fraction part of star rating
-------------------------------------+--------------------------------------
 Reporter:  savvy_steve@…            |       Owner:  ijr 
     Type:  enhancement              |      Status:  new 
 Priority:  trivial                  |   Milestone:  0.23
Component:  MythTV - General         |     Version:  head
 Severity:  low                      |     Mlocked:  0   
-------------------------------------+--------------------------------------

Comment(by savvy_steve@…):

 I am not familiar with the QObject::tr() method.  I assume the cast is
 required with the change QT4 and the mythui library in version 0.22 as it
 showed fractions in version 0.21.

 Would it accept a string value through from say, sprintf, formatting the
 rating with a couple of decimal points?

 Otherwise I guess making the rating base configurable would be another
 option as the rating is stored as a percentage in the db. I beleive
 MythWeb already allows this but at the moment the base for the frontend
 looks to just be a magic number in the code.  But I spose that may not be
 as trivial to fix as I first thought though.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7810#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list