[REQUEST] Help needed passing path
#1
Question 
I'm trying to move my Genre icons & fanart to a directory chosen by the user, so any added artwork would not get wiped out by a skin upgrade.

I use Skin.HasSetting(ShowGenreIcon) to choose this option and Skin.String(GenreIconDir) for the path, pretty standard.

The snippet of code below works in a <control type="list"> but in a <control type="panel"> the string Skin.String(GenreIconDir) remains stubbonly blank.
Code:
<control type="image">
     <description>Genre Image</description>
     <posx>10</posx>
     <posy>4</posy>
     <width>40</width>
     <height>32</height>
     <texture background="true" fallback="GenreUnknown.png">$INFO[Skin.String(GenreIconDir)]$INFO[ListItem.Label].png</texture>
     <visible>!StringCompare(ListItem.Label,..)+Skin.HasSetting(ShowGenreIcon)+!IsEmpty(Skin.String(GenreIconDir))</visible>
</control>

Is there another way I could accomplish this as incorporating fanart into my skin is now pushing it over the 100 meg mark.
Noli illegitimi carborundum


Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Help needed passing path0