Kodi Community Forum

Full Version: Add icon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello I would like to know how to see the icon in confluence I get the title but not the image my code

<item>
<label>$INFO[Skin.String(HomePVRButton1.Label)]</label>
<onclick>$INFO[Skin.String(HomePVRButton1.Path)]</onclick>
<icon>$INFO[Skin.String])</icon>
<thumb></thumb>
<visible>!String.IsEmpty(Skin.String(HomePVRButton1.Path))</visible>
</item>
You haven't got value for the skin string.

It should look something like this -

<icon>$INFO[Skin.String(SOME_VALUE)]</icon>
are you sure they still work as before https://kodi.wiki/view/List_of_boolean_conditions 
Skin.String(string) Returns whether the skin string (set via Skin.SetString, Skin.SetPath, or Skin.SetImage) is non-empty.
$INFO[Skin.String]) $INFO[(Skin.String)] ?
sorry I forgot that part

<icon>$INFO[Skin.String(HomePVRButton1.SetImage)]</icon>
And you're sure that string isn't empty?
as the empty string I do not understand you