Don't like ads? PRO users don't see any ads ;-)
Guest

Home.xml simphax mod

By: a guest on Nov 17th, 2010  |  syntax: XML  |  size: 49.33 KB  |  hits: 49  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <window id="0">
  2.   <defaultcontrol always="true">8999</defaultcontrol>
  3.   <allowoverlay>no</allowoverlay>  
  4.   <controls>
  5.     <control type="multiimage">
  6.       <posx>0</posx>
  7.       <posy>0</posy>
  8.       <width>1280</width>
  9.       <height>720</height>
  10.       <imagepath background="true">$INFO[Container(9000).ListItem.Icon]</imagepath>
  11.       <timeperimage>8000</timeperimage>
  12.       <randomize>true</randomize>
  13.       <fadetime>1000</fadetime>
  14.     </control>
  15.     <include>CommonMediaPlayingBackground</include>
  16.     <include condition="Skin.HasSetting(homepageHideRecentlyAdded)">HomeRecentlyAddedInfo</include>
  17.  
  18.    <control type="image">
  19.        <posx>0</posx>
  20.        <posy>0</posy>
  21.        <width>500</width>
  22.        <height>720</height>
  23.        <texture>blackgradient.png</texture>
  24.    </control>
  25.    <control type="group">
  26.       <control type="image">
  27.         <posx>500r</posx>
  28.         <posy>0</posy>
  29.         <width>500</width>
  30.         <height>720</height>
  31.         <texture flipx="true">blackgradient.png</texture>
  32.       </control>
  33.    </control>
  34.    <control type="group">
  35.       <control type="image">
  36.         <posx>0</posx>
  37.         <posy>300r</posy>
  38.         <width>1280</width>
  39.         <height>300</height>
  40.         <texture flipy="true">blackgradientvert.png</texture>
  41.         <aspectratio>stretch</aspectratio>
  42.       </control>
  43.    </control>
  44.  
  45. <!-- Music NOW PLAYING Info -->
  46.     <control type="group">
  47.       <posx>0</posx>
  48.       <posy>0</posy>
  49.       <visible>Player.HasAudio + !Skin.HasSetting(homepageMusicinfo)</visible>
  50.       <include>VisibleFadeEffect</include>
  51.       <include>Window_OpenClose_Animation</include>
  52.       <animation effect="slide" end="0,30" time="0" condition="!system.getbool(lookandfeel.enablerssfeeds)">conditional</animation>
  53.       <control type="image">
  54.         <description>Cover image</description>
  55.         <posx>130r</posx>
  56.         <posy>410</posy>
  57.         <width>110</width>
  58.         <height>110</height>
  59.         <aspectratio aligny="bottom">stretch</aspectratio>
  60.         <texture diffuse="masksquare.png">$INFO[MusicPlayer.Cover]</texture>
  61.       </control>
  62.       <control type="image">
  63.         <description>Cover overlay</description>
  64.         <posx>130r</posx>
  65.         <posy>410</posy>
  66.         <width>110</width>
  67.         <height>110</height>
  68.         <aspectratio aligny="bottom">stretch</aspectratio>
  69.         <texture diffuse="masksquare.png">GlassOverlay2.png</texture>
  70.       </control>
  71.       <control type="image">
  72.         <description>Cover border</description>
  73.         <posx>130r</posx>
  74.         <posy>410</posy>
  75.         <width>110</width>
  76.         <height>110</height>
  77.         <aspectratio aligny="bottom">stretch</aspectratio>
  78.         <texture>border-square.png</texture>
  79.       </control>
  80.       <control type="label">
  81.         <description>NowPlaying label</description>
  82.         <posx>140r</posx>
  83.         <posy>405</posy>
  84.         <height>30</height>
  85.         <width>660</width>
  86.         <label>$LOCALIZE[31040]</label>
  87.         <align>right</align>
  88.         <aligny>center</aligny>
  89.         <font>cirrus_20</font>
  90.         <textcolor>orange</textcolor>
  91.        
  92.       </control>
  93.       <control type="label">
  94.         <description>Artist label</description>
  95.         <posx>140r</posx>
  96.         <posy>435</posy>
  97.         <height>30</height>
  98.         <width>660</width>
  99.         <label>$INFO[MusicPlayer.Artist]</label>
  100.         <align>right</align>
  101.         <aligny>center</aligny>
  102.         <font>cirrus_16</font>
  103.         <textcolor>white</textcolor>
  104.        
  105.       </control>
  106.       <control type="label">
  107.         <description>Title label</description>
  108.         <posx>140r</posx>
  109.         <posy>465</posy>
  110.         <height>30</height>
  111.         <width>660</width>
  112.         <label>$INFO[MusicPlayer.Title]</label>
  113.         <align>right</align>
  114.         <aligny>center</aligny>
  115.         <font>cirrus_20</font>
  116.         <textcolor>white</textcolor>
  117.        
  118.       </control>
  119.       <control type="label">
  120.         <description>Time remaining</description>
  121.         <posx>140r</posx>
  122.         <posy>495</posy>
  123.         <height>30</height>
  124.         <width>660</width>
  125.         <label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
  126.         <align>right</align>
  127.         <aligny>center</aligny>
  128.         <font>cirrus_16</font>
  129.         <textcolor>white</textcolor>
  130.        
  131.       </control>
  132.     </control>
  133. <!-- Non-Library Video Info -->
  134.     <control type="group">
  135.       <posx>0</posx>
  136.       <posy>0</posy>
  137.       <visible>Player.HasVideo + !Skin.HasSetting(homepageVideoinfo)</visible>
  138.       <include>VisibleFadeEffect</include>
  139.       <include>Window_OpenClose_Animation</include>
  140.       <animation effect="slide" end="0,30" time="0" condition="!system.getbool(lookandfeel.enablerssfeeds)">conditional</animation>
  141.  
  142.       <control type="group">
  143.         <visible>!VideoPlayer.Content(Movies) + !VideoPlayer.Content(Episodes)</visible>
  144.         <control type="image">
  145.           <description>Cover image</description>
  146.           <posx>120r</posx>
  147.           <posy>380</posy>
  148.           <width>100</width>
  149.           <height>140</height>
  150.           <aspectratio aligny="top">stretch</aspectratio>
  151.           <texture diffuse="maskposter.png">$INFO[VideoPlayer.Cover]</texture>
  152.         </control>
  153.         <control type="image">
  154.           <posx>120r</posx>
  155.           <posy>380</posy>
  156.           <width>100</width>
  157.           <height>140</height>
  158.           <aspectratio aligny="top">stretch</aspectratio>
  159.           <fadetime>IconCrossfadeTime</fadetime>
  160.           <texture background="true" diffuse="maskposter.png">GlassOverlay2.png</texture>
  161.         </control>
  162.         <control type="image">
  163.           <posx>120r</posx>
  164.           <posy>380</posy>
  165.           <width>100</width>
  166.           <height>140</height>
  167.           <aspectratio aligny="top">stretch</aspectratio>
  168.           <fadetime>IconCrossfadeTime</fadetime>
  169.           <texture background="true">border-poster.png</texture>
  170.         </control>
  171.         <control type="label">
  172.           <description>NowPlaying label</description>
  173.           <posx>130r</posx>
  174.           <posy>380</posy>
  175.           <height>30</height>
  176.           <width>660</width>
  177.           <label>[COLOR=orange]$LOCALIZE[31040][/COLOR]</label>
  178.           <align>right</align>
  179.           <aligny>center</aligny>
  180.           <font>cirrus_24</font>
  181.           <textcolor>blue</textcolor>
  182.          
  183.         </control>
  184.         <control type="label">
  185.           <description>Title label</description>
  186.           <posx>130r</posx>
  187.           <posy>410</posy>
  188.           <height>30</height>
  189.           <width>660</width>
  190.           <label>$INFO[VideoPlayer.Title]$INFO[VideoPlayer.Year,[COLOR=grey] (,)[/COLOR]]</label>
  191.           <align>right</align>
  192.           <aligny>center</aligny>
  193.           <font>cirrus_24</font>
  194.           <textcolor>white</textcolor>
  195.          
  196.         </control>
  197.         <control type="label">
  198.           <description>Time Label</description>
  199.           <posx>130r</posx>
  200.           <posy>470</posy>
  201.           <height>30</height>
  202.           <width>325</width>
  203.           <label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
  204.           <align>right</align>
  205.           <aligny>center</aligny>
  206.           <font>cirrus_16</font>
  207.           <textcolor>white</textcolor>
  208.          
  209.         </control>
  210.       </control>
  211.     <!-- NOW PLAYING INFO MOVIES -->
  212.       <control type="group">
  213.         <visible>VideoPlayer.Content(Movies)</visible>
  214.         <control type="image">
  215.           <description>Cover image</description>
  216.           <posx>120r</posx>
  217.           <posy>380</posy>
  218.           <width>100</width>
  219.           <height>140</height>
  220.           <aspectratio aligny="top">stretch</aspectratio>
  221.           <texture diffuse="maskposter.png">$INFO[VideoPlayer.Cover]</texture>
  222.         </control>
  223.         <control type="image">
  224.           <posx>120r</posx>
  225.           <posy>380</posy>
  226.           <width>100</width>
  227.           <height>140</height>
  228.           <aspectratio aligny="top">stretch</aspectratio>
  229.           <fadetime>IconCrossfadeTime</fadetime>
  230.           <texture background="true" diffuse="maskposter.png">GlassOverlay2.png</texture>
  231.         </control>
  232.         <control type="image">
  233.           <posx>120r</posx>
  234.           <posy>380</posy>
  235.           <width>100</width>
  236.           <height>140</height>
  237.           <aspectratio aligny="top">stretch</aspectratio>
  238.           <fadetime>IconCrossfadeTime</fadetime>
  239.           <texture background="true">border-poster.png</texture>
  240.         </control>
  241.         <control type="label">
  242.           <description>NowPlaying label</description>
  243.           <posx>130r</posx>
  244.           <posy>380</posy>
  245.           <height>30</height>
  246.           <width>660</width>
  247.           <label>[COLOR=orange]$LOCALIZE[31040][/COLOR]</label>
  248.           <align>right</align>
  249.           <aligny>center</aligny>
  250.           <font>cirrus_24</font>
  251.           <textcolor>blue</textcolor>
  252.          
  253.         </control>
  254.         <control type="label">
  255.           <description>Title label</description>
  256.           <posx>130r</posx>
  257.           <posy>410</posy>
  258.           <height>30</height>
  259.           <width>660</width>
  260.           <label>$INFO[VideoPlayer.Title]$INFO[VideoPlayer.Year,[COLOR=grey] (,)[/COLOR]]</label>
  261.           <align>right</align>
  262.           <aligny>center</aligny>
  263.           <font>cirrus_24</font>
  264.           <textcolor>white</textcolor>
  265.          
  266.         </control>
  267.         <control type="label">
  268.           <description>Genre Label</description>
  269.           <posx>130r</posx>
  270.           <posy>440</posy>
  271.           <height>30</height>
  272.           <width>660</width>
  273.           <label>$INFO[VideoPlayer.Genre]</label>
  274.           <align>right</align>
  275.           <aligny>center</aligny>
  276.           <font>cirrus_16</font>
  277.           <textcolor>white</textcolor>
  278.          
  279.         </control>
  280.         <control type="label">
  281.           <description>Time Label</description>
  282.           <posx>130r</posx>
  283.           <posy>470</posy>
  284.           <height>30</height>
  285.           <width>325</width>
  286.           <label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
  287.           <align>right</align>
  288.           <aligny>center</aligny>
  289.           <font>cirrus_16</font>
  290.           <textcolor>white</textcolor>
  291.          
  292.         </control>
  293.       </control>
  294.     <!-- NOW PLAYING EPISODES -->
  295.       <control type="group">
  296.         <visible>VideoPlayer.Content(Episodes)</visible>
  297.         <control type="image">
  298.           <description>Cover image</description>
  299.           <posx>240r</posx>
  300.           <posy>400</posy>
  301.           <width>200</width>
  302.           <height>120</height>
  303.           <aspectratio aligny="top">stretch</aspectratio>
  304.           <texture diffuse="maskthumbnail.png">$INFO[VideoPlayer.Cover]</texture>
  305.         </control>
  306.         <control type="image">
  307.           <posx>240r</posx>
  308.           <posy>400</posy>
  309.           <width>200</width>
  310.           <height>120</height>
  311.           <aspectratio aligny="top">stretch</aspectratio>
  312.           <fadetime>IconCrossfadeTime</fadetime>
  313.           <texture background="true" diffuse="maskthumbnail.png">GlassOverlay2.png</texture>
  314.         </control>
  315.         <control type="image">
  316.           <posx>240r</posx>
  317.           <posy>400</posy>
  318.           <width>200</width>
  319.           <height>120</height>
  320.           <aspectratio aligny="top">stretch</aspectratio>
  321.           <fadetime>IconCrossfadeTime</fadetime>
  322.           <texture background="true">border-thumbnail.png</texture>
  323.         </control>
  324.         <control type="label">
  325.           <description>NowPlaying label</description>
  326.           <posx>250r</posx>
  327.           <posy>400</posy>
  328.           <height>30</height>
  329.           <width>610</width>
  330.           <label>$LOCALIZE[31040]</label>
  331.           <align>right</align>
  332.           <aligny>center</aligny>
  333.           <font>cirrus_24</font>
  334.           <textcolor>orange</textcolor>
  335.          
  336.         </control>
  337.         <control type="label">
  338.           <description>TV Show label</description>
  339.           <posx>250r</posx>
  340.           <posy>430</posy>
  341.           <height>30</height>
  342.           <width>610</width>
  343.           <label>$INFO[VideoPlayer.TVShowTitle]</label>
  344.           <align>right</align>
  345.           <aligny>center</aligny>
  346.           <font>cirrus_20</font>
  347.           <textcolor>white</textcolor>
  348.          
  349.         </control>
  350.         <control type="label">
  351.           <description>Season Ep Label</description>
  352.           <posx>250r</posx>
  353.           <posy>460</posy>
  354.           <height>30</height>
  355.           <width>610</width>
  356.           <label>$LOCALIZE[20373] $INFO[VideoPlayer.Season] - $LOCALIZE[20359] $INFO[VideoPlayer.episode]</label>
  357.           <align>right</align>
  358.           <aligny>center</aligny>
  359.           <font>cirrus_16</font>
  360.           <textcolor>white</textcolor>
  361.          
  362.         </control>
  363.         <control type="label">
  364.           <description>Title label</description>
  365.           <posx>250r</posx>
  366.           <posy>490</posy>
  367.           <height>30</height>
  368.           <width>610</width>
  369.           <label>$INFO[VideoPlayer.Title]</label>
  370.           <align>right</align>
  371.           <aligny>center</aligny>
  372.           <font>cirrus_20</font>
  373.           <textcolor>white</textcolor>
  374.          
  375.         </control>
  376.       </control>
  377.     </control>
  378. <!-- END OF NOW PLAYING CONTROLS -->
  379.  
  380.     <control type="group">
  381.       <animation effect="slide" end="-370,0" time="500" tween="quadratic" easing="out">WindowClose</animation>
  382.       <animation effect="slide" start="-370,0" time="500" tween="quadratic" easing="out">WindowOpen</animation>
  383.  
  384.           <!-- UNCOMMENT THIS FOR A LEFT SIDE TRANSPARENT BAR BEHIND MENU
  385.      <control type="image">
  386.        <posx>0</posx>
  387.        <posy>0</posy>
  388.        <width>280</width>
  389.        <height>750</height>
  390.        <texture>black-back3.png</texture>
  391.      </control>
  392. -->
  393. <!-- HOME MENU SUBMENUS -->
  394.       <control type="group" id="9001">
  395.         <posx>0</posx>
  396.         <posy>240</posy>
  397.                 <control type="image">
  398.           <posx>10</posx>
  399.           <posy>-500</posy>
  400.           <width>280</width>
  401.           <height>1250</height>
  402.           <texture>homesubbackground.png</texture>
  403.                   <aspectratio>stretch</aspectratio>
  404.         </control>
  405.         <animation effect="fade" start="100" end="0" time="0" condition="!ControlGroup(9001).HasFocus">conditional</animation>
  406.         <animation effect="fade" start="0" end="100" delay="300" time="200" condition="ControlGroup(9001).HasFocus">conditional</animation>
  407.         <animation effect="fade" start="100" end="0" time="0" condition="ControlGroup(9001).HasFocus">WindowClose</animation>
  408.         <animation effect="slide" end="210,0" time="300" tween="quadratic" easing="out" condition="ControlGroup(9001).HasFocus">conditional</animation>
  409.         <animation effect="slide" end="0,-204" time="300" condition="Container(9000).Row(1)">conditional</animation>
  410.         <animation effect="slide" end="0,-102" time="300" condition="Container(9000).Row(2)">conditional</animation>
  411.         <animation effect="slide" end="0,102" time="300" condition="Container(9000).Row(4)">conditional</animation>
  412.         <animation effect="slide" end="0,204" time="300" condition="Container(9000).Row(5)">conditional</animation>
  413. <!-- VIDEOS SUBMENU -->
  414.         <control type="grouplist" id="9010">
  415.           <posx>10</posx>
  416.           <posy>0</posy>
  417.           <width>240</width>
  418.           <height>240</height>
  419.           <align>center</align>
  420.           <onleft>9000</onleft>
  421.           <onright>Control.SetFocus(8000,0)</onright>
  422.           <onup>9010</onup>
  423.           <ondown>9010</ondown>
  424.           <itemgap>0</itemgap>
  425.           <visible>Container(9000).HasFocus(2)</visible>
  426.           <control type="button" id="90101">
  427.             <font>cirrus_20</font>
  428.             <include>ButtonHomeSubCommonValues</include>
  429.             <label>342</label>
  430.             <onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
  431.             <visible>Library.HasContent(Movies)</visible>
  432.           </control>
  433.           <control type="button" id="90102">
  434.             <font>cirrus_20</font>
  435.             <include>ButtonHomeSubCommonValues</include>
  436.             <label>20343</label>
  437.             <onclick>ActivateWindow(VideoLibrary,TvShowTitles,return)</onclick>
  438.             <visible>Library.HasContent(TVShows)</visible>
  439.           </control>
  440.           <control type="button" id="90103">
  441.             <font>cirrus_20</font>
  442.             <include>ButtonHomeSubCommonValues</include>
  443.             <label>20389</label>
  444.             <onclick>ActivateWindow(VideoLibrary,MusicVideoTitles,return)</onclick>
  445.             <visible>Library.HasContent(MusicVideos)</visible>
  446.           </control>
  447.           <control type="button" id="90104">
  448.             <font>cirrus_20</font>
  449.             <include>ButtonHomeSubCommonValues</include>
  450.             <label>744</label>
  451.             <onclick>ActivateWindow(VideoFiles)</onclick>
  452.           </control>
  453.           <control type="button" id="90105">
  454.             <font>cirrus_20</font>
  455.             <include>ButtonHomeSubCommonValues</include>
  456.             <label>14022</label>
  457.             <onclick>ActivateWindow(VideoLibrary)</onclick>
  458.             <visible>Library.HasContent(Videos)</visible>
  459.           </control>
  460.           <control type="button" id="90106">
  461.             <font>cirrus_20</font>
  462.             <include>ButtonHomeSubCommonValues</include>
  463.             <label>31007</label>
  464.             <onclick>ActivateWindow(VideoLibrary,Plugins)</onclick>
  465.             <visible>Library.HasContent(Video)</visible>
  466.           </control>
  467.           <control type="button" id="90107">
  468.             <font>cirrus_20</font>
  469.             <include>ButtonHomeSubCommonValues</include>
  470.             <label>31007</label>
  471.             <onclick>ActivateWindow(VideoFiles,$LOCALIZE[1037])</onclick>
  472.             <visible>!Library.HasContent(Video)</visible>
  473.           </control>
  474.         </control>
  475. <!-- MUSIC SUBMENU -->
  476.         <control type="grouplist" id="9011">
  477.           <posx>10</posx>
  478.           <posy>0</posy>
  479.           <width>240</width>
  480.           <height>240</height>
  481.           <align>center</align>
  482.           <onleft>9000</onleft>
  483.           <onright>9001</onright>
  484.           <onup>9011</onup>
  485.           <ondown>9011</ondown>
  486.           <itemgap>0</itemgap>
  487.           <visible>Container(9000).HasFocus(3)</visible>
  488.           <control type="button" id="90111">
  489.             <font>cirrus_20</font>
  490.             <include>ButtonHomeSubCommonValues</include>
  491.             <label>133</label>
  492.             <onclick>ActivateWindow(MusicLibrary,Artists,return)</onclick>
  493.             <visible>Library.HasContent(Music)</visible>
  494.           </control>
  495.           <control type="button" id="90112">
  496.             <font>cirrus_20</font>
  497.             <include>ButtonHomeSubCommonValues</include>
  498.             <label>132</label>
  499.             <onclick>ActivateWindow(MusicLibrary,Albums,return)</onclick>
  500.             <visible>Library.HasContent(Music)</visible>
  501.           </control>
  502.           <control type="button" id="90113">
  503.             <font>cirrus_20</font>
  504.             <include>ButtonHomeSubCommonValues</include>
  505.             <label>134</label>
  506.             <onclick>ActivateWindow(MusicLibrary,Songs,return)</onclick>
  507.             <visible>Library.HasContent(Music)</visible>
  508.           </control>
  509.           <control type="button" id="90114">
  510.             <font>cirrus_20</font>
  511.             <include>ButtonHomeSubCommonValues</include>
  512.             <label>744</label>
  513.             <onclick>ActivateWindow(MusicFiles)</onclick>
  514.           </control>
  515.           <control type="button" id="90115">
  516.             <font>cirrus_20</font>
  517.             <include>ButtonHomeSubCommonValues</include>
  518.             <label>14022</label>
  519.             <onclick>ActivateWindow(MusicLibrary)</onclick>
  520.             <visible>Library.HasContent(Music)</visible>
  521.           </control>
  522.           <control type="button" id="9011456">
  523.             <font>cirrus_20</font>
  524.             <include>ButtonHomeSubCommonValues</include>
  525.             <label>653</label>
  526.             <onclick>UpdateLibrary(Music)</onclick>
  527.           </control>
  528.           <control type="button" id="90117">
  529.             <font>cirrus_20</font>
  530.             <include>ButtonHomeSubCommonValues</include>
  531.             <label>31007</label>
  532.             <onclick>ActivateWindow(MusicFiles,$LOCALIZE[1038])</onclick>
  533.             <visible>!Library.HasContent(Music)</visible>
  534.           </control>
  535.         </control>
  536.         <control type="grouplist" id="9014">
  537.           <posx>10</posx>
  538.           <posy>0</posy>
  539.           <width>240</width>
  540.           <height>280</height>
  541.           <align>center</align>
  542.           <onleft>9000</onleft>
  543.           <onright>9001</onright>
  544.           <onup>9014</onup>
  545.           <ondown>9014</ondown>
  546.           <itemgap>0</itemgap>
  547.           <visible>Container(9000).HasFocus(5)</visible>
  548.           <control type="button" id="90141">
  549.             <font>cirrus_20</font>
  550.             <include>ButtonHomeSubCommonValues</include>
  551.             <label>5</label>
  552.             <onclick>ActivateWindow(Settings)</onclick>
  553.           </control>
  554.           <control type="button" id="90142">
  555.             <font>cirrus_20</font>
  556.             <include>ButtonHomeSubCommonValues</include>
  557.             <label>7</label>
  558.             <onclick>ActivateWindow(FileManager)</onclick>
  559.           </control>
  560.           <control type="button" id="90143">
  561.             <font>cirrus_20</font>
  562.             <include>ButtonHomeSubCommonValues</include>
  563.             <label>13200</label>
  564.             <onclick>ActivateWindow(Profiles)</onclick>
  565.           </control>
  566.           <control type="button" id="90144">
  567.             <font>cirrus_20</font>
  568.             <include>ButtonHomeSubCommonValues</include>
  569.             <label>130</label>
  570.             <onclick>ActivateWindow(SystemInfo)</onclick>
  571.           </control>
  572.           <control type="button" id="90145">
  573.             <font>cirrus_20</font>
  574.             <include>ButtonHomeSubCommonValues</include>
  575.             <label>470</label>
  576.             <onclick>ActivateWindow(Credits)</onclick>
  577.             <visible>False</visible>
  578.           </control>
  579.  
  580.  
  581.  
  582.                   <!-- WHEN CLEAN HOME SELECTED -->
  583.           <control type="button" id="901451">
  584.             <font>cirrus_20</font>
  585.             <include>ButtonHomeSubCommonValues</include>
  586.             <label>13005</label>
  587.             <onclick>ActivateWindow(ShutdownMenu)</onclick>
  588.             <visible>Skin.HasSetting(cleanHome)</visible>
  589.           </control>
  590.           <control type="button" id="901452">
  591.             <font>cirrus_20</font>
  592.             <include>ButtonHomeSubCommonValues</include>
  593.             <label>1036</label>
  594.             <onclick>ActivateWindow(Favourites)</onclick>
  595.             <visible>Skin.HasSetting(cleanHome)</visible>
  596.           </control>
  597.           <control type="button" id="901453">
  598.             <font>cirrus_20</font>
  599.             <include>ButtonHomeSubCommonValues</include>
  600.             <label>446</label>
  601.             <onclick>XBMC.PlayDVD()</onclick>
  602.             <visible>Skin.HasSetting(cleanHome)</visible>
  603.           </control>
  604.                   <!-- END -->
  605.  
  606.                  
  607.                  
  608.                  
  609.  
  610.         </control>
  611.         <control type="grouplist" id="9015">
  612.           <posx>10</posx>
  613.           <posy>0</posy>
  614.           <width>240</width>
  615.           <height>240</height>
  616.           <align>center</align>
  617.           <onleft>9000</onleft>
  618.           <onright>9001</onright>
  619.           <onup>9015</onup>
  620.           <ondown>9015</ondown>
  621.           <itemgap>0</itemgap>
  622.           <visible>Container(9000).HasFocus(8) + [[Skin.HasSetting(HomeScriptButton1) + !IsEmpty(Skin.String(HomeScriptButton1_label))] | [Skin.HasSetting(HomeScriptButton2) + !IsEmpty(Skin.String(HomeScriptButton2_label))] | [Skin.HasSetting(HomeScriptButton3) + !IsEmpty(Skin.String(HomeScriptButton3_label))] | [Skin.HasSetting(HomeScriptButton4) + !IsEmpty(Skin.String(HomeScriptButton4_label))] | [Skin.HasSetting(HomeScriptButton5) + !IsEmpty(Skin.String(HomeScriptButton5_label))] | [Skin.HasSetting(HomeScriptButton6) + !IsEmpty(Skin.String(HomeScriptButton6_label))]]</visible>
  623.           <control type="button" id="90151">
  624.             <font>cirrus_20</font>
  625.             <description>Button1</description>
  626.             <include>ButtonHomeSubCommonValues</include>
  627.             <label>$INFO[Skin.String(HomeScriptButton1_label)]</label>
  628.             <onclick>Setfocus(9000)</onclick>
  629.             <onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton1_Path)])</onclick>
  630.             <visible>Skin.HasSetting(HomeScriptButton1) + !IsEmpty(Skin.String(HomeScriptButton1_label))</visible>
  631.           </control>
  632.           <control type="button" id="90152">
  633.             <font>cirrus_20</font>
  634.             <description>Button2</description>
  635.             <include>ButtonHomeSubCommonValues</include>
  636.             <label>$INFO[Skin.String(HomeScriptButton2_label)]</label>
  637.             <onclick>Setfocus(9000)</onclick>
  638.             <onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton2_Path)])</onclick>
  639.             <visible>Skin.HasSetting(HomeScriptButton2) + !IsEmpty(Skin.String(HomeScriptButton2_label))</visible>
  640.           </control>
  641.           <control type="button" id="90153">
  642.             <font>cirrus_20</font>
  643.             <description>Button3</description>
  644.             <include>ButtonHomeSubCommonValues</include>
  645.             <label>$INFO[Skin.String(HomeScriptButton3_label)]</label>
  646.             <onclick>Setfocus(9000)</onclick>
  647.             <onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton3_Path)])</onclick>
  648.             <visible>Skin.HasSetting(HomeScriptButton3) + !IsEmpty(Skin.String(HomeScriptButton3_label))</visible>
  649.           </control>
  650.           <control type="button" id="90154">
  651.             <font>cirrus_20</font>
  652.             <description>Button4</description>
  653.             <include>ButtonHomeSubCommonValues</include>
  654.             <label>$INFO[Skin.String(HomeScriptButton4_label)]</label>
  655.             <onclick>Setfocus(9000)</onclick>
  656.             <onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton4_Path)])</onclick>
  657.             <visible>Skin.HasSetting(HomeScriptButton4) + !IsEmpty(Skin.String(HomeScriptButton4_label))</visible>
  658.           </control>
  659.           <control type="button" id="90155">
  660.             <font>cirrus_20</font>
  661.             <description>Button5</description>
  662.             <include>ButtonHomeSubCommonValues</include>
  663.             <label>$INFO[Skin.String(HomeScriptButton5_label)]</label>
  664.             <onclick>Setfocus(9000)</onclick>
  665.             <onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton5_Path)])</onclick>
  666.             <visible>Skin.HasSetting(HomeScriptButton5) + !IsEmpty(Skin.String(HomeScriptButton5_label))</visible>
  667.           </control>
  668.           <control type="button" id="90156">
  669.             <font>cirrus_20</font>
  670.             <description>Button6</description>
  671.             <include>ButtonHomeSubCommonValues</include>
  672.             <label>$INFO[Skin.String(HomeScriptButton6_label)]</label>
  673.             <onclick>Setfocus(9000)</onclick>
  674.             <onclick>XBMC.RunScript($INFO[Skin.String(HomeScriptButton6_Path)])</onclick>
  675.             <visible>Skin.HasSetting(HomeScriptButton6) + !IsEmpty(Skin.String(HomeScriptButton6_label))</visible>
  676.           </control>
  677.         </control>
  678.                 <!-- MY MAIN MENU MODS -->
  679.         <control type="grouplist" id="9016">
  680.           <posx>10</posx>
  681.           <posy>0</posy>
  682.           <width>240</width>
  683.           <height>400</height>
  684.           <align>center</align>
  685.           <onleft>9000</onleft>
  686.           <onright>Control.SetFocus(8000,0)</onright>
  687.           <onup>9016</onup>
  688.           <ondown>9016</ondown>
  689.           <itemgap>0</itemgap>
  690.           <visible>Container(9000).HasFocus(10)</visible>
  691.           <control type="button" id="901671">
  692.             <font>cirrus_20</font>
  693.             <include>ButtonHomeSubCommonValues</include>
  694.             <label>1219</label>
  695.             <onclick>ActivateWindow(VideoFiles)</onclick>
  696.           </control>
  697.           <control type="button" id="90161">
  698.             <font>cirrus_20</font>
  699.             <include>ButtonHomeSubCommonValues</include>
  700.             <label>369</label>
  701.             <onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
  702.           </control>
  703.           <control type="button" id="90162">
  704.             <font>cirrus_20</font>
  705.             <include>ButtonHomeSubCommonValues</include>
  706.             <label>135</label>
  707.             <onclick>ActivateWindow(VideoLibrary,MovieGenres,return)</onclick>
  708.           </control>
  709.           <control type="button" id="90163">
  710.             <font>cirrus_20</font>
  711.             <include>ButtonHomeSubCommonValues</include>
  712.             <label>652</label>
  713.             <onclick>ActivateWindow(VideoLibrary,MovieYears,return)</onclick>
  714.           </control>
  715.           <control type="button" id="90166">
  716.             <font>cirrus_20</font>
  717.             <include>ButtonHomeSubCommonValues</include>
  718.             <label>31328</label>
  719.             <onclick>ActivateWindow(VideoLibrary,RecentlyAddedMovies,return)</onclick>
  720.           </control>
  721.           <control type="button" id="90164">
  722.             <font>cirrus_20</font>
  723.             <include>ButtonHomeSubCommonValues</include>
  724.             <label>344</label>
  725.             <onclick>ActivateWindow(VideoLibrary,MovieActors,return)</onclick>
  726.           </control>
  727.           <control type="button" id="90165">
  728.             <font>cirrus_20</font>
  729.             <include>ButtonHomeSubCommonValues</include>
  730.             <label>20348</label>
  731.             <onclick>ActivateWindow(VideoLibrary,MovieDirectors,return)</onclick>
  732.           </control>
  733.           <control type="button" id="9016701">
  734.             <font>cirrus_20</font>
  735.             <include>ButtonHomeSubCommonValues</include>
  736.             <label>653</label>
  737.             <onclick>UpdateLibrary(Video)</onclick>
  738.           </control>
  739.         </control>
  740.         <control type="grouplist" id="9017">
  741.           <posx>10</posx>
  742.           <posy>0</posy>
  743.           <width>240</width>
  744.           <height>240</height>
  745.           <align>center</align>
  746.           <onleft>9000</onleft>
  747.           <onright>Control.SetFocus(8001,0)</onright>
  748.           <onup>9017</onup>
  749.           <ondown>9017</ondown>
  750.           <itemgap>0</itemgap>
  751.           <visible>Container(9000).HasFocus(11)</visible>
  752.           <control type="button" id="90171">
  753.             <font>cirrus_20</font>
  754.             <include>ButtonHomeSubCommonValues</include>
  755.             <label>369</label>
  756.             <onclick>ActivateWindow(VideoLibrary,TVShowTitles,return)</onclick>
  757.           </control>
  758.           <control type="button" id="90172">
  759.             <font>cirrus_20</font>
  760.             <include>ButtonHomeSubCommonValues</include>
  761.             <label>135</label>
  762.             <onclick>ActivateWindow(VideoLibrary,TVShowGenres,return)</onclick>
  763.           </control>
  764.           <control type="button" id="90173">
  765.             <font>cirrus_20</font>
  766.             <include>ButtonHomeSubCommonValues</include>
  767.             <label>652</label>
  768.             <onclick>ActivateWindow(VideoLibrary,TVShowYears,return)</onclick>
  769.           </control>
  770.           <control type="button" id="90174">
  771.             <font>cirrus_20</font>
  772.             <include>ButtonHomeSubCommonValues</include>
  773.             <label>344</label>
  774.             <onclick>ActivateWindow(VideoLibrary,TVShowActors,return)</onclick>
  775.           </control>
  776.           <control type="button" id="90175">
  777.             <font>cirrus_20</font>
  778.             <include>ButtonHomeSubCommonValues</include>
  779.             <label>31328</label>
  780.             <onclick>ActivateWindow(VideoLibrary,RecentlyAddedEpisodes,return)</onclick>
  781.           </control>
  782.                   <control type="button" id="90176134">
  783.             <font>cirrus_20</font>
  784.             <include>ButtonHomeSubCommonValues</include>
  785.             <label>653</label>
  786.             <onclick>UpdateLibrary(Video)</onclick>
  787.           </control>
  788.         </control>
  789.       </control>
  790.  
  791.       <control type="button" id="8999">
  792.         <description>Run Recently added</description>
  793.         <posx>-20</posx>
  794.         <posy>-20</posy>
  795.         <width>1</width>
  796.         <height>1</height>
  797.         <label>-</label>
  798.         <font>-</font>
  799.         <onfocus>XBMC.RunScript(script.recentlyadded,limit=4)</onfocus>
  800.                 <!-- <onfocus>XBMC.RunScript(special://skin/scripts/RecentlyAdded.py,limit=4)</onfocus> -->
  801.         <onfocus>SetFocus(9000)</onfocus>
  802.         <texturenofocus>-</texturenofocus>
  803.         <texturefocus>-</texturefocus>
  804.         <visible>Skin.HasSetting(homepageHideRecentlyAdded)</visible>
  805.       </control>
  806.       <control type="button" id="8999">
  807.         <description>Don't run Recently added</description>
  808.         <posx>-20</posx>
  809.         <posy>-20</posy>
  810.         <width>1</width>
  811.         <height>1</height>
  812.         <label>-</label>
  813.         <font>-</font>
  814.         <onfocus>SetFocus(9000)</onfocus>
  815.         <texturenofocus>-</texturenofocus>
  816.         <texturefocus>-</texturefocus>
  817.         <visible>!Skin.HasSetting(homepageHideRecentlyAdded)</visible>
  818.       </control>
  819. <!-- MAIN MENU -->
  820.       <control type="wraplist" id="9000">
  821.         <hitrect x="50" y="50" w="330" h="620" />
  822.         <posx>-20</posx>
  823.         <posy>0</posy>
  824.         <width>400</width>
  825.         <height>720</height>
  826.         <onleft>10</onleft>
  827.         <onright>9001</onright>
  828.         <onup>9000</onup>
  829.         <ondown>9000</ondown>
  830.         <pagecontrol>-</pagecontrol>
  831.         <scrolltime>300</scrolltime>
  832.         <focusposition>3</focusposition>
  833.         <movement>1</movement>
  834.         <animation effect="fade" start="0" end="100" time="20">Visible</animation>
  835.         <animation effect="fade" start="100" end="30" time="20" condition="Window.IsVisible(1113) | ControlGroup(9001).HasFocus | ControlGroup(10).HasFocus | Control.HasFocus(8000) | Control.HasFocus(8001)">conditional</animation>
  836.         <itemlayout height="102" width="380">
  837.           <control type="label">
  838.             <posx>40</posx>
  839.             <posy>21</posy>
  840.             <width>380</width>
  841.             <height>40</height>
  842.             <font>cirrus_45</font>
  843.             <textcolor>grey3</textcolor>
  844.             <align>left</align>
  845.             <aligny>center</aligny>
  846.             <label>$INFO[ListItem.Label]</label>
  847.             <animation effect="fade" start="100" end="30" time="0" condition="Window.IsVisible(1113) | ControlGroup(9001).HasFocus | ControlGroup(10).HasFocus">conditional</animation>
  848.           </control>
  849.         </itemlayout>
  850.         <focusedlayout height="102" width="380">
  851.           <control type="label">
  852.             <posx>40</posx>
  853.             <posy>21</posy>
  854.             <width>380</width>
  855.             <height>40</height>
  856.             <font>cirrus_45</font>
  857.             <textcolor>white</textcolor>
  858.             <align>left</align>
  859.             <aligny>center</aligny>
  860.             <label>$INFO[ListItem.Label]</label>
  861.           </control>
  862.         </focusedlayout>
  863.         <content>
  864.           <item id="8">
  865.             <label>247</label>
  866.             <onclick>ActivateWindow(Scripts)</onclick>
  867.             <icon>special://skin/backgrounds/scripts.jpg</icon>
  868.             <thumb>$INFO[Skin.String(Home_Custom_Back_Scripts_Folder)]</thumb>
  869.             <visible>!Skin.HasSetting(HomeMenuNoScriptsButton)</visible>
  870.           </item>
  871.           <item id="6">
  872.             <label>8</label>
  873.             <onclick>ActivateWindow(Weather)</onclick>
  874.             <icon>special://skin/backgrounds/weather.jpg</icon>
  875.             <thumb>$INFO[Skin.String(Home_Custom_Back_Weather_Folder)]</thumb>
  876.             <visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
  877.             <visible>!Skin.HasSetting(ShowWeatherFanart) | IsEmpty(Skin.String(WeatherFanartDir))</visible>
  878.           </item>
  879.           <item id="6">
  880.             <label>8</label>
  881.             <onclick>ActivateWindow(Weather)</onclick>
  882.             <icon>special://skin/backgrounds/weather.jpg</icon>
  883.             <thumb>$INFO[Skin.String(WeatherFanartDir)]$INFO[Weather.FanartCode]</thumb>
  884.             <visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
  885.             <visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
  886.           </item>
  887.           <item id="4">
  888.             <label>1</label>
  889.             <onclick>ActivateWindow(Pictures)</onclick>
  890.             <icon>special://skin/backgrounds/pictures.jpg</icon>
  891.             <thumb>$INFO[Skin.String(Home_Custom_Back_Pictures_Folder)]</thumb>
  892.             <visible>!Skin.HasSetting(HomeMenuNoPicturesButton)</visible>
  893.           </item>
  894.           <item id="2">
  895.             <label>3</label>
  896.             <onclick>ActivateWindow(Videos)</onclick>
  897.             <icon>special://skin/backgrounds/videos.jpg</icon>
  898.             <thumb>$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</thumb>
  899.             <visible>!Skin.HasSetting(HomeMenuNoVideosButton) + ![Skin.HasSetting(HomeMenuNoMoviesButton) + Skin.HasSetting(HomeMenuNoTVShowsButton)]</visible>
  900.           </item>
  901.           <item id="2">
  902.             <label>3</label>
  903.             <onclick>ActivateWindow(VideoFiles)</onclick>
  904.             <icon>special://skin/backgrounds/videos.jpg</icon>
  905.             <thumb>$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</thumb>
  906.             <visible>!Skin.HasSetting(HomeMenuNoVideosButton) + [Skin.HasSetting(HomeMenuNoMoviesButton) + Skin.HasSetting(HomeMenuNoTVShowsButton)]</visible>
  907.           </item>
  908.           <item id="10">
  909.             <label>20342</label>
  910.             <onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
  911.             <icon>special://skin/backgrounds/videos.jpg</icon>
  912.             <thumb>$INFO[Skin.String(Home_Custom_Back_Movies_Folder)]</thumb>
  913.             <visible>!Skin.HasSetting(HomeMenuNoMoviesButton) + Library.HasContent(Movies)</visible>
  914.           </item>
  915.           <item id="11">
  916.             <label>20343</label>
  917.             <onclick>ActivateWindow(VideoLibrary,TVShowTitles,return)</onclick>
  918.             <icon>special://skin/backgrounds/tv_shows.jpg</icon>
  919.             <thumb>$INFO[Skin.String(Home_Custom_Back_TVShow_Folder)]</thumb>
  920.             <visible>!Skin.HasSetting(HomeMenuNoTVShowsButton) + Library.HasContent(TVShows)</visible>
  921.           </item>
  922.                                         <item id="15">
  923.                                                 <description>Custom Movie One</description>
  924.                                                 <label>$INFO[Skin.String(Menu_Custom1_Label)]</label>
  925.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  926.                                                 <thumb>$INFO[Skin.String(Menu_Custom1_Folder)]</thumb>
  927.                                                 <onclick>$INFO[Skin.String(Menu_Custom1_Path)]</onclick>
  928.                                                 <visible>Skin.HasSetting(Menu_Custom1)</visible>
  929.                                         </item>
  930.                                         <item id="16">
  931.                                                 <description>Custom Movie Two</description>
  932.                                                 <label>$INFO[Skin.String(Menu_Custom2_Label)]</label>
  933.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  934.                                                 <thumb>$INFO[Skin.String(Menu_Custom2_Folder)]</thumb>
  935.                                                 <onclick>$INFO[Skin.String(Menu_Custom2_Path)]</onclick>
  936.                                                 <visible>Skin.HasSetting(Menu_Custom2)</visible>
  937.                                         </item>
  938.                                         <item id="17">
  939.                                                 <description>Custom Movie Three</description>
  940.                                                 <label>$INFO[Skin.String(Menu_Custom3_Label)]</label>
  941.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  942.                                                 <thumb>$INFO[Skin.String(Menu_Custom3_Folder)]</thumb>
  943.                                                 <onclick>$INFO[Skin.String(Menu_Custom3_Path)]</onclick>
  944.                                                 <visible>Skin.HasSetting(Menu_Custom3)</visible>
  945.                                         </item>
  946.                                         <item id="22">
  947.                                                 <description>Custom Movie Seven</description>
  948.                                                 <label>$INFO[Skin.String(Menu_Custom7_Label)]</label>
  949.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  950.                                                 <thumb>$INFO[Skin.String(Menu_Custom7_Folder)]</thumb>
  951.                                                 <onclick>$INFO[Skin.String(Menu_Custom7_Path)]</onclick>
  952.                                                 <visible>Skin.HasSetting(Menu_Custom7)</visible>
  953.                                         </item>
  954.                                         <item id="23">
  955.                                                 <description>Custom Movie Eight</description>
  956.                                                 <label>$INFO[Skin.String(Menu_Custom8_Label)]</label>
  957.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  958.                                                 <thumb>$INFO[Skin.String(Menu_Custom8_Folder)]</thumb>
  959.                                                 <onclick>$INFO[Skin.String(Menu_Custom8_Path)]</onclick>
  960.                                                 <visible>Skin.HasSetting(Menu_Custom8)</visible>
  961.                                         </item>
  962.                                         <item id="19">
  963.                                                 <description>Custom Movie Four</description>
  964.                                                 <label>$INFO[Skin.String(Menu_Custom4_Label)]</label>
  965.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  966.                                                 <thumb>$INFO[Skin.String(Menu_Custom4_Folder)]</thumb>
  967.                                                 <onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom4_Path)],return)</onclick>
  968.                                                 <visible>Skin.HasSetting(Menu_Custom4)</visible>
  969.                                         </item>
  970.                                         <item id="20">
  971.                                                 <description>Custom Movie Five</description>
  972.                                                 <label>$INFO[Skin.String(Menu_Custom5_Label)]</label>
  973.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  974.                                                 <thumb>$INFO[Skin.String(Menu_Custom5_Folder)]</thumb>
  975.                                                 <onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom5_Path)],return)</onclick>
  976.                                                 <visible>Skin.HasSetting(Menu_Custom5)</visible>
  977.                                         </item>
  978.                                         <item id="21">
  979.                                                 <description>Custom Movie Six</description>
  980.                                                 <label>$INFO[Skin.String(Menu_Custom6_Label)]</label>
  981.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  982.                                                 <thumb>$INFO[Skin.String(Menu_Custom6_Folder)]</thumb>
  983.                                                 <onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom6_Path)],return)</onclick>
  984.                                                 <visible>Skin.HasSetting(Menu_Custom6)</visible>
  985.                                         </item>
  986.                                         <item id="24">
  987.                                                 <description>Custom Movie Nine</description>
  988.                                                 <label>$INFO[Skin.String(Menu_Custom9_Label)]</label>
  989.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  990.                                                 <thumb>$INFO[Skin.String(Menu_Custom9_Folder)]</thumb>
  991.                                                 <onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom9_Path)],return)</onclick>
  992.                                                 <visible>Skin.HasSetting(Menu_Custom9)</visible>
  993.                                         </item>
  994.                                         <item id="25">
  995.                                                 <description>Custom Movie TEn</description>
  996.                                                 <label>$INFO[Skin.String(Menu_Custom10_Label)]</label>
  997.                                                 <icon>special://skin/media/backgrounds/custom.jpg</icon>
  998.                                                 <thumb>$INFO[Skin.String(Menu_Custom10_Folder)]</thumb>
  999.                                                 <onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom10_Path)],return)</onclick>
  1000.                                                 <visible>Skin.HasSetting(Menu_Custom10)</visible>
  1001.                                         </item>
  1002.           <item id="3">
  1003.             <label>2</label>
  1004.             <onclick>ActivateWindow(Music)</onclick>
  1005.             <icon>special://skin/backgrounds/music.jpg</icon>
  1006.             <thumb>$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</thumb>
  1007.             <visible>!Skin.HasSetting(HomeMenuNoMusicButton)</visible>
  1008.           </item>
  1009.           <item id="1">
  1010.             <label>0</label>
  1011.             <onclick>ActivateWindow(Programs,Addons,return)</onclick>
  1012.             <icon>special://skin/backgrounds/programs.jpg</icon>
  1013.             <thumb>$INFO[Skin.String(Home_Custom_Back_Programs_Folder)]</thumb>
  1014.             <visible>!Skin.HasSetting(HomeMenuNoProgramsButton)</visible>
  1015.           </item>
  1016.           <item id="5">
  1017.             <label>13000</label>
  1018.             <onclick>ActivateWindow(Settings)</onclick>
  1019.             <icon>special://skin/backgrounds/settings.jpg</icon>
  1020.             <thumb>$INFO[Skin.String(Home_Custom_Back_Settings_Folder)]</thumb>
  1021.           </item>
  1022.         </content>
  1023.       </control>
  1024.       <control type="image">
  1025.         <description>LOGO</description>
  1026.         <posx>10</posx>
  1027.         <posy>10</posy>
  1028.         <width>160</width>
  1029.         <height>40</height>
  1030.         <texture>xbmc_logo_white.png</texture>
  1031.                 <visible>!Skin.HasSetting(cleanHome)</visible>
  1032.       </control>
  1033.       <control type="image">
  1034.         <description>LOGO Mirror</description>
  1035.         <posx>10</posx>
  1036.         <posy>42</posy>
  1037.         <width>160</width>
  1038.         <height>40</height>
  1039.         <texture diffuse="diffuse_mirror.png" flipy="true">xbmc_logo_white.png</texture>
  1040.                 <visible>!Skin.HasSetting(cleanHome)</visible>
  1041.       </control>
  1042.       <control type="group" id="10">
  1043.         <posx>15</posx>
  1044.         <posy>55r</posy>
  1045.         <control type="button" id="20">
  1046.           <description>Power push button</description>
  1047.           <posx>90</posx>
  1048.           <posy>0</posy>
  1049.           <width>43</width>
  1050.           <height>43</height>
  1051.           <label>-</label>
  1052.           <font>-</font>
  1053.           <aligny>-</aligny>
  1054.           <onclick>ActivateWindow(ShutdownMenu)</onclick>
  1055.           <texturefocus>homepowerbuttonFO.png</texturefocus>
  1056.           <texturenofocus>homepowerbuttonNF.png</texturenofocus>
  1057.           <onleft>21</onleft>
  1058.           <onright>9000</onright>
  1059.           <onup>9000</onup>
  1060.           <ondown>9000</ondown>
  1061.                   <visible>!Skin.HasSetting(cleanHome)</visible>
  1062.         </control>
  1063.         <control type="button" id="21">
  1064.           <description>Favourites push button</description>
  1065.           <posx>45</posx>
  1066.           <posy>0</posy>
  1067.           <width>43</width>
  1068.           <height>43</height>
  1069.           <label>-</label>
  1070.           <font>-</font>
  1071.           <aligny>-</aligny>
  1072.           <onclick>ActivateWindow(Favourites)</onclick>
  1073.           <texturefocus>homefavouritesbuttonFO.png</texturefocus>
  1074.           <texturenofocus>homefavouritesbuttonNF.png</texturenofocus>
  1075.           <onleft>22</onleft>
  1076.           <onright>20</onright>
  1077.           <onup>9000</onup>
  1078.           <ondown>9000</ondown>
  1079.                   <visible>!Skin.HasSetting(cleanHome)</visible>
  1080.         </control>
  1081.         <control type="button" id="22">
  1082.           <description>Play Disc Media push button</description>
  1083.           <posx>0</posx>
  1084.           <posy>0</posy>
  1085.           <width>43</width>
  1086.           <height>43</height>
  1087.           <label>-</label>
  1088.           <font>-</font>
  1089.           <aligny>-</aligny>
  1090.           <onclick>XBMC.PlayDVD()</onclick>
  1091.           <texturefocus>homeplaybuttonFO.png</texturefocus>
  1092.           <texturenofocus>homeplaybuttonNF.png</texturenofocus>
  1093.           <onleft>9000</onleft>
  1094.           <onright>21</onright>
  1095.           <onup>9000</onup>
  1096.           <ondown>9000</ondown>
  1097.           <visible>System.HasMediaDVD</visible>
  1098.                   <visible>!Skin.HasSetting(cleanHome)</visible>
  1099.         </control>
  1100.         <control type="button" id="22">
  1101.           <description>Play Disc Media push button</description>
  1102.           <posx>0</posx>
  1103.           <posy>0</posy>
  1104.           <width>43</width>
  1105.           <height>43</height>
  1106.           <label>-</label>
  1107.           <font>-</font>
  1108.           <aligny>-</aligny>
  1109.           <onclick>ActivateWindow(1113)</onclick>
  1110.           <texturefocus>homeplaybuttonFO.png</texturefocus>
  1111.           <texturenofocus>homeplaybuttonNF.png</texturenofocus>
  1112.           <onleft>9000</onleft>
  1113.           <onright>21</onright>
  1114.           <onup>9000</onup>
  1115.           <ondown>9000</ondown>
  1116.           <visible>!System.HasMediaDVD + !Skin.HasSetting(cleanHome)</visible>
  1117.         </control>
  1118.       </control>
  1119.     </control>
  1120.  
  1121.    <control type="group">
  1122.       <posx>140</posx>
  1123.       <posy>25</posy>
  1124.       <animation effect="slide" end="0,35" time="300" tween="quadratic" easing="out">WindowClose</animation>
  1125.       <animation effect="slide" start="0,35" time="300" tween="quadratic" easing="out">WindowOpen</animation>
  1126.       <control type="rss">
  1127.         <description>RSS feed</description>
  1128.         <posx>1280r</posx>
  1129.         <posy>670</posy>
  1130.         <height>35</height>
  1131.         <width>1280</width>
  1132.         <font>cirrus_18</font>
  1133.         <urlset>1</urlset>
  1134.         <textcolor>orange</textcolor>
  1135.         <titlecolor>orange</titlecolor>
  1136.         <headlinecolor>white</headlinecolor>
  1137.         <visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
  1138.       </control>
  1139.     </control>
  1140.  
  1141.     <control type="group">
  1142.       <posx>40r</posx><!-- 380r -->
  1143.       <posy>200r</posy>
  1144.       <width>500</width>
  1145.       <align>right</align>
  1146.       <animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
  1147.       <animation effect="slide" start="0,0" end="380,0" delay="0" time="300">WindowClose</animation>
  1148.       <animation effect="slide" start="380,0" end="0,0" delay="0" time="300">WindowOpen</animation>
  1149.       <control type="label">
  1150.         <description>time label</description>
  1151.         <posx>20</posx>
  1152.         <posy>77</posy>
  1153.         <width>500</width>
  1154.         <height>28</height>
  1155.         <align>right</align>
  1156.         <aligny>top</aligny>
  1157.         <font>cirrus_40</font>
  1158.         <textcolor>white</textcolor>
  1159.        
  1160.         <label>$INFO[System.Time]</label>
  1161.       </control>
  1162.       <control type="label">
  1163.         <description>time label</description>
  1164.         <posx>20</posx>
  1165.         <posy>115</posy>
  1166.         <width>500</width>
  1167.         <height>28</height>
  1168.         <align>right</align>
  1169.         <aligny>center</aligny>
  1170.         <font>cirrus_20</font>
  1171.         <textcolor>white</textcolor>
  1172.        
  1173.         <label>[COLOR=grey]$INFO[System.Date][/COLOR]</label>
  1174.       </control>      
  1175.       <!-- weather Info -->
  1176.       <control type="group">
  1177.         <posx>800r</posx>
  1178.         <posy>120</posy>
  1179.         <align>right</align>
  1180.         <animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
  1181.         <animation effect="slide" start="0,0" end="510,0" delay="0" time="300">WindowClose</animation>
  1182.         <animation effect="slide" start="510,0" end="0,0" delay="0" time="300">WindowOpen</animation>
  1183.         <visible>!Skin.HasSetting(homepageWeatherinfo) + Weather.IsFetched</visible>
  1184.         <control type="image">
  1185.           <description>Weather image</description>
  1186.           <posx>290</posx>
  1187.           <posy>20</posy>
  1188.           <width>30</width>
  1189.           <height>30</height>
  1190.           <aspectratio>keep</aspectratio>
  1191.           <texture>$INFO[Weather.Conditions]</texture>
  1192.         </control>
  1193.         <control type="label">
  1194.           <description>time label</description>
  1195.           <posx>280</posx>
  1196.           <posy>20</posy>
  1197.           <width>200</width>
  1198.           <height>28</height>
  1199.           <align>right</align>
  1200.           <aligny>center</aligny>
  1201.           <font>cirrus_20</font>
  1202.           <textcolor>white</textcolor>
  1203.          
  1204.           <label>$INFO[Weather.Temperature]</label>
  1205.         </control>
  1206.       </control>
  1207.      
  1208.     </control>
  1209.  
  1210.   </controls>
  1211.  
  1212. </window>