Hi Hitcher, found a small bug in the includes.xml regarding german FSK ratings:
here in line 178, it checks if the Number "6" is in the ratings-string:
Code:
<control type="image">
<top>3</top>
<width>25</width>
<height>23</height>
<colordiffuse>ffdadada</colordiffuse>
<texture>rating/fsk/6.png</texture>
<visible>Container.Content(movies) + !IsEmpty(ListItem.Mpaa) + SubString(ListItem.Mpaa,6,right)</visible>
</control>
Sadly this is also the case for rating with the number "16" (see line 194):
Code:
<control type="image">
<top>3</top>
<width>25</width>
<height>23</height>
<colordiffuse>ffdadada</colordiffuse>
<texture>rating/fsk/16.png</texture>
<visible>Container.Content(movies) + !IsEmpty(ListItem.Mpaa) + SubString(ListItem.Mpaa,16,right)</visible>
</control>
So both images are getting displayed if a movie has the rating "16". If I'm not wrong (I'm not a skinner or coder), that could be prevented if line 174 is changed to something like this:
Code:
<control type="image">
<top>3</top>
<width>25</width>
<height>23</height>
<colordiffuse>ffdadada</colordiffuse>
<texture>rating/fsk/6.png</texture>
<visible>Container.Content(movies) + !IsEmpty(ListItem.Mpaa) + SubString(ListItem.Mpaa,6,right) + !SubString(ListItem.Mpaa,16,right)</visible>
</control>
Would be great if you could fix that too
Regards
Vlaves