Kodi Community Forum
Rotten Tomato Certified Fresh - 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: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Titan (https://forum.kodi.tv/forumdisplay.php?fid=212)
+----- Thread: Rotten Tomato Certified Fresh (/showthread.php?tid=316395)



Rotten Tomato Certified Fresh - Firetv344 - 2017-06-13

i have my rotten tomato working but not getting the certified logo.....how can i fix this


RE: Rotten Tomato Certified Fresh - Angelinas - 2017-06-13

Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Image)
Doesent have info for all movies...and if you have that info, resultat is "rotten", need to be" fresh"...
solution find in IncludesFooter.xml - row 197

Code:
<texture background="true">$INFO[Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Image),flags/,.png]</texture>
and change in
Code:
<texture background="true">flags/fresh.png</texture>


Edit:
replace it


RE: Rotten Tomato Certified Fresh - Firetv344 - 2017-06-13

should i had the code or replace it?


RE: Rotten Tomato Certified Fresh - Firetv344 - 2017-06-13

Thanks for the help....but its not what im looking for...now everything is showing the fresh flag.....there are three flags..each display base on the rating of the movie......0-59 rotten........60-74 fresh.....75-100 certified
the problem im have is if a movie is 75 and more it should display the certified flag...its not.....its displaying the fresh flag


RE: Rotten Tomato Certified Fresh - Firetv344 - 2017-06-13

i found that its in metadatautils line 131......just dont know how to code it to show all three base on there rating


RE: Rotten Tomato Certified Fresh - Angelinas - 2017-06-13

Then you better use skin visible condition

Replace this three images insted of one same xml (row 190-198)
-this is for Krypton, hope you use that version Smile
Code:
<control type="image">
                <description>Rotten tomatoes image</description>
                <top>2</top>
                <width>84</width>
                <height>37</height>
                <bordersize>2</bordersize>
                <aspectratio>keep</aspectratio>
                <texture background="true">flags/rotten.png</texture>
                <visible>Integer.IsLessOrEqual(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),59)</visible>
            </control>
            <control type="image">
                <description>Rotten tomatoes image</description>
                <top>2</top>
                <width>84</width>
                <height>37</height>
                <bordersize>2</bordersize>
                <aspectratio>keep</aspectratio>
                <texture background="true">flags/fresh.png</texture>
                <visible>Integer.IsGreater(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),59)+Integer.IsLessOrEqual(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),74)</visible>
            </control>
            <control type="image">
                <description>Rotten tomatoes image</description>
                <top>2</top>
                <width>84</width>
                <height>37</height>
                <bordersize>2</bordersize>
                <aspectratio>keep</aspectratio>
                <texture background="true">flags/certified.png</texture>
                <visible>Integer.IsGreater(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),74)</visible>
            </control>



RE: Rotten Tomato Certified Fresh - Firetv344 - 2017-06-13

Now everything is showing Rotten......i did everything you said but no luck


RE: Rotten Tomato Certified Fresh - Firetv344 - 2017-06-13

check metadatautils line 131.....how would i code it from there