Kodi Community Forum
shutdown() sub menu under movies? - 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: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Alaska (https://forum.kodi.tv/forumdisplay.php?fid=126)
+----- Thread: shutdown() sub menu under movies? (/showthread.php?tid=133634)



shutdown() sub menu under movies? - MassIV - 2012-06-10

So i was trying to learn some skinning and for the love of *** i can't figure this out.
The examples in wiki look too different and i can't find a thread that does this.

Using Alaska revisited http://forum.xbmc.org/showthread.php?tid=70302&page=228 in Eden.
Default menu style.

Tried to add:
Code:
<item id="17">
                    <description>Shutdown</description>
                    <label>$LOCALIZE[13005]</label>
                    <icon>homelist/shutdownicon.png</icon>
                    <property name="CustomIcon">special://skin/extras/customicons/shutdown.png</property>
                    <thumb fallback="backdrops/shutdown.jpg">$INFO[Skin.String(CustomShutdown)]</thumb>
                    <onclick>Shutdown()</onclick>
                    <visible>!Skin.HasSetting(NoShutdown)</visible>
                </item>

At line 265, under item id 3 (movies). In Includes_HomeList.xml and also tried Includes_HomeIcon.xml

Wrong file? Wrong item id?


RE: shutdown() sub menu under movies? - Hitcher - 2012-06-10

Includes_HomeDefault.xml. Wink


RE: shutdown() sub menu under movies? - MassIV - 2012-06-10

(2012-06-10, 10:41)Hitcher Wrote: Includes_HomeDefault.xml. Wink

Thnx, i found it.

For anyone else reading this. I did the following in Includes_HomeDefault.xml (on line 1201) Replaced id 5 with shutdown:
Code:
<item id="4">
    <label>$LOCALIZE[344]</label>
    <onclick>ActivateWindow(Videos,tvshowactors,return)</onclick>
    <visible>!Skin.HasSetting(HideNewActors)</visible>
</item>
<item id="5">
    <label>$LOCALIZE[13005]</label>
    <onclick>Shutdown()</onclick>
    <visible>!Skin.HasSetting(HideShutdown)</visible>
</item>