Kodi Community Forum
edit Home.xml - 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: edit Home.xml (/showthread.php?tid=321909)



edit Home.xml - Jönke - 2017-09-23

Please help me add Spotify addon to home

Here is what i got but it´s not working

PHP Code:
                    <item id="55">
                        <
label>Spotify</label>
                        <
onclick><onclick>ActivateWindow("plugin://plugin.audio.spotify",return/)</onclick></onclick>
                        <
icon></icon>
                        <
thumb></thumb>
                    </
item



RE: edit Home.xml - ronie - 2017-09-23

start by removing the double <onclick> tag, once is enough ;-)

the easiest way to figure out these things is by adding the addon to favourites
and examine your favourites.xml file

should be something like:
Code:
ActivateWindow(10025,&quot;plugin://plugin.audio.spotify/&quot;,return)



RE: edit Home.xml - Jönke - 2017-09-23

Thanks ronie ! Worked just fine Nod

PHP Code:
<item id="55">
<
label>Spotify</label>
<
onclick>ActivateWindow(10025,"plugin://plugin.audio.spotify",return/)</onclick>
<
icon></icon>
<
thumb></thumb>
</
item