Win Remove Shutdown Menu From Power Button and Exit Only
#1
I am very new to xbmc (but impressed) and am having a hard time figuring this one out. All forums seem to be advising for ubuntu not windows.

My problem is simple, I am running xbmc gotham with confluence skin on windows 8.1 x64. When I am on the xbmc homescreen I want to push the power button and just exit xbmc. I would prefer not to see the power off menu at all and just exit (not power off system).
too many times have i accidentally powered off my whole PC when all i wanted to do is exit XBMC.

I cannot change the home.xml menu in program files if I am correct, and need to navigate to appdata folder on my pc. Could someone please advise me what xml file and in what folder i need to be editting/ or creating, and what code I will I need to do this (i suspect <onclick>XBMC.Quit()</onclick> but not sure where to put this.

Someone did advise the advancedsettings.xml file but I need to create this file in appdata as it does not exist. I create this file and the fix still does not work. Am I doing something wrong? am I creating the advancedsettings.xml file in the wrong place? what code should surround <onclick>XBMC.Quit()</onclick>?

I have looked through threads and forums and cannot find a working answer. Many answers are ubuntu editing the home.xml file but I do not think that's possible on windows 8.1. Any help would be amazing!
Reply
#2
I had a few minutes and was curious about this too. Anyway, I figured it out. Below are two options you can do to make XBMC shut down the way you want:



Option 1 - This will show only one option under the Shutdown Menu, 'Exit'.: All I did was remove the other options from the file below (Note: this is what it looks like on my skin, confluence.custom.mod. It may differ a bit if you are using a different skin, but shouldn't be too different. Just remove all but the 'Exit' choice you want):

Find this one file in the .../addons/confluence.custom.mod/720p/ folder and change the following:

DialogButtonMenu.xml:

change:

Code:
            <control type="button" id="2">
                <description>Exit button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.Quit()</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13012</label>
                <visible>System.ShowExitButton</visible>
            </control>
            <control type="button" id="3">
                <description>Shutdown button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.Powerdown()</onclick>
                <visible>System.CanPowerDown</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13016</label>
            </control>
            <control type="button" id="4">
                <description>Custom Shutdown Timer</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown())</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>20150</label>
                <visible>!System.HasAlarm(shutdowntimer)</visible>
                <visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
            </control>
            <control type="button" id="5">
                <description>Cancel Shutdown Timer</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.CancelAlarm(shutdowntimer)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>20151</label>
                <visible>System.HasAlarm(shutdowntimer)</visible>
            </control>
            <control type="button" id="6">
                <description>Suspend button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.Suspend()</onclick>
                <visible>System.CanSuspend</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13011</label>
            </control>
            <control type="button" id="7">
                <description>Hibernate button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.Hibernate()</onclick>
                <visible>System.CanHibernate</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13010</label>
            </control>
            <control type="button" id="8">
                <description>Reboot button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.Reset()</onclick>
                <visible>System.CanReboot</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13013</label>
            </control>
            <control type="button" id="9">
                <description>Logoff button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>dialog.close(all,true)</onclick>
                <onclick>System.LogOff</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
                <visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
                <visible>System.Loggedon</visible>
            </control>
            <control type="togglebutton" id="10">
                <description>Master mode button</description>
                <width>340</width>
                <height>40</height>
                <label>20046</label>
                <altlabel>20045</altlabel>
                <align>center</align>
                <aligny>center</aligny>
                <textwidth>290</textwidth>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <usealttexture>!System.IsMaster</usealttexture>
                <alttexturefocus border="25,5,25,5">ShutdownButtonFocus.png</alttexturefocus>
                <alttexturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</alttexturenofocus>
                <onclick>xbmc.mastermode</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <visible>System.HasLocks</visible>
            </control>
            <control type="group" id="11">
                <width>340</width>
                <height>70</height>
                <visible>System.HasAlarm(shutdowntimer)</visible>
                <control type="image">
                    <description>background top image</description>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>340</width>
                    <height>70</height>
                    <texture border="25,5,25,5">DialogContextMiddle.png</texture>
                </control>
                <control type="textbox">
                    <posx>25</posx>
                    <posy>20</posy>
                    <width>290</width>
                    <height>50</height>
                    <font>font12</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <align>center</align>
                    <label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
                </control>
            </control>
            <control type="button" id="12">
                <description>Inhibit idle shutdown</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.InhibitIdleShutdown(true)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13017</label>
                <visible>System.HasShutdown +!System.IsInhibit</visible>
            </control>
            <control type="button" id="13">
                <description>Allow idle shutdown</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.InhibitIdleShutdown(false)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13018</label>
                <visible>System.HasShutdown + System.IsInhibit</visible>
            </control>
            <control type="button" id="14">
                <description>Settings button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>dialog.close(shutdownmenu)</onclick>
                <onclick>ActivateWindow(Settings),return</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>$LOCALIZE[5]</label>
                <visible>Skin.HasSetting(HideSytemMenuItem)</visible>
            </control>

to:

Code:
            <control type="button" id="2">
                <description>Exit button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.Quit()</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13012</label>
                <visible>System.ShowExitButton</visible>
            </control>



Option 2 - This will make XBMC shut down straight from the 'Shutdown' icon. No popup window or anything. Again, I use the confluence.custom.mod skin so my options are in the 720p folder of that skin. Yours might be different. (Note, I basically just changed all instances of "ActivateWindow(ShutdownMenu)' to 'XBMC.Quit()' in the 720p folder, and it resulted in changing only three lines in three files.)



IncludesMenuContentItems-Bruce.xml:

change:

Code:
<onclick>Skin.SetString($INFO[Window(home).Property(UsrSelectBtn)].Path,ActivateWindow(ShutdownMenu))</onclick>

to:

Code:
<onclick>Skin.SetString($INFO[Window(home).Property(UsrSelectBtn)].Path,XBMC.Quit())</onclick>



IncludesVariables.xml:

change:

Code:
<value>ActivateWindow(ShutdownMenu)</value>

to:

Code:
<value>XBMC.Quit()</value>



LoginScreen.xml:

change:

Code:
<onclick>ActivateWindow(ShutdownMenu)</onclick>

to:

Code:
<onclick>XBMC.Quit()</onclick>


If you figure it out mark this as solved so others might be able to use it too. FYI, this is for use with XBMC 13 Gotham. I found older ways of doing this, but they don't work in Gotham and above anymore.
Reply
#3
is there an updated version of this for Kodi 14.2 Helix? this is exactly what i would like to do, and since the skin is confluence by default i can't seem to find the proper files to edit...
Reply
#4
Enable Power button to exit XBMC, rather than show shutdown menu.

Open Home.xml located at C:\Program Files (x86)\XBMC\addons\skin.confluence\720p

Edit approx line 1094. Replace <onclick>ActivateWindow(ShutdownMenu)</onclick> with onclick item to <onclick>XBMC.Quit()</onclick>

Code:
        <control type="group" id="10">
            <left>20</left>
            <top>55r</top>
            <include>Window_OpenClose_Animation</include>
            <control type="button" id="20">
                <description>Power push button</description>
                <left>55</left>
                <top>0</top>
                <width>45</width>
                <height>45</height>
                <label>31003</label>
                <font>-</font>
                <onclick>XBMC.Quit()</onclick>
                <texturefocus border="5">floor_buttonFO.png</texturefocus>
                <texturenofocus border="5">floor_button.png</texturenofocus>
                <onleft>21</onleft>
                <onright>21</onright>
                <onup>9002</onup>
                <ondown>9003</ondown>
            </control>
Reply
#5
perfect! thank you very much that's exactly what i needed

looking back to the first post he mentioned NOT using program files, so i was looking in appdata and that's where i was lost.. i was able to change the file in program files and all was well
Reply
#6
Great.
Also working in Estuary by switching "ActivateWindow(ShutdownMenu)" to "XBMC.Quit()".
Reply
#7
(2016-12-13, 02:01)ymca Wrote: Great.
Also working in Estuary by switching "ActivateWindow(ShutdownMenu)" to "XBMC.Quit()".

I had this working before updating to Estuary using the Windows store installer. Now it's not working and I cant find the files in my \AppData\Roaming\Kodi\ folder.

Any idea?
Reply
#8
(2017-02-16, 13:50)Sponky Wrote:
(2016-12-13, 02:01)ymca Wrote: Great.
Also working in Estuary by switching "ActivateWindow(ShutdownMenu)" to "XBMC.Quit()".

I had this working before updating to Estuary using the Windows store installer. Now it's not working and I cant find the files in my \AppData\Roaming\Kodi\ folder.

Any idea?

This is what I know:
C:\Program Files (x86)\Kodi\addons\skin.estuary\xml\Home.xml

Switch all the code with:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<window>
    <!--     <menucontrol>9000</menucontrol>
                                             -->
    <defaultcontrol>9000</defaultcontrol>
    <!--     <onload condition="ControlGroup(700).HasFocus">SetFocus(9000,0)</onload>
                                                 -->
    <backgroundcolor>background</backgroundcolor>
    <controls>
        <control type="button" id="20000">
            <include>HiddenObject</include>
            <animation effect="fade" time="300" start="100" end="0">Focus</animation>
            <onfocus>SetFocus(2000)</onfocus>
            <onclick>noop</onclick>
            <visible allowhiddenfocus="true">Control.HasFocus(20000)</visible>
        </control>
        <control type="button" id="20001">
            <include>HiddenObject</include>
            <animation effect="fade" time="300" start="100" end="0">Focus</animation>
            <onfocus>SetFocus(2000)</onfocus>
            <onclick>noop</onclick>
            <visible allowhiddenfocus="true">Control.HasFocus(20001)</visible>
        </control>
        <include>DefaultBackground</include>
        <control type="multiimage">
            <depth>DepthBackground</depth>
            <include>FullScreenDimensions</include>
            <aspectratio>scale</aspectratio>
            <fadetime>600</fadetime>
            <animation effect="zoom" center="auto" end="102,102" time="0" condition="Integer.IsGreater(System.StereoscopicMode,0)">conditional</animation>
            <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
            <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
            <animation effect="fade" time="400">VisibleChange</animation>
            <imagepath background="true" colordiffuse="bg_overlay">$VAR[HomeFanartVar]</imagepath>
            <visible>!Player.HasMedia</visible>
        </control>
        <control type="group">
            <animation effect="fade" start="100" end="0" time="200" tween="sine" condition="$EXP[infodialog_active]">Conditional</animation>
            <control type="group" id="2000">
                <left>462</left>
                <animation type="Conditional" condition="Control.IsVisible(20000)" reversible="false">
                    <effect type="slide" end="0,20" time="60" tween="sine" />
                    <effect type="slide" end="0,-20" time="180" tween="sine" delay="80" />
                </animation>
                <animation type="Conditional" condition="Control.IsVisible(20001)" reversible="false">
                    <effect type="slide" end="0,-20" time="60" tween="sine" />
                    <effect type="slide" end="0,20" time="180" tween="sine" delay="80" />
                </animation>
                <include>OpenClose_Right</include>
                <control type="group" id="5000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),movies)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="movies"/>
                    </include>
                    <control type="grouplist" id="5001">
                        <include>WidgetGroupListCommon</include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="library://video/movies/"/>
                            <param name="widget_header" value="$LOCALIZE[31148]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="5900"/>
                            <param name="visible" value="Library.HasContent(movies)"/>
                        </include>
                        <include content="WidgetListPoster">
                            <param name="content_path" value="special://skin/playlists/inprogress_movies.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31010]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="5100"/>
                        </include>
                        <include content="WidgetListPoster">
                            <param name="content_path" value="special://skin/playlists/recent_unwatched_movies.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[20386]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="5200"/>
                        </include>
                        <include content="WidgetListPoster">
                            <param name="content_path" value="special://skin/playlists/unwatched_movies.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31007]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="5300"/>
                        </include>
                        <include content="WidgetListPoster">
                            <param name="content_path" value="special://skin/playlists/random_movies.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31006]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="5400"/>
                        </include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="videodb://movies/genres/"/>
                            <param name="widget_header" value="$LOCALIZE[135]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="5500"/>
                            <param name="icon" value="$VAR[WidgetGenreIconVar]"/>
                            <param name="icon_height" value="70"/>
                            <param name="visible" value="Library.HasContent(movies)"/>
                        </include>
                        <include content="WidgetListPoster">
                            <param name="content_path" value="videodb://movies/sets/"/>
                            <param name="widget_header" value="$LOCALIZE[31075]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="sortby" value="random"/>
                            <param name="list_id" value="5600"/>
                        </include>
                    </control>
                    <include content="ImageWidget">
                        <param name="image_path" value="special://skin/extras/home-images/movie.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31104]" />
                        <param name="button_label" value="$LOCALIZE[31110]" />
                        <param name="button_onclick" value="ActivateWindow(videos,files,return)"/>
                        <param name="button_id" value="5500"/>
                        <param name="visible" value="!Library.HasContent(movies)"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMovieButton)"/>
                    </include>
                </control>
                <control type="group" id="6000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),tvshows)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="tvshows"/>
                    </include>
                    <control type="grouplist" id="6001">
                        <include>WidgetGroupListCommon</include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="library://video/tvshows/"/>
                            <param name="widget_header" value="$LOCALIZE[31148]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="6900"/>
                            <param name="visible" value="Library.HasContent(tvshows)"/>
                        </include>
                        <include content="WidgetListPoster">
                            <param name="content_path" value="videodb://inprogresstvshows"/>
                            <param name="sortby" value="lastplayed"/>
                            <param name="sortorder" value="descending"/>
                            <param name="widget_header" value="$LOCALIZE[626]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="6100"/>
                        </include>
                        <include content="WidgetListEpisodes">
                            <param name="content_path" value="special://skin/playlists/recent_unwatched_episodes.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[20387]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="6200"/>
                        </include>
                        <include content="WidgetListPoster">
                            <param name="content_path" value="special://skin/playlists/unwatched_tvshows.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31122]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="6300"/>
                        </include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="videodb://tvshows/genres/"/>
                            <param name="widget_header" value="$LOCALIZE[135]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="6400"/>
                            <param name="icon" value="$VAR[WidgetGenreIconVar]"/>
                            <param name="icon_height" value="70"/>
                            <param name="visible" value="Library.HasContent(tvshows)"/>
                        </include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="videodb://tvshows/studios/"/>
                            <param name="widget_header" value="$LOCALIZE[20388]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="6500"/>
                            <param name="icon" value="$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]"/>
                            <param name="icon_height" value="70"/>
                            <param name="visible" value="Library.HasContent(tvshows)"/>
                        </include>
                    </control>
                    <include content="ImageWidget">
                        <param name="image_path" value="special://skin/extras/home-images/tv.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31104]" />
                        <param name="button_label" value="$LOCALIZE[31110]" />
                        <param name="button_onclick" value="ActivateWindow(videos,files,return)"/>
                        <param name="button_id" value="6400"/>
                        <param name="visible" value="!Library.HasContent(tvshows)"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoTVShowButton)"/>
                    </include>
                </control>
                <control type="group" id="7000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),music)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="music"/>
                    </include>
                    <control type="grouplist" id="7001">
                        <include>WidgetGroupListCommon</include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="library://music/"/>
                            <param name="widget_header" value="$LOCALIZE[31148]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="7900"/>
                            <param name="visible" value="Library.HasContent(music)"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="musicdb://recentlyplayedalbums"/>
                            <param name="widget_header" value="$LOCALIZE[517]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="7100"/>
                            <param name="fallback_icon" value="DefaultMusicAlbums.png"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="musicdb://recentlyaddedalbums/"/>
                            <param name="widget_header" value="$LOCALIZE[359]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="7200"/>
                            <param name="fallback_icon" value="DefaultMusicAlbums.png"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="special://skin/playlists/random_albums.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31012]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="7300"/>
                            <param name="fallback_icon" value="DefaultMusicAlbums.png"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="special://skin/playlists/random_artists.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31013]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="7400"/>
                            <param name="fallback_icon" value="DefaultMusicArtists.png"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="special://skin/playlists/unplayed_albums.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31014]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="7500"/>
                            <param name="fallback_icon" value="DefaultMusicAlbums.png"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="special://skin/playlists/mostplayed_albums.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31011]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="7600"/>
                            <param name="fallback_icon" value="DefaultMusicAlbums.png"/>
                            <param name="sortby" value="playcount"/>
                            <param name="sortorder" value="descending"/>
                        </include>
                    </control>
                    <include content="ImageWidget">
                        <param name="image_path" value="special://skin/extras/home-images/music.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31104]" />
                        <param name="button_label" value="$LOCALIZE[31110]" />
                        <param name="button_onclick" value="ActivateWindow(music,files)"/>
                        <param name="button_id" value="7600"/>
                        <param name="visible" value="!Library.HasContent(music)"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMusicButton)"/>
                    </include>
                </control>
                <control type="group" id="8000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),addons)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="addons"/>
                    </include>
                    <control type="grouplist" id="8001">
                        <include>WidgetGroupListCommon</include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="addons://"/>
                            <param name="widget_header" value="$LOCALIZE[31148]"/>
                            <param name="widget_target" value="addonbrowser"/>
                            <param name="list_id" value="8900"/>
                            <param name="visible" value="Integer.IsGreater(Container(8100).NumItems,0) | Integer.IsGreater(Container(8200).NumItems,0) | Integer.IsGreater(Container(8300).NumItems,0) | Integer.IsGreater(Container(8400).NumItems,0) | Integer.IsGreater(Container(8500).NumItems,0)"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="addons://sources/video/"/>
                            <param name="widget_header" value="$LOCALIZE[1037]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="sortby" value="lastused"/>
                            <param name="sortorder" value="descending"/>
                            <param name="list_id" value="8100"/>
                            <param name="fallback_icon" value="DefaultAddon.png"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="addons://sources/audio/"/>
                            <param name="widget_header" value="$LOCALIZE[1038]"/>
                            <param name="widget_target" value="music"/>
                            <param name="sortby" value="lastused"/>
                            <param name="sortorder" value="descending"/>
                            <param name="list_id" value="8200"/>
                            <param name="fallback_icon" value="DefaultAddon.png"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="addons://sources/executable/"/>
                            <param name="widget_header" value="$LOCALIZE[1043]"/>
                            <param name="widget_target" value="programs"/>
                            <param name="sortby" value="lastused"/>
                            <param name="sortorder" value="descending"/>
                            <param name="list_id" value="8300"/>
                            <param name="fallback_icon" value="DefaultAddon.png"/>
                        </include>
                        <include content="WidgetListSquare" condition="System.Platform.Android">
                            <param name="content_path" value="androidapp://sources/apps/"/>
                            <param name="widget_header" value="$LOCALIZE[20244]"/>
                            <param name="widget_target" value="programs"/>
                            <param name="sortby" value="lastused"/>
                            <param name="sortorder" value="descending"/>
                            <param name="list_id" value="8400"/>
                            <param name="fallback_icon" value="DefaultAddon.png"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="addons://sources/image/"/>
                            <param name="widget_header" value="$LOCALIZE[1039]"/>
                            <param name="widget_target" value="pictures"/>
                            <param name="sortby" value="lastused"/>
                            <param name="sortorder" value="descending"/>
                            <param name="list_id" value="8500"/>
                        </include>
                    </control>
                    <include content="ImageWidget">
                        <param name="image_path" value="special://skin/extras/home-images/add-ons.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31119]" />
                        <param name="button_label" value="$LOCALIZE[31118]" />
                        <param name="button_onclick" value="ActivateWindow(addonbrowser)"/>
                        <param name="button_id" value="8600"/>
                        <param name="visible" value="!Integer.IsGreater(Container(8001).NumItems,0)"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoProgramsButton)"/>
                    </include>
                </control>
                <control type="group" id="11000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),video)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="video"/>
                    </include>
                    <control type="grouplist" id="11001">
                        <include>WidgetGroupListCommon</include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="library://video/"/>
                            <param name="widget_header" value="$LOCALIZE[31148]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="11900"/>
                        </include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="sources://video/"/>
                            <param name="widget_header" value="$LOCALIZE[20094]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="11100"/>
                        </include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="special://videoplaylists/"/>
                            <param name="widget_header" value="$LOCALIZE[136]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="11200"/>
                            <param name="icon" value="DefaultPlaylist.png"/>
                        </include>
                    </control>
                    <include content="ImageWidget">
                        <param name="image_path" value="special://skin/extras/home-images/tv.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31105]" />
                        <param name="button_label" value="$LOCALIZE[31110]" />
                        <param name="button_onclick" value="ActivateWindow(videos,root)"/>
                        <param name="button_id" value="11300"/>
                        <param name="visible" value="!Integer.IsGreater(Container(11001).NumItems,0)"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoVideosButton)"/>
                    </include>
                </control>
                <control type="group" id="12000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),livetv)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="livetv"/>
                    </include>
                    <control type="grouplist" id="12001">
                        <include>WidgetGroupListCommon</include>
                        <control type="grouplist" id="12855">
                            <height>390</height>
                            <left>0</left>
                            <right>0</right>
                            <top>36</top>
                            <orientation>horizontal</orientation>
                            <visible>PVR.IsRecordingTV | PVR.HasNonRecordingTVTimer</visible>
                            <align>center</align>
                            <control type="group">
                                <width>680</width>
                                <visible>PVR.IsRecordingTV</visible>
                                <include content="PVRWidget">
                                    <param name="icon" value="$INFO[PVR.TVNowRecordingChannelIcon]" />
                                    <param name="header" value="$LOCALIZE[19158]" />
                                    <param name="label1" value="$INFO[PVR.TVNowRecordingDateTime]" />
                                    <param name="label2" value="$INFO[PVR.TVNowRecordingTitle][CR][COLOR=grey]$INFO[PVR.TVNowRecordingChannel][/COLOR]" />
                                </include>
                            </control>
                            <control type="group">
                                <width>680</width>
                                <visible>PVR.HasNonRecordingTVTimer</visible>
                                <include content="PVRWidget">
                                    <param name="icon" value="$INFO[PVR.TVNextRecordingChannelIcon]" />
                                    <param name="header" value="$LOCALIZE[19157]" />
                                    <param name="label1" value="$INFO[PVR.TVNextRecordingDateTime]" />
                                    <param name="label2" value="$INFO[PVR.TVNextRecordingTitle][CR][COLOR=grey]$INFO[PVR.TVNextRecordingChannel][/COLOR]" />
                                </include>
                            </control>
                        </control>
                        <include content="WidgetListCategories" condition="System.HasPVRAddon">
                            <param name="widget_header" value="$LOCALIZE[31148]"/>
                            <param name="list_id" value="12900"/>
                            <param name="pvr_submenu" value="true"/>
                            <param name="pvr_type" value="TV"/>
                        </include>
                        <include content="WidgetListChannels" condition="System.HasPVRAddon">
                            <param name="content_path" value="pvr://channels/tv/*?view=lastplayed"/>
                            <param name="sortby" value="lastplayed"/>
                            <param name="sortorder" value="descending"/>
                            <param name="widget_header" value="$LOCALIZE[31016]"/>
                            <param name="widget_target" value="pvr"/>
                            <param name="list_id" value="12200"/>
                        </include>
                        <include content="WidgetListChannels" condition="System.HasPVRAddon">
                            <param name="content_path" value="pvr://recordings/tv/active?view=flat"/>
                            <param name="sortby" value="date"/>
                            <param name="sortorder" value="descending"/>
                            <param name="widget_header" value="$LOCALIZE[31015]"/>
                            <param name="widget_target" value="pvr"/>
                            <param name="list_id" value="12300"/>
                            <param name="label" value="$INFO[ListItem.ChannelName]"/>
                            <param name="label2" value="$INFO[ListItem.Title]$INFO[ListItem.EpisodeName, (,)]"/>
                        </include>
                    </control>
                    <include content="ImageWidget" condition="!System.HasPVRAddon">
                        <param name="image_path" value="special://skin/extras/home-images/tv.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31143]" />
                        <param name="button_label" value="$LOCALIZE[31144]" />
                        <param name="button_onclick" value="ActivateWindow(addonbrowser,addons://user/xbmc.pvrclient,return)"/>
                        <param name="button_id" value="12400"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoTVButton)"/>
                    </include>
                </control>
                <control type="group" id="13000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),radio)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="radio"/>
                    </include>
                    <control type="grouplist" id="13001">
                        <include>WidgetGroupListCommon</include>
                        <control type="grouplist" id="13855">
                            <height>390</height>
                            <left>25</left>
                            <top>36</top>
                            <orientation>horizontal</orientation>
                            <align>right</align>
                            <width>1360</width>
                            <visible>PVR.IsRecordingRadio | PVR.HasNonRecordingRadioTimer</visible>
                            <control type="group">
                                <width>680</width>
                                <visible>PVR.IsRecordingRadio</visible>
                                <include content="PVRWidget">
                                    <param name="icon" value="$INFO[PVR.RadioNowRecordingChannelIcon]" />
                                    <param name="header" value="$LOCALIZE[19158]" />
                                    <param name="label1" value="$INFO[PVR.RadioNowRecordingDateTime]" />
                                    <param name="label2" value="$INFO[PVR.RadioNowRecordingTitle][CR][COLOR=grey]$INFO[PVR.RadioNowRecordingChannel][/COLOR]" />
                                </include>
                            </control>
                            <control type="group">
                                <visible>PVR.HasNonRecordingRadioTimer</visible>
                                <width>680</width>
                                <include content="PVRWidget">
                                    <param name="icon" value="$INFO[PVR.RadioNextRecordingChannelIcon]" />
                                    <param name="header" value="$LOCALIZE[19157]" />
                                    <param name="label1" value="$INFO[PVR.RadioNextRecordingDateTime]" />
                                    <param name="label2" value="$INFO[PVR.RadioNextRecordingTitle][CR][COLOR=grey]$INFO[PVR.RadioNextRecordingChannel][/COLOR]" />
                                </include>
                            </control>
                        </control>
                        <include content="WidgetListCategories" condition="System.HasPVRAddon">
                            <param name="widget_header" value="$LOCALIZE[31148]"/>
                            <param name="list_id" value="13900"/>
                            <param name="pvr_submenu" value="true"/>
                            <param name="pvr_type" value="Radio"/>
                        </include>
                        <include content="WidgetListChannels" condition="System.HasPVRAddon">
                            <param name="content_path" value="pvr://channels/radio/*?view=lastplayed"/>
                            <param name="sortby" value="lastplayed"/>
                            <param name="sortorder" value="descending"/>
                            <param name="widget_header" value="$LOCALIZE[31018]"/>
                            <param name="widget_target" value="files"/>
                            <param name="list_id" value="13200"/>
                        </include>
                        <include content="WidgetListChannels" condition="System.HasPVRAddon">
                            <param name="content_path" value="pvr://recordings/radio/active?view=flat"/>
                            <param name="sortby" value="date"/>
                            <param name="sortorder" value="descending"/>
                            <param name="widget_header" value="$LOCALIZE[31015]"/>
                            <param name="widget_target" value="pvr"/>
                            <param name="list_id" value="13300"/>
                            <param name="label" value="$INFO[ListItem.ChannelName]"/>
                            <param name="label2" value="$INFO[ListItem.Title]$INFO[ListItem.EpisodeName, (,)]"/>
                        </include>
                    </control>
                    <include content="ImageWidget" condition="!System.HasPVRAddon">
                        <param name="image_path" value="special://skin/extras/home-images/tv.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31143]" />
                        <param name="button_label" value="$LOCALIZE[31144]" />
                        <param name="button_onclick" value="ActivateWindow(addonbrowser,addons://user/xbmc.pvrclient,return)"/>
                        <param name="button_id" value="13400"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoRadioButton)"/>
                    </include>
                </control>
                <control type="group" id="14000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),favorites)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="favorites"/>
                    </include>
                    <control type="panel" id="14100">
                        <left>65</left>
                        <top>0</top>
                        <right>0</right>
                        <bottom>0</bottom>
                        <onleft>9000</onleft>
                        <onright>9000</onright>
                        <onup>14100</onup>
                        <ondown>14100</ondown>
                        <onclick>$INFO[ListItem.FileNameAndPath]</onclick>
                        <preloaditems>2</preloaditems>
                        <scrolltime tween="cubic" easing="out">500</scrolltime>
                        <orientation>vertical</orientation>
                        <visible>Integer.IsGreater(Container(14100).NumItems,0) | Container(14100).IsUpdating</visible>
                        <itemlayout width="330" height="396">
                            <control type="group">
                                <top>130</top>
                                <include content="InfoWallMusicLayout">
                                    <param name="fallback_image" value="DefaultFavourites.png" />
                                    <param name="focused" value="false" />
                                </include>
                            </control>
                        </itemlayout>
                        <focusedlayout width="330" height="396">
                            <control type="group">
                                <depth>DepthContentPopout</depth>
                                <top>130</top>
                                <animation effect="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="170,320">Focus</animation>
                                <animation effect="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="170,320">UnFocus</animation>
                                <include content="InfoWallMusicLayout">
                                    <param name="fallback_image" value="DefaultFavourites.png" />
                                    <param name="focused" value="true" />
                                </include>
                            </control>
                        </focusedlayout>
                        <content>favourites://</content>
                    </control>
                    <include content="ImageWidget">
                        <param name="image_path" value="special://skin/extras/home-images/add-ons.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31025]" />
                        <param name="button_label" value="$LOCALIZE[31116]" />
                        <param name="button_onclick" value=""/>
                        <param name="button_id" value="5500"/>
                        <param name="visible" value="!Integer.IsGreater(Container(14100).NumItems,0) + !Container(14100).IsUpdating"/>
                        <param name="visible_1" value="false"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoFavButton)"/>
                    </include>
                </control>
                <control type="group" id="15000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),weather)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="weather"/>
                    </include>
                    <control type="grouplist" id="15001">
                        <include>WidgetGroupListCommon</include>
                        <control type="group" id="16678">
                            <description>Weather info</description>
                            <left>68</left>
                            <right>70</right>
                            <top>102</top>
                            <height>300</height>
                            <visible>!String.IsEmpty(Weather.plugin)</visible>
                            <control type="image">
                                <bottom>90</bottom>
                                <width>100%</width>
                                <texture border="22">dialogs/dialog-bg.png</texture>
                            </control>
                            <control type="label">
                                <left>300</left>
                                <top>60</top>
                                <aligny>center</aligny>
                                <height>24</height>
                                <right>60</right>
                                <align>right</align>
                                <font>font30_title</font>
                                <label>$INFO[Weather.Location]</label>
                            </control>
                            <control type="label">
                                <left>300</left>
                                <top>120</top>
                                <aligny>center</aligny>
                                <height>24</height>
                                <right>60</right>
                                <align>right</align>
                                <font>font14</font>
                                <label>$INFO[Weather.Conditions,, ∙ ]$INFO[Weather.Temperature]</label>
                            </control>
                            <control type="grouplist">
                                <top>50</top>
                                <left>50</left>
                                <right>20</right>
                                <orientation>horizontal</orientation>
                                <align>left</align>
                                <itemgap>-110</itemgap>
                                <include content="WeatherIcon">
                                    <param name="label" value="Window(weather).Property(Current.Wind)" />
                                    <param name="texture" value="icons/weather/wind.png" />
                                    <param name="header" value="404" />
                                </include>
                                <include content="WeatherIcon">
                                    <param name="label" value="Window(weather).Property(Current.Humidity)" />
                                    <param name="texture" value="icons/weather/humidity.png" />
                                    <param name="header" value="406" />
                                </include>
                                <include content="WeatherIcon">
                                    <param name="label" value="Window(weather).Property(Current.Precipitation)" />
                                    <param name="texture" value="icons/weather/rain.png" />
                                    <param name="header" value="33021" />
                                </include>
                                <include content="WeatherIcon">
                                    <param name="label" value="Window(weather).Property(Today.Sunrise)" />
                                    <param name="texture" value="icons/weather/sunrise.png" />
                                    <param name="header" value="405" />
                                </include>
                                <include content="WeatherIcon">
                                    <param name="label" value="Window(weather).Property(Today.Sunset)" />
                                    <param name="texture" value="icons/weather/sunset.png" />
                                    <param name="header" value="403" />
                                </include>
                            </control>
                        </control>
                        <include content="WeatherWidget" condition="!String.IsEmpty(Weather.Plugin)">
                            <param name="content_include" value="HourlyItems" />
                            <param name="list_id" value="15100" />
                            <param name="widget_header" value="$LOCALIZE[33036]"/>
                            <param name="visible" value="!String.IsEmpty(Window(weather).Property(Hourly.IsFetched))" />
                        </include>
                        <include content="WeatherWidget" condition="!String.IsEmpty(Weather.Plugin)">
                            <param name="content_include" value="DailyItems" />
                            <param name="list_id" value="15200" />
                            <param name="widget_header" value="$LOCALIZE[31019]"/>
                            <param name="visible" value="!String.IsEmpty(Window(weather).Property(Daily.IsFetched))" />
                        </include>
                    </control>
                    <include content="ImageWidget">
                        <param name="image_path" value="special://skin/extras/home-images/weather.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31120]" />
                        <param name="button_label" value="$LOCALIZE[31121]" />
                        <param name="button_onclick" value="ActivateWindow(servicesettings,weather)"/>
                        <param name="button_id" value="15300"/>
                        <param name="visible" value="String.IsEmpty(Weather.plugin)"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoWeatherButton)"/>
                    </include>
                </control>
                <control type="group" id="16000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),musicvideos)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="musicvideos"/>
                    </include>
                    <control type="grouplist" id="16001">
                        <include>WidgetGroupListCommon</include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="library://music/musicvideos/"/>
                            <param name="widget_header" value="$LOCALIZE[31148]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="16900"/>
                            <param name="visible" value="Library.HasContent(musicvideos)"/>
                        </include>
                        <include content="WidgetListEpisodes">
                            <param name="content_path" value="videodb://recentlyaddedmusicvideos/"/>
                            <param name="widget_header" value="$LOCALIZE[20390]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="main_label" value="$INFO[ListItem.Label]" />
                            <param name="sub_label" value="$INFO[ListItem.Artist]" />
                            <param name="fallback_image" value="DefaultMusicSongs.png" />
                            <param name="list_id" value="16300"/>
                        </include>
                        <include content="WidgetListEpisodes">
                            <param name="content_path" value="special://skin/playlists/unwatched_musicvideos.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31151]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="main_label" value="$INFO[ListItem.Label]" />
                            <param name="sub_label" value="$INFO[ListItem.Artist]" />
                            <param name="fallback_image" value="DefaultMusicSongs.png" />
                            <param name="list_id" value="16400"/>
                        </include>
                        <include content="WidgetListSquare">
                            <param name="content_path" value="special://skin/playlists/random_musicvideo_artists.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31013]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="16200"/>
                            <param name="widget_limit" value="10"/>
                        </include>
                        <include content="WidgetListEpisodes">
                            <param name="content_path" value="special://skin/playlists/random_musicvideos.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31152]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="main_label" value="$INFO[ListItem.Label]" />
                            <param name="sub_label" value="$INFO[ListItem.Artist]" />
                            <param name="fallback_image" value="DefaultMusicSongs.png" />
                            <param name="list_id" value="16500"/>
                        </include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="videodb://musicvideos/studios/"/>
                            <param name="widget_header" value="$LOCALIZE[20388]"/>
                            <param name="widget_target" value="music"/>
                            <param name="list_id" value="16600"/>
                            <param name="icon" value="$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]"/>
                            <param name="icon_height" value="70"/>
                            <param name="visible" value="Library.HasContent(musicvideos)"/>
                        </include>
                    </control>
                    <include content="ImageWidget">
                        <param name="image_path" value="special://skin/extras/home-images/music.jpg"/>
                        <param name="text_label" value="$LOCALIZE[31104]" />
                        <param name="button_label" value="$LOCALIZE[31110]" />
                        <param name="button_onclick" value="ActivateWindow(videos,files,return)"/>
                        <param name="button_id" value="16800"/>
                        <param name="visible" value="!Library.HasContent(musicvideos)"/>
                        <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMusicVideoButton)"/>
                    </include>
                </control>
                <control type="group" id="4000">
                    <visible>String.IsEqual(Container(9000).ListItem.Property(id),pictures)</visible>
                    <include content="Visible_Right_Delayed">
                        <param name="id" value="pictures"/>
                    </include>
                    <control type="grouplist" id="4001">
                        <include>WidgetGroupListCommon</include>
                        <include content="WidgetListCategories">
                            <param name="content_path" value="sources://pictures/"/>
                            <param name="widget_header" value="$LOCALIZE[20094]"/>
                            <param name="widget_target" value="pictures"/>
                            <param name="list_id" value="4100"/>
                        </include>
                    </control>
                </control>
            </control>
            <control type="group">
                <depth>DepthContentPanel</depth>
                <include>OpenClose_Left</include>
                <include content="ContentPanel">
                    <param name="width" value="522" />
                </include>
                <control type="fixedlist" id="9000">
                    <left>0</left>
                    <top>240</top>
                    <width>462</width>
                    <bottom>-10</bottom>
                    <movement>6</movement>
                    <focusposition>1</focusposition>
                    <onfocus>ClearProperty(listposition,home)</onfocus>
                    <onright>SetFocus($INFO[Container(9000).ListItem.Property(menu_id)])</onright>
                    <onup>700</onup>
                    <ondown>700</ondown>
                    <scrolltime tween="cubic" easing="out">500</scrolltime>
                    <focusedlayout height="95">
                        <control type="group">
                            <animation effect="fade" start="100" end="0" time="0">UnFocus</animation>
                            <control type="image">
                                <left>0</left>
                                <top>0</top>
                                <width>462</width>
                                <height>95</height>
                                <texture colordiffuse="button_focus">lists/focus.png</texture>
                                <animation effect="fade" start="100" end="0" time="0" condition="[!Control.HasFocus(9000) + !ControlGroup(700).HasFocus] | System.HasModalDialog">Conditional</animation>
                            </control>
                            <control type="image">
                                <left>-3</left>
                                <top>1</top>
                                <width>95</width>
                                <height>95</height>
                                <texture colordiffuse="button_focus">$INFO[ListItem.Art(thumb)]</texture>
                                <animation effect="fade" start="0" end="100" time="300" reversible="false">Focus</animation>
                            </control>
                            <control type="image">
                                <left>0</left>
                                <top>0</top>
                                <width>95</width>
                                <height>95</height>
                                <texture colordiffuse="51FFFFFF">colors/black.png</texture>
                                <animation effect="fade" start="100" end="0" time="0" condition="[!Control.HasFocus(9000) + !ControlGroup(700).HasFocus] | System.HasModalDialog">Conditional</animation>
                            </control>
                        </control>
                        <control type="image">
                            <left>-3</left>
                            <top>1</top>
                            <width>95</width>
                            <height>95</height>
                            <texture>$INFO[ListItem.Art(thumb)]</texture>
                        </control>
                        <control type="label">
                            <left>104</left>
                            <top>0</top>
                            <height>95</height>
                            <width>560</width>
                            <aligny>center</aligny>
                            <font>font37</font>
                            <label>$INFO[ListItem.Label]</label>
                            <shadowcolor>text_shadow</shadowcolor>
                        </control>
                    </focusedlayout>
                    <itemlayout height="95">
                        <control type="image">
                            <left>-3</left>
                            <top>1</top>
                            <width>95</width>
                            <height>95</height>
                            <texture colordiffuse="44FFFFFF">$INFO[ListItem.Art(thumb)]</texture>
                        </control>
                        <control type="label">
                            <left>104</left>
                            <top>0</top>
                            <height>95</height>
                            <width>560</width>
                            <aligny>center</aligny>
                            <font>font37</font>
                            <label>$INFO[ListItem.Label]</label>
                            <shadowcolor>text_shadow</shadowcolor>
                        </control>
                    </itemlayout>
                    <content>
                        <item>
                            <label>$LOCALIZE[342]</label>
                            <onclick condition="Library.HasContent(movies)">ActivateWindow(Videos,videodb://movies/titles/,return)</onclick>
                            <onclick condition="!Library.HasContent(movies)">ActivateWindow(Videos,sources://video/,return)</onclick>
                            <property name="menu_id">$NUMBER[5000]</property>
                            <thumb>icons/sidemenu/movies.png</thumb>
                            <property name="id">movies</property>
                            <visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[20343]</label>
                            <onclick condition="Library.HasContent(tvshows)">ActivateWindow(Videos,videodb://tvshows/titles/,return)</onclick>
                            <onclick condition="!Library.HasContent(tvshows)">ActivateWindow(Videos,sources://video/,return)</onclick>
                            <property name="menu_id">$NUMBER[6000]</property>
                            <thumb>icons/sidemenu/tv.png</thumb>
                            <property name="id">tvshows</property>
                            <visible>!Skin.HasSetting(HomeMenuNoTVShowButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[2]</label>
                            <onclick>ActivateWindow(Music,root,return)</onclick>
                            <property name="menu_id">$NUMBER[7000]</property>
                            <thumb>icons/sidemenu/music.png</thumb>
                            <property name="id">music</property>
                            <visible>!Skin.HasSetting(HomeMenuNoMusicButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[20389]</label>
                            <property name="menu_id">$NUMBER[16000]</property>
                            <onclick>ActivateWindow(Videos,musicvideos,return)</onclick>
                            <thumb>icons/sidemenu/musicvideos.png</thumb>
                            <property name="id">musicvideos</property>
                            <visible>!Skin.HasSetting(HomeMenuNoMusicVideoButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[19020]</label>
                            <property name="menu_id">$NUMBER[12000]</property>
                            <onclick>ActivateWindow(TVChannels)</onclick>
                            <thumb>icons/sidemenu/livetv.png</thumb>
                            <property name="id">livetv</property>
                            <visible>!Skin.HasSetting(HomeMenuNoTVButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[19021]</label>
                            <property name="menu_id">$NUMBER[13000]</property>
                            <onclick>ActivateWindow(RadioChannels)</onclick>
                            <thumb>icons/sidemenu/radio.png</thumb>
                            <property name="id">radio</property>
                            <visible>!Skin.HasSetting(HomeMenuNoRadioButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[24001]</label>
                            <property name="menu_id">$NUMBER[8000]</property>
                            <onclick>ActivateWindow(1100)</onclick>
                            <thumb>icons/sidemenu/addons.png</thumb>
                            <property name="id">addons</property>
                            <visible>!Skin.HasSetting(HomeMenuNoProgramsButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[1]</label>
                            <onclick>ActivateWindow(Pictures)</onclick>
                            <property name="menu_id">$NUMBER[4000]</property>
                            <thumb>icons/sidemenu/pictures.png</thumb>
                            <property name="id">pictures</property>
                            <visible>!Skin.HasSetting(HomeMenuNoPicturesButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[3]</label>
                            <onclick>ActivateWindow(Videos,root)</onclick>
                            <property name="menu_id">$NUMBER[11000]</property>
                            <thumb>icons/sidemenu/videos.png</thumb>
                            <property name="id">video</property>
                            <visible>!Skin.HasSetting(HomeMenuNoVideosButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[10134]</label>
                            <onclick>ActivateWindow(favourites)</onclick>
                            <property name="menu_id">$NUMBER[14000]</property>
                            <thumb>icons/sidemenu/favourites.png</thumb>
                            <property name="id">favorites</property>
                            <visible>!Skin.HasSetting(HomeMenuNoFavButton)</visible>
                        </item>
                        <item>
                            <label>$LOCALIZE[8]</label>
                            <onclick condition="!String.IsEmpty(Weather.Plugin)">ActivateWindow(Weather)</onclick>
                            <onclick condition="String.IsEmpty(Weather.Plugin)">ReplaceWindow(servicesettings,weather)</onclick>
                            <property name="menu_id">$NUMBER[15000]</property>
                            <thumb>icons/sidemenu/weather.png</thumb>
                            <property name="id">weather</property>
                            <visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
                        </item>
                    </content>
                </control>
                <control type="grouplist" id="700">
                    <orientation>horizontal</orientation>
                    <itemgap>0</itemgap>
                    <left>-8</left>
                    <width>480</width>
                    <height>110</height>
                    <top>100</top>
                    <onup>SetFocus(9000)</onup>
                    <onup>PageDown</onup>
                    <onup>PageDown</onup>
                    <ondown>SetFocus(9000)</ondown>
                    <ondown>PageUp</ondown>
                    <ondown>PageUp</ondown>
                    <onright>2000</onright>
                    <align>justify</align>
                    <include content="IconButton">
                        <param name="control_id" value="804" />
                        <param name="onclick" value="XBMC.Quit()" />
                        <param name="icon" value="icons/power.png" />
                        <param name="label" value="$LOCALIZE[33060]" />
                    </include>
                    <include content="IconButton">
                        <param name="control_id" value="802" />
                        <param name="onclick" value="ActivateWindow(settings)" />
                        <param name="icon" value="icons/settings.png" />
                        <param name="label" value="$LOCALIZE[21417]" />
                    </include>
                    <include content="IconButton">
                        <param name="control_id" value="801" />
                        <param name="onclick" value="ActivateWindow(1107)" />
                        <param name="icon" value="icons/search.png" />
                        <param name="label" value="$LOCALIZE[137]" />
                    </include>
                    <include content="IconButton">
                        <param name="control_id" value="803" />
                        <param name="onclick" value="Fullscreen" />
                        <param name="icon" value="icons/now-playing/fullscreen.png" />
                        <param name="label" value="$LOCALIZE[31000]" />
                        <param name="visible" value="Player.HasMedia" />
                    </include>
                </control>
            </control>
            <include>BottomBar</include>
            <include content="TopBar">
                <param name="breadcrumbs_label" value="" />
            </include>
            <control type="group">
                <depth>DepthBars</depth>
                <animation effect="slide" end="0,-90" time="300" tween="sine" easing="inout" condition="$EXP[infodialog_active]">conditional</animation>
                <animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
                <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
                <top>30</top>
                <left>90</left>
                <control type="image">
                    <aspectratio>keep</aspectratio>
                    <width>56</width>
                    <height>56</height>
                    <texture colordiffuse="button_focus">icons/logo.png</texture>
                </control>
                <control type="image">
                    <left>40</left>
                    <top>10</top>
                    <aspectratio>keep</aspectratio>
                    <width>192</width>
                    <height>36</height>
                    <texture>icons/logo-text.png</texture>
                </control>
            </control>
            <control type="group">
                <animation effect="slide" end="0,90" time="300" tween="sine" easing="inout" condition="$EXP[infodialog_active]">conditional</animation>
                <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
                <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
                <control type="rss">
                    <left>0</left>
                    <bottom>0</bottom>
                    <height>39</height>
                    <width>100%</width>
                    <font>font12</font>
                    <urlset>1</urlset>
                    <hitrect x="-100" y="0" w="1" h="1" />
                    <titlecolor>button_focus</titlecolor>
                    <shadowcolor>text_shadow</shadowcolor>
                    <headlinecolor>FFC0C0C0</headlinecolor>
                    <visible>!Player.hasMedia</visible>
                </control>
            </control>
        </control>
    </controls>
</window>

Hope it helps you.
Reply
#9
Thanks but that's not for the Windows store version. For that version I found it here C:\Program Files\WindowsApps\XBMCFoundation.Kodi_17.0.0.0_x86__4n2hpmxwrvr6p\addons\skin.es​tuary\xml Which is almost impossible to edit. I've switched back to the normal installer version. See here: http://forum.kodi.tv/showthread.php?tid=...pid2528177
Reply
#10
(2017-02-17, 22:53)Sponky Wrote: Thanks but that's not for the Windows store version. For that version I found it here C:\Program Files\WindowsApps\XBMCFoundation.Kodi_17.0.0.0_x86__4n2hpmxwrvr6p\addons\skin.es​tuary\xml Which is almost impossible to edit. I've switched back to the normal installer version. See here: http://forum.kodi.tv/showthread.php?tid=...pid2528177

Good to know.
Thanks.
Reply
#11
Hello everybody, how are you?

Thank you "ymca" for the new code for Kodi 17, but I changed skin back to Confluence. How do I now remove some of the power options? I used the way to change the code as in Confluence, but there's no difference.

Please help! Smile
Reply
#12
(2017-02-17, 22:53)Sponky Wrote: Thanks but that's not for the Windows store version. For that version I found it here C:\Program Files\WindowsApps\XBMCFoundation.Kodi_17.0.0.0_x86__4n2hpmxwrvr6p\addons\skin.es​tuary\xml Which is almost impossible to edit. I've switched back to the normal installer version. See here: http://forum.kodi.tv/showthread.php?tid=...pid2528177
 thank you, work like a charm
i found home on ubuntu on usr/share/kodi/addons/skin.estuary/xml/home.xml
sudo chmod 777 file home and search power.
just find the action and change them and voila.

thank to this post
Reply
#13
What worked for me in Kodi 18 now not working on 20.
Anyone knows how to fix it?
Reply

Logout Mark Read Team Forum Stats Members Help
Remove Shutdown Menu From Power Button and Exit Only1
This forum uses Lukasz Tkacz MyBB addons.