Rotten Tomato Certified Fresh
#1
i have my rotten tomato working but not getting the certified logo.....how can i fix this
Reply
#2
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
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#3
should i had the code or replace it?
Reply
#4
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
Reply
#5
i found that its in metadatautils line 131......just dont know how to code it to show all three base on there rating
Reply
#6
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>
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#7
Now everything is showing Rotten......i did everything you said but no luck
Reply
#8
check metadatautils line 131.....how would i code it from there
Reply

Logout Mark Read Team Forum Stats Members Help
Rotten Tomato Certified Fresh0