2012-08-29, 15:56
Hello!
I'm trying to proof my code for clearart.png in DialogFullScreenInfo.xml. By skin setting, I'm showing the clearart instead of VideoPlayer.Cover (which is a thumb). What I'd like to add is a condition to show clearart on skin.hassetting and also to test if the file clearart.png exist. I looked at the wiki, but I haven't found the command to do so... here's my code from DialogFullScreenInfo.xml:
Thanks for yuor help!
I'm trying to proof my code for clearart.png in DialogFullScreenInfo.xml. By skin setting, I'm showing the clearart instead of VideoPlayer.Cover (which is a thumb). What I'd like to add is a condition to show clearart on skin.hassetting and also to test if the file clearart.png exist. I looked at the wiki, but I haven't found the command to do so... here's my code from DialogFullScreenInfo.xml:
Code:
<control type="image">
<posx>994</posx>
<posy>35</posy>
<width>263</width>
<height>148</height>
<texture>$INFO[VideoPlayer.Cover]</texture>
<visible>!Skin.HasSetting(TVClearart)</visible>
</control>
<control type="image">
<posx>965</posx>
<posy>10</posy>
<width>284</width>
<height>160</height>
<texture>$INFO[Player.FolderPath]../clearart.png</texture>
<texture>$INFO[Player.FolderPath]/clearart.png</texture>
<visible>Skin.HasSetting(TVClearart)</visible>
</control>
Thanks for yuor help!