Kodi Community Forum

Full Version: Turn to whole numbers with Percent (%) with DialogVideoInfo.xml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.sk...ideo-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?
Skinhelper thread, post 3954
(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.
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
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...pid2869712
Hope help you!