2009-06-16, 23:23
XBMCG33K Wrote:OK that is quite simple to fix, other than that the code is fine right?It would work, but really if you're going to do flags you should consider using the shorter form:
Code:
<control type="image">
<width>56</width>
<height>25</height>
<texture>$INFO[ListItem.VideoResolution,flags\Defs\,.png]</texture>
<colordiffuse>ff2f9be1</colordiffuse>
<aspectratio>keep</aspectratio>
<include>MediaFlagAnimation</include>
<visible>!IsEmpty(ListItem.VideoResolution)</visible>
</control>
flags\Defs\1080.png
flags\Defs\720.png
flags\Defs\540.png
flags\Defs\480.png
or hide the image if no resolution