Kodi Community Forum
Add icon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Add icon (/showthread.php?tid=344071)



Add icon - aka.kuro - 2019-05-20

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>


RE: Add icon - Hitcher - 2019-05-21

You haven't got value for the skin string.

It should look something like this -

xml:
<icon>$INFO[Skin.String(SOME_VALUE)]</icon>



RE: Add icon - the_other_guy - 2019-05-21

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)] ?


RE: Add icon - aka.kuro - 2019-05-21

sorry I forgot that part

<icon>$INFO[Skin.String(HomePVRButton1.SetImage)]</icon>


RE: Add icon - Hitcher - 2019-05-21

And you're sure that string isn't empty?


RE: Add icon - aka.kuro - 2019-05-21

as the empty string I do not understand you