2024-10-16, 18:24
(2024-10-16, 11:36)aneurysm- Wrote: Haven't had time to test yet since I'm abroad, but does the line "display media rating revised" relate to my issue I had with the rating with nfo fils ?
Yes, it also has something to do with your problem.
You can now use the function by inserting these 5 lines directly under
<variable name="image_tomatometerallcritics">.
Here are the 5 lines:
xml:<value condition="Integer.IsGreater(ListItem.Rating(tomatometerallcritics),7.4) + $EXP[IconsColor]">critics_certified_color.png</value>
<value condition="Integer.IsGreaterOrEqual(Container(10051).ListItem.Property(rating.rotten),75) + $EXP[IconsColor]">critics_certified_color.png</value>
<value condition="!String.IsEmpty(ListItem.dbid) + Integer.IsGreater(Container(5055).ListItem.Rating(tomatometerallcritics),7.4) + $EXP[IconsColor]">critics_certified_color.png</value>
<value condition="Integer.IsGreater(Container(99950).ListItem.Property(RottenTomatoes_Rating),74) + $EXP[IconsColor]">critics_certified_color.png</value>
<value condition="String.IsEmpty(Container(99950).ListItem.Property(RottenTomatoes_Rating)) + Integer.IsGreater(Window(Home).Property(SkinHelper.ListItem.RottenTomatoes.Meter),74) + $EXP[IconsColor]">critics_certified_color.png</value>
Simply place the icon you want to use in the "media" folder of the skin.
I tested it with your nfo files, without nfo files and with a video addon (ThemovieDb Helper).
Worked without any problems.