phil65 / script.extendedinfo

script.extendedinfo
http://forum.xbmc.org/showthread.php?tid=160558
GNU General Public License v2.0
59 stars 79 forks source link

Modify Millify Function to remove .000 in Hudreds numbers #29

Closed d8ahazard closed 8 years ago

d8ahazard commented 8 years ago

When returning a value < 1000, the Millify command would append three trailing zeros after the decimal place. This makes youtube view counts Look weird. Replacing .000 with '' appears to fix the issue.

I tested this with the Youtube search feature and it is returning all values as expected.

Also, the youtube documentation should be updated - there are several missing infolabels that are quite handy. ;)

d8ahazard commented 8 years ago

Okay, I'm dumb. After looking more thoroughly, it appears it should be a ,000 instead of a .000.

phil65 commented 8 years ago

Hmm I guess there was a reason why I did it that way and this will probably break sth related to TMDB. I would have to check that bit more thoroughly first.