Rotten Tomatoes without Skin Helper Service
#1
Hi,

first off all i'm brand new to skinning so forgive me if i ask something silly Smile

I'm using Kodi 18.7 with Emby for Kodi addon and the Bingie skin that i want to modify.

The problem is that at the moment Rotten Tomatoes ratings only get shown if SHS gives something back.
In Emby i can set a Rotten Tomatoes rating and it will save it in the Kodi DB ratings table with the rating_type: tomatometerallcritics
But even after the Kodi DB is properly updated i still don't get a Rotten Tomato rating.

In the skin i found the following code in the includesfooted.xml

   
<variable name="RottenTomatoesRatingValue">
        <value condition="!String.IsEmpty(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter))">$INFO[Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),,%]</value>
        <value condition="!String.IsEmpty(ListItem.Rating(rottentomatoes))">$INFO[ListItem.Rating(rottentomatoes)]</value>
</variable>

So i would have hoped that it would pick up the rating from the DB if he finds none with SHS.
I've tried replacing "rottentomatoes" with "tomatometerallcritics" since that's the value stored in the ratings_type but that didn't work either

When i replace "rottentomatoes" with "imdb" then it works as expected. 

Am i just using the wrong identifier to get the rating out of the ListItem.Rating, or is there something else wrong?

Any help to point me in the right direction would be great!
Reply


Messages In This Thread
Rotten Tomatoes without Skin Helper Service - by CK77 - 2020-06-20, 10:20


Logout Mark Read Team Forum Stats Members Help
Rotten Tomatoes without Skin Helper Service0
This forum uses Lukasz Tkacz MyBB addons.