[mythtv] [PATCH] Set star ratings denominator

Charlie Brej brejc8 at vu.a.la
Sun May 15 16:21:23 UTC 2005

This patch allows you to set the number of stars the ratings of movies are out 
of. It appears in the US movies are rated out of 4 but over here (UK) and a lot 
of other places it is out 5. This causes all the ratings to be values like 2.4 
or 1.6. There already is an option in mythweb ( max_stars in config/theme_*.php)

New "EPGMaxStars" entry in settings mysql table (Defaults to 4)
New entry in the EPG configuration page 2
To avoid adding many new translation strings the present ones were recycled and 
the numbers replaced. A new generic string would be annoying for some languages 
where the words "star" changes when referring to 1, 2 and 3 or more of them.

There is also a second little patch to correct the mythweb version to use the 
max_stars in the searches.

         Charlie Brej
APT Group, Dept. Computer Science, University of Manchester
Web: http://www.cs.man.ac.uk/~brejc8/ Tel: +44 161 275 6844
Mail: IT302, Manchester University, Manchester, M13 9PL, UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stars.patch
Type: text/x-patch
Size: 7335 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050515/d312005f/stars.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythweb_stars.patch
Type: text/x-patch
Size: 820 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050515/d312005f/mythweb_stars.bin

More information about the mythtv-dev mailing list