Kodi Community Forum
Turn to whole numbers with Percent (%) with DialogVideoInfo.xml - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Aeon MQ (https://forum.kodi.tv/forumdisplay.php?fid=68)
+---- Thread: Turn to whole numbers with Percent (%) with DialogVideoInfo.xml (/showthread.php?tid=336787)



Turn to whole numbers with Percent (%) with DialogVideoInfo.xml - nomnom27 - 2018-10-23

Hi, I've used local files (nfo files) for my movies and some people helped me out how to change this info
https://github.com/marcelveldt/script.skin.helper.service/wiki/Listitem-Properties---All-video-items

to this: 
ListItem.Ratings(metacritic)
ListItem.Votes(metacritic)
ListItem.Ratings(imdb)
ListItem.Votes(imdb)
ListItem.Ratings(themoviedb)
ListItem.Votes(themoviedb)
ListItem.Ratings(metacritic)
ListItem.Votes(metacritic)
ListItem.Ratings(tomatometerallcritics)
ListItem.Votes(tomatometerallcritics)
ListItem.Ratings(tomatometerallaudience)
ListItem.Votes(tomatometerallaudience)
ListItem.Ratings(anidb)
ListItem.Votes(anidb)

To show the ratings and scores for rotten tomatoes, themoviedb, imdb and metacritic, by using movie.nfo files. However, for themoviedb, rotten tomatoes, metacritic it shows the score as a decibel points instead of whole numbers with a percent sign.

Image

I want for rotten tomatoes critic rating to show 80% instead of 8.0, for rotten tomatoes audience rating 74% intead of 7.4, for metacritic 82 instead of 8.2, themoviedb 72% instead of 7.2 and so on and forth. Is there a way to edit DialogVideoInfo.xml so that it displays my movie.nfo info correctly? or if I have to edit some other xml file instead of DialogVideoInfo.xml so that the ratings display correctly?


RE: Turn to whole numbers with Percent (%) with DialogVideoInfo.xml - Edworld - 2018-10-23

Skinhelper thread, post 3954


RE: Turn to whole numbers with Percent (%) with DialogVideoInfo.xml - nomnom27 - 2018-10-23

(2018-10-23, 04:33)Edworld Wrote: Skinhelper thread, post 3954
 Can you give a link or something? because I don't thing I found the right one.


RE: Turn to whole numbers with Percent (%) with DialogVideoInfo.xml - nomnom27 - 2018-10-23

If this is what you mean? The I don't understand this. What code do I replace with the one shown in the pic? 

Image


RE: Turn to whole numbers with Percent (%) with DialogVideoInfo.xml - edjalmo - 2019-07-19

Hi, @nomnom27!
I don't know if you find the answer but recently I found it with the help of @K0D1User1138.
You can saw it here: https://forum.kodi.tv/showthread.php?tid=342130&pid=2869712#pid2869712
Hope help you!


RE: Turn to whole numbers with Percent (%) with DialogVideoInfo.xml - chrissix666 - 2019-07-21

https://forum.kodi.tv/showthread.php?tid=301497&pid=2785205#pid2785205