2024-01-28, 00:23
(2024-01-28, 00:08)Fuchs2468 Wrote:Works perfect now !(2024-01-27, 22:51)aneurysm- Wrote:Can you test this quickly so I can update.
xml:<variable name="image_tomatometerallcritics">
<value condition="[Integer.IsGreater(ListItem.Rating(tomatometerallcritics),5.9) | Integer.IsGreater(Container(5055).ListItem.Rating(tomatometerallcritics),5.9) | Integer.IsGreaterOrEqual(Container(10051).ListItem.Property(rating.rotten),60) | Integer.IsGreater(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),59) | Integer.IsGreater(Window(home).Property(TMDbHelper.ListItem.RottenTomatoes_Rating),59)] + ![Skin.HasSetting(EnableWhiteRatingInFooter) | Skin.HasSetting(EnableWhiteRatingInHome)]">flags/ratings/critics_fresh_color.png</value>
<value condition="[Integer.IsGreater(ListItem.Rating(tomatometerallcritics),5.9) | Integer.IsGreater(Container(5055).ListItem.Rating(tomatometerallcritics),5.9) | Integer.IsGreaterOrEqual(Container(10051).ListItem.Property(rating.rotten),60) | Integer.IsGreater(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),59) | Integer.IsGreater(Window(home).Property(TMDbHelper.ListItem.RottenTomatoes_Rating),59)] + [Skin.HasSetting(EnableWhiteRatingInFooter) | Skin.HasSetting(EnableWhiteRatingInHome)]">flags/ratings/critics_rotten_fresh_monochrome.png</value>
<value condition="![Integer.IsGreater(ListItem.Rating(tomatometerallcritics),5.9) | Integer.IsGreater(Container(5055).ListItem.Rating(tomatometerallcritics),5.9) | Integer.IsGreaterOrEqual(Container(10051).ListItem.Property(rating.rotten),60) | Integer.IsGreater(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),59) | Integer.IsGreater(Window(home).Property(TMDbHelper.ListItem.RottenTomatoes_Rating),59)] + ![Skin.HasSetting(EnableWhiteRatingInFooter) | Skin.HasSetting(EnableWhiteRatingInHome)]">flags/ratings/critics_rotten_color.png</value>
<value condition="![Integer.IsGreater(ListItem.Rating(tomatometerallcritics),5.9) | Integer.IsGreater(Container(5055).ListItem.Rating(tomatometerallcritics),5.9) | Integer.IsGreaterOrEqual(Container(10051).ListItem.Property(rating.rotten),60) | Integer.IsGreater(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),59) | Integer.IsGreater(Window(home).Property(TMDbHelper.ListItem.RottenTomatoes_Rating),59)] + [Skin.HasSetting(EnableWhiteRatingInFooter) | Skin.HasSetting(EnableWhiteRatingInHome)]">flags/ratings/critics_rotten_rotten_monochrome.png</value>
</variable>
There is also an error (but it's from an addon, so I don't think you can fix this) in the colorpicker.py file
addons\script.skin.helper.colorpicker\resources\lib
ColorPicker.py
--> xbmc.translatePath
needs to become : xbmcvfs.translatePath