Advertisement
Guest User

Untitled

a guest
Oct 18th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 21.78 KB | None | 0 0
  1. <!---------------------------- RecentlyAdded ------------------------------------------------------------------------------>
  2.         <!-- Recently Added Fullscreen Fanart -->  
  3.         <control type="group">
  4.             <posy>MenuBarOffsetY</posy>
  5.             <width>1280</width>
  6.             <height>720</height>
  7.             <!-- KenBurnsAnim -->
  8.             <animation effect="zoom" start="110" end="130" center="auto" time="15000" tween="cubic" easing="inout" pulse="true" condition="[Container.Content(Movies) + Skin.HasSetting(AnimateMoviesFanart)] | [[Container.Content(TVShows) | Container.Content(Episodes) | Container.Content(Seasons)] + Skin.HasSetting(AnimateTVShowsFanart)] | [[Container.Content(Albums) | Container.Content(Songs) | Container.Content(Artists)] + Skin.HasSetting(AnimateMusicFanart)]">Conditional</animation>
  9.        
  10.             <animation effect="slide" start="-10,-10" end="20,20" time="7000" tween="cubic" easing="inout" pulse="true" condition="[Container.Content(Movies) + Skin.HasSetting(AnimateMoviesFanart)] | [[Container.Content(TVShows) | Container.Content(Episodes) | Container.Content(Seasons)] + Skin.HasSetting(AnimateTVShowsFanart)] | [[Container.Content(Albums) | Container.Content(Songs) | Container.Content(Artists)] + Skin.HasSetting(AnimateMusicFanart)]">Conditional</animation>
  11.             <!-- KenBurnsAnim -->  
  12.             <control type="image"> 
  13.                 <width>1280</width>
  14.                 <height>720</height>
  15.                 <fadetime>FanartCrossfadeTime</fadetime>
  16.                 <info>Window.Property(LatestMovie.1.Fanart)</info>
  17.                 <visible>Control.HasFocus(305) + Container(305).Row(0) </visible>      
  18.             </control>
  19.             <control type="image">
  20.                 <width>1280</width>
  21.                 <height>720</height>
  22.                 <fadetime>FanartCrossfadeTime</fadetime>
  23.                 <info>Window.Property(LatestMovie.2.Fanart)</info>
  24.                 <visible>Control.HasFocus(305) + Container(305).Row(1) </visible>      
  25.             </control>
  26.             <control type="image">
  27.                 <width>1280</width>
  28.                 <height>720</height>
  29.                 <fadetime>FanartCrossfadeTime</fadetime>
  30.                 <info>Window.Property(LatestMovie.3.Fanart)</info>
  31.                 <visible>Control.HasFocus(305) + Container(305).Row(2) </visible>      
  32.             </control>
  33.             <control type="image">
  34.                 <width>1280</width>
  35.                 <height>720</height>
  36.                 <fadetime>FanartCrossfadeTime</fadetime>
  37.                 <info>Window.Property(LatestMovie.4.Fanart)</info>
  38.                 <visible>Control.HasFocus(305) + Container(305).Row(3) </visible>      
  39.             </control>
  40.             <control type="image">
  41.                 <width>1280</width>
  42.                 <height>720</height>
  43.                 <fadetime>FanartCrossfadeTime</fadetime>
  44.                 <info>Window.Property(LatestMovie.5.Fanart)</info>
  45.                 <visible>Control.HasFocus(305) + Container(305).Row(4) </visible>      
  46.             </control>
  47.         </control>
  48.         <!-- Recently Added MOD - All this section added to implement the Recent Menus -->
  49.         <!--  start latest movie control area -->  
  50.         <control type="group" id="304">
  51.             <posy>105</posy>
  52.             <posx>800</posx>
  53.             <onup>600</onup>
  54.             <visible>[Container(850).HasFocus(5) + !Skin.HasSetting(HideRecentMovies)] | [Container(850).HasFocus(6) + !Skin.HasSetting(HideRecentTVShows)] | [Container(850).HasFocus(3) + !Skin.HasSetting(HideRecentAlbums)]</visible>
  55.             <!-- animations to slide the control on visible or window close -->
  56.             <animation effect="slide" end="500" time="500">WindowClose</animation>
  57.             <animation effect="slide" start="500,0" end="0,0" time="600" delay="800">WindowOpen</animation>
  58.             <animation effect="slide" start="500,0" end="0,0" time="600">VisibleChange</animation>
  59.             <!-- if we don't have focus, fade out (after a second)-->
  60.             <animation effect="fade" start="100" end="75" time="200" delay="1000" condition="!Control.HasFocus(304)">Conditional</animation>
  61.            
  62.             <!-- fade in when focused, out when unfocused -->
  63.             <animation effect="fade" start="75" end="100" time="200">Focus</animation>
  64.             <control type="image">
  65.                 <width>470</width>
  66.                 <height>150</height>
  67.                 <texture border="15">item-focus-background.png</texture>
  68.                
  69.             </control>
  70.             <control type="image">
  71.                 <width>470</width>
  72.                 <height>150</height>
  73.                 <texture border="15">item-focus-background2.png</texture>
  74.                 <colordiffuse>55ffffff</colordiffuse>
  75.                 <visible>Control.HasFocus(305) | Control.HasFocus(306) | Control.HasFocus(307)</visible>
  76.             </control>
  77.             <control type="group">
  78.                 <posy>5</posy>
  79.                 <posx>25</posx>
  80.                 <visible> !Container(850).HasFocus(6) + !Container(850).HasFocus(7) + !Container(850).HasFocus(3) + !Skin.HasSetting(HideRecentMovies)</visible>
  81.                
  82.                 <control type="label">
  83.                     <description>Latest Movies</description>
  84.                     <posy>5</posy>
  85.                     <width>342</width>
  86.                     <font>LargeListLabelFont</font>
  87.                     <textcolor>MediaInfoHeadColor</textcolor>
  88.                     <shadowcolor>ShadowColor</shadowcolor>
  89.                     <label>RECENTLY ADDED MOVIES</label>
  90.                 </control>
  91.                 <control type="list" id="305">
  92.                     <description>List of latest movies</description>
  93.                     <visible allowhiddenfocus="true">!Skin.HasSetting(HideRecentMovies)</visible>
  94.                     <posy>35</posy>
  95.                     <posx>0</posx>
  96.                     <width>300</width>
  97.                     <height>120</height>
  98.                     <onup>600</onup>
  99.                     <ondown>510</ondown>
  100.                     <onleft>510</onleft>
  101.                     <onright>510</onright>
  102.                     <viewtype label="3D list">list</viewtype>
  103.                     <orientation>vertical</orientation>
  104.                     <pagecontrol>25</pagecontrol>
  105.                     <scrolltime>200</scrolltime>
  106.                     <itemlayout width="342" height="18" condition="true">
  107.                         <control type="label">
  108.                             <posx>0</posx>
  109.                             <posy>0</posy>
  110.                             <width>300</width>
  111.                             <height>22</height>
  112.                             <font>RecentLabelFont</font>
  113.                             <aligny>top</aligny>
  114.                             <textcolor>Grey</textcolor>
  115.                             <selectedcolor>Grey</selectedcolor>
  116.                             <align>left</align>
  117.                             <info>ListItem.Label</info>
  118.                         </control>             
  119.                     </itemlayout>
  120.                     <focusedlayout width="342" height="18">
  121.                         <control type="label">
  122.                             <posx>0</posx>
  123.                             <posy>0</posy>
  124.                             <width>300</width>
  125.                             <height>22</height>
  126.                             <font>RecentLabelFont</font>
  127.                             <aligny>top</aligny>
  128.                             <textcolor>White</textcolor>
  129.                             <selectedcolor>White</selectedcolor>
  130.                             <align>left</align>
  131.                             <info>ListItem.Label</info>
  132.                         </control>                 
  133.                     </focusedlayout>
  134.                     <content>
  135.                         <item id="1">
  136.                             <label>$INFO[Window.Property(LatestMovie.1.Title)]</label>
  137.                             <onclick>$INFO[Window.Property(LatestMovie.1.Path),PlayMedia(,)]</onclick>
  138.                             <thumb>$INFO[Window.Property(LatestMovie.1.Fanart)]</thumb>
  139.                             <visible>substring(Window.Property(LatestMovie.1.Path),.)</visible>
  140.                         </item>
  141.                         <item id="2">
  142.                             <label>$INFO[Window.Property(LatestMovie.2.Title)]</label>
  143.                             <onclick>$INFO[Window.Property(LatestMovie.2.Path),PlayMedia(,)]</onclick>
  144.                             <thumb>$INFO[Window.Property(LatestMovie.2.Fanart)]</thumb>
  145.                             <visible>substring(Window.Property(LatestMovie.2.Path),.)</visible>
  146.                         </item>
  147.                         <item id="3">
  148.                             <label>$INFO[Window.Property(LatestMovie.3.Title)]</label>
  149.                             <onclick>$INFO[Window.Property(LatestMovie.3.Path),PlayMedia(,)]</onclick>
  150.                             <thumb>$INFO[Window.Property(LatestMovie.3.Fanart)]</thumb>
  151.                             <visible>substring(Window.Property(LatestMovie.3.Path),.)</visible>
  152.                         </item>
  153.                         <item id="4">
  154.                             <label>$INFO[Window.Property(LatestMovie.4.Title)]</label>
  155.                             <onclick>$INFO[Window.Property(LatestMovie.4.Path),PlayMedia(,)]</onclick>
  156.                             <thumb>$INFO[Window.Property(LatestMovie.4.Fanart)]</thumb>
  157.                             <visible>substring(Window.Property(LatestMovie.4.Path),.)</visible>
  158.                         </item>
  159.                         <item id="5">
  160.                             <label>$INFO[Window.Property(LatestMovie.5.Title)]</label>
  161.                             <onclick>$INFO[Window.Property(LatestMovie.5.Path),PlayMedia(,)]</onclick>
  162.                             <thumb>$INFO[Window.Property(LatestMovie.5.Fanart)]</thumb>
  163.                             <visible>substring(Window.Property(LatestMovie.5.Path),.)</visible>
  164.                         </item>
  165.                     </content>
  166.                 </control>
  167.                 <control type="image">
  168.                     <posx>340</posx>
  169.                     <posy>10</posy>
  170.                     <width>250</width>
  171.                     <height>120</height>
  172.                     <aspectratio align="left">keep</aspectratio>
  173.                     <info>Window.Property(LatestMovie.1.Thumb)</info>
  174.                     <visible>Container(305).Row(0) </visible>
  175.                 </control>
  176.                 <control type="image">
  177.                     <posx>340</posx>
  178.                     <posy>10</posy>
  179.                     <width>250</width>
  180.                     <height>120</height>
  181.                     <aspectratio align="left">keep</aspectratio>
  182.                     <info>Window.Property(LatestMovie.2.Thumb)</info>
  183.                     <visible>Container(305).Row(1) </visible>
  184.                 </control> 
  185.                 <control type="image">
  186.                     <posx>340</posx>
  187.                     <posy>10</posy>
  188.                     <width>250</width>
  189.                     <height>120</height>
  190.                     <aspectratio align="left">keep</aspectratio>
  191.                     <info>Window.Property(LatestMovie.3.Thumb)</info>
  192.                     <visible>Container(305).Row(2) </visible>
  193.                 </control>
  194.                 <control type="image">
  195.                     <posx>340</posx>
  196.                     <posy>10</posy>
  197.                     <width>250</width>
  198.                     <height>120</height>
  199.                     <aspectratio align="left">keep</aspectratio>
  200.                     <info>Window.Property(LatestMovie.4.Thumb)</info>
  201.                     <visible>Container(305).Row(3) </visible>
  202.                 </control>
  203.                 <control type="image">
  204.                     <posx>340</posx>
  205.                     <posy>10</posy>
  206.                     <width>250</width>
  207.                     <height>120</height>
  208.                     <aspectratio align="left">keep</aspectratio>
  209.                     <info>Window.Property(LatestMovie.5.Thumb)</info>
  210.                     <visible>Container(305).Row(4) </visible>
  211.                 </control>
  212.             </control>
  213.             <control type="group">
  214.                 <posy>5</posy>
  215.                 <posx>25</posx>
  216.                 <visible> !Container(850).HasFocus(5) + !Container(850).HasFocus(4) + !Container(850).HasFocus(3) + !Container(850).HasFocus(7) + !Skin.HasSetting(HideRecentTVShows)</visible>
  217.                
  218.                 <control type="label">
  219.                     <description>Latest TV Shows</description>
  220.                     <posy>5</posy>
  221.                     <width>300</width>
  222.                     <font>LargeListLabelFont</font>
  223.                     <textcolor>MediaInfoHeadColor</textcolor>
  224.                     <shadowcolor>ShadowColor</shadowcolor>
  225.                     <label>RECENTLY ADDED TV SHOWS</label>
  226.                 </control>
  227.                 <control type="list" id="306">
  228.                     <description>List of latest TV Shows</description>
  229.                     <visible allowhiddenfocus="true">!Skin.HasSetting(HideRecentTVShows)</visible>
  230.                     <posy>35</posy>
  231.                     <posx>0</posx>
  232.                     <width>265</width>
  233.                     <height>120</height>
  234.                     <onup>600</onup>
  235.                     <ondown>510</ondown>
  236.                     <onleft>510</onleft>
  237.                     <onright>510</onright>
  238.                     <viewtype label="3D list">list</viewtype>
  239.                     <orientation>vertical</orientation>
  240.                     <pagecontrol>25</pagecontrol>
  241.                     <scrolltime>200</scrolltime>
  242.                     <itemlayout width="265" height="18" condition="true">
  243.                         <control type="label">
  244.                             <posx>0</posx>
  245.                             <posy>0</posy>
  246.                             <width>265</width>
  247.                             <height>22</height>
  248.                             <font>RecentLabelFont</font>
  249.                             <aligny>top</aligny>
  250.                             <textcolor>Grey</textcolor>
  251.                             <selectedcolor>Grey</selectedcolor>
  252.                             <align>left</align>
  253.                             <info>ListItem.Label</info>
  254.                         </control>             
  255.                     </itemlayout>
  256.                     <focusedlayout width="265" height="18">
  257.                         <control type="label">
  258.                             <posx>0</posx>
  259.                             <posy>0</posy>
  260.                             <width>265</width>
  261.                             <height>22</height>
  262.                             <font>RecentLabelFont</font>
  263.                             <aligny>top</aligny>
  264.                             <textcolor>White</textcolor>
  265.                             <selectedcolor>White</selectedcolor>
  266.                             <align>left</align>
  267.                             <info>ListItem.Label</info>
  268.                         </control>                 
  269.                     </focusedlayout>
  270.                    
  271.                    
  272.                     <content>
  273.                         <item id="1">
  274.                             <label>$INFO[Window.Property(LatestEpisode.1.ShowTitle)] ($INFO[Window.Property(LatestEpisode.1.EpisodeNo)])</label>
  275.                             <onclick>$INFO[Window.Property(LatestEpisode.1.Path),PlayMedia(,)]</onclick>
  276.                             <thumb>$INFO[Window.Property(LatestEpisode.1.Fanart)]</thumb>
  277.                             <visible>substring(Window.Property(LatestEpisode.1.Path),.)</visible>
  278.                         </item>
  279.                         <item id="2">
  280.                             <label>$INFO[Window.Property(LatestEpisode.2.ShowTitle)] ($INFO[Window.Property(LatestEpisode.2.EpisodeNo)])</label>
  281.                             <onclick>$INFO[Window.Property(LatestEpisode.2.Path),PlayMedia(,)]</onclick>
  282.                             <thumb>$INFO[Window.Property(LatestEpisode.2.Fanart)]</thumb>
  283.                             <visible>substring(Window.Property(LatestEpisode.2.Path),.)</visible>
  284.                         </item>
  285.                         <item id="3">
  286.                             <label>$INFO[Window.Property(LatestEpisode.3.ShowTitle)] ($INFO[Window.Property(LatestEpisode.3.EpisodeNo)])</label>
  287.        
  288.                             <onclick>$INFO[Window.Property(LatestEpisode.3.Path),PlayMedia(,)]</onclick>
  289.                             <thumb>$INFO[Window.Property(LatestEpisode.3.Fanart)]</thumb>
  290.                             <visible>substring(Window.Property(LatestEpisode.3.Path),.)</visible>
  291.                         </item>
  292.                         <item id="4">
  293.                             <label>$INFO[Window.Property(LatestEpisode.4.ShowTitle)] ($INFO[Window.Property(LatestEpisode.4.EpisodeNo)])</label>
  294.                             <onclick>$INFO[Window.Property(LatestEpisode.4.Path),PlayMedia(,)]</onclick>
  295.                             <thumb>$INFO[Window.Property(LatestEpisode.4.Fanart)]</thumb>
  296.                             <visible>substring(Window.Property(LatestEpisode.4.Path),.)</visible>
  297.                         </item>
  298.                         <item id="5">
  299.                             <label>$INFO[Window.Property(LatestEpisode.5.ShowTitle)] ($INFO[Window.Property(LatestEpisode.5.EpisodeNo)])</label>
  300.                             <onclick>$INFO[Window.Property(LatestEpisode.5.Path),PlayMedia(,)]</onclick>
  301.                             <thumb>$INFO[Window.Property(LatestEpisode.5.Fanart)]</thumb>
  302.                             <visible>substring(Window.Property(LatestEpisode.5.Path),.)</visible>
  303.                         </item>
  304.        
  305.                     </content>     
  306.                 </control>
  307.                 <control type="image">
  308.                     <posx>280</posx>
  309.                     <posy>30</posy>
  310.                     <width>150</width>
  311.                     <height>80</height>
  312.                    
  313.                     <info>Window.Property(LatestEpisode.1.Thumb)</info>
  314.                     <visible>Container(306).Row(0)</visible>
  315.                 </control> 
  316.                 <control type="image">
  317.                     <posx>280</posx>
  318.                     <posy>30</posy>
  319.                     <width>150</width>
  320.                     <height>80</height>
  321.                     <info>Window.Property(LatestEpisode.2.Thumb)</info>
  322.                     <visible>Container(306).Row(1)</visible>
  323.                 </control> 
  324.                 <control type="image">
  325.                     <posx>280</posx>
  326.                     <posy>30</posy>
  327.                     <width>150</width>
  328.                     <height>80</height>                
  329.                     <info>Window.Property(LatestEpisode.3.Thumb)</info>
  330.                     <visible>Container(306).Row(2)</visible>
  331.                 </control>
  332.                 <control type="image">
  333.                     <posx>280</posx>
  334.                     <posy>30</posy>
  335.                     <width>150</width>
  336.                     <height>80</height>                
  337.                     <info>Window.Property(LatestEpisode.4.Thumb)</info>
  338.                     <visible>Container(306).Row(3)</visible>
  339.                 </control>
  340.                 <control type="image">
  341.                     <posx>280</posx>
  342.                     <posy>30</posy>
  343.                     <width>150</width>
  344.                     <height>80</height>            
  345.                     <info>Window.Property(LatestEpisode.5.Thumb)</info>
  346.                     <visible>Container(306).Row(4)</visible>
  347.                 </control>
  348.             </control>
  349.             <control type="group">
  350.                 <posy>5</posy>
  351.                 <posx>25</posx>
  352.                 <visible> !Container(850).HasFocus(4) + !Container(850).HasFocus(5) + !Container(850).HasFocus(6) + !Skin.HasSetting(HideRecentAlbums)</visible>
  353.                
  354.                 <control type="label">
  355.                     <description>Latest Albums</description>
  356.                     <posy>5</posy>
  357.                     <width>300</width>
  358.                     <font>LargeListLabelFont</font>
  359.                     <textcolor>MediaInfoHeadColor</textcolor>
  360.                     <shadowcolor>ShadowColor</shadowcolor>
  361.                     <label>RECENTLY ADDED ALBUMS</label>
  362.                 </control>
  363.                 <control type="list" id="307">
  364.                     <description>List of latest TV Shows</description>
  365.                     <visible allowhiddenfocus="true">!Skin.HasSetting(HideRecentAlbums)</visible>
  366.                     <posy>35</posy>
  367.                     <posx>0</posx>
  368.                     <width>295</width>
  369.                     <height>120</height>
  370.                     <onup>600</onup>
  371.                     <ondown>510</ondown>
  372.                     <onleft>510</onleft>
  373.                     <onright>510</onright>
  374.                     <viewtype label="3D list">list</viewtype>
  375.                     <orientation>vertical</orientation>
  376.                     <pagecontrol>25</pagecontrol>
  377.                     <scrolltime>200</scrolltime>
  378.                     <itemlayout width="295" height="18" condition="true">
  379.                         <control type="label">
  380.                             <posx>0</posx>
  381.                             <posy>0</posy>
  382.                             <width>295</width>
  383.                             <height>22</height>
  384.                             <font>RecentLabelFont</font>
  385.                             <aligny>top</aligny>
  386.                             <textcolor>Grey</textcolor>
  387.                             <selectedcolor>Grey</selectedcolor>
  388.                             <align>left</align>
  389.                             <info>ListItem.Label</info>
  390.                         </control>             
  391.                     </itemlayout>
  392.                     <focusedlayout width="295" height="18">
  393.                         <control type="label">
  394.                                 <posx>0</posx>
  395.                             <posy>0</posy>
  396.                             <width>295</width>
  397.                             <height>22</height>
  398.                             <font>RecentLabelFont</font>
  399.                             <aligny>top</aligny>
  400.                             <textcolor>White</textcolor>
  401.                             <selectedcolor>White</selectedcolor>
  402.                             <align>left</align>
  403.                             <info>ListItem.Label</info>
  404.                         </control>                 
  405.                     </focusedlayout>
  406.                     <content>
  407.                         <item id="1">
  408.                             <label>$INFO[Window.Property(LatestSong.1.Artist)] - $INFO[Window.Property(LatestSong.1.Album)] ($INFO[Window.Property(LatestSong.1.Year)])</label>
  409.                             <onclick>$INFO[Window.Property(LatestSong.1.Path),RunScript(,)]</onclick>
  410.                             <thumb>$INFO[Window.Property(LatestSong.1.Fanart)]</thumb>
  411.                             <visible>substring(Window.Property(LatestSong.1.Path),.)</visible>
  412.                         </item>
  413.                         <item id="2">
  414.                             <label>$INFO[Window.Property(LatestSong.2.Artist)] - $INFO[Window.Property(LatestSong.2.Album)] ($INFO[Window.Property(LatestSong.2.Year)])</label>
  415.                             <onclick>$INFO[Window.Property(LatestSong.2.Path),RunScript(,)]</onclick>
  416.                             <thumb>$INFO[Window.Property(LatestSong.2.Fanart)]</thumb>
  417.                             <visible>substring(Window.Property(LatestSong.2.Path),.)</visible>
  418.                         </item>
  419.                         <item id="3">
  420.                             <label>$INFO[Window.Property(LatestSong.3.Artist)] - $INFO[Window.Property(LatestSong.3.Album)] ($INFO[Window.Property(LatestSong.3.Year)])</label>
  421.                             <onclick>$INFO[Window.Property(LatestSong.3.Path),RunScript(,)]</onclick>
  422.                             <thumb>$INFO[Window.Property(LatestSong.3.Fanart)]</thumb>
  423.                             <visible>substring(Window.Property(LatestSong.3.Path),.)</visible>
  424.                         </item>
  425.                         <item id="4">
  426.                             <label>$INFO[Window.Property(LatestSong.4.Artist)] - $INFO[Window.Property(LatestSong.4.Album)] ($INFO[Window.Property(LatestSong.4.Year)])</label>
  427.                             <onclick>$INFO[Window.Property(LatestSong.4.Path),RunScript(,)]</onclick>
  428.                             <thumb>$INFO[Window.Property(LatestSong.4.Fanart)]</thumb>
  429.                             <visible>substring(Window.Property(LatestSong.4.Path),.)</visible>
  430.                         </item>
  431.                         <item id="5">
  432.                             <label>$INFO[Window.Property(LatestSong.5.Artist)] - $INFO[Window.Property(LatestSong.5.Album)] ($INFO[Window.Property(LatestSong.5.Year)])</label>
  433.                             <onclick>$INFO[Window.Property(LatestSong.5.Path),RunScript(,)]</onclick>
  434.                             <thumb>$INFO[Window.Property(LatestSong.5.Fanart)]</thumb>
  435.                             <visible>substring(Window.Property(LatestSong.5.Path),.)</visible>
  436.                         </item>
  437.        
  438.                     </content>     
  439.                 </control>
  440.                 <control type="image">
  441.                     <posx>310</posx>
  442.                     <posy>10</posy>
  443.                     <width>120</width>
  444.                     <height>120</height>
  445.                    
  446.                     <info>Window.Property(LatestSong.1.Thumb)</info>
  447.                     <visible>Container(307).Row(0)</visible>
  448.                 </control> 
  449.                 <control type="image">
  450.                     <posx>310</posx>
  451.                     <posy>10</posy>
  452.                     <width>120</width>
  453.                     <height>120</height>   
  454.                     <info>Window.Property(LatestSong.2.Thumb)</info>
  455.                     <visible>Container(307).Row(1)</visible>
  456.                 </control> 
  457.                 <control type="image">
  458.                     <posx>310</posx>
  459.                     <posy>10</posy>
  460.                     <width>120</width>
  461.                     <height>120</height>                   
  462.                     <info>Window.Property(LatestSong.3.Thumb)</info>
  463.                     <visible>Container(307).Row(2)</visible>
  464.                 </control>
  465.                 <control type="image">
  466.                     <posx>310</posx>
  467.                     <posy>10</posy>
  468.                     <width>120</width>
  469.                     <height>120</height>                   
  470.                     <info>Window.Property(LatestSong.4.Thumb)</info>
  471.                     <visible>Container(307).Row(3)</visible>
  472.                 </control>
  473.                 <control type="image">
  474.                     <posx>310</posx>
  475.                     <posy>10</posy>
  476.                     <width>120</width>
  477.                     <height>120</height>               
  478.                     <info>Window.Property(LatestSong.5.Thumb)</info>
  479.                     <visible>Container(307).Row(4)</visible>
  480.                 </control>
  481.             </control> 
  482.         </control>
  483.         <!-- end latest movie control area -->
  484.        
  485.        
  486.         <!-- Recently Added MOD - This code added to call the recentlist script -->    
  487.         <!-- Code to handle running the script -->
  488.         <control type="button" id="308">
  489.             <description>Run Recently added</description>
  490.             <posx>0</posx>
  491.             <posy>900</posy>
  492.             <width>1</width>
  493.             <height>1</height>
  494.             <onfocus>XBMC.RunScript(special://skin/scripts/recentadded.py,""])</onfocus>
  495.             <onfocus>Skin.Reset(Startup)</onfocus>
  496.             <onfocus>SetFocus(510)</onfocus>
  497.             <visible>Skin.HasSetting(Startup)</visible>
  498.         </control> 
  499.         <control type="button" id="308">
  500.             <description>Run Recently added</description>
  501.             <posx>0</posx>
  502.             <posy>900</posy>
  503.             <width>1</width>
  504.             <height>1</height>
  505.             <onfocus>XBMC.RunScript(special://skin/scripts/recentadded.py,""])</onfocus>
  506.             <onfocus>Skin.Reset(LibraryUpdated)</onfocus>
  507.             <onfocus>SetFocus(510)</onfocus>
  508.             <visible>!Skin.HasSetting(Startup) + [!Skin.HasSetting(HideRecentTVShows) | !Skin.HasSetting(HideRecentMovies) | !Skin.HasSetting(HideRecentAlbums)] + Skin.HasSetting(LibraryUpdated)</visible>
  509.         </control>
  510.        
  511.         <control type="button" id="308">
  512.             <description>Run Recently added</description>
  513.             <posx>0</posx>
  514.             <posy>900</posy>
  515.             <width>1</width>
  516.             <height>1</height>
  517.             <onfocus>XBMC.RunScript(special://skin/scripts/recentadded.py,""])</onfocus>
  518.             <onfocus>Skin.Reset(LibraryUpdated)</onfocus>
  519.             <onfocus>SetFocus(510)</onfocus>
  520.             <visible>!Skin.HasSetting(Startup) + [!Skin.HasSetting(HideRecentTVShows) | !Skin.HasSetting(HideRecentMovies) | !Skin.HasSetting(HideRecentAlbums)] + !Skin.HasSetting(LibraryUpdated)</visible>
  521.         </control>
  522.        
  523.         <control type="button" id="308">
  524.             <description>Run Recently added</description>
  525.             <posx>0</posx>
  526.             <posy>900</posy>
  527.             <width>1</width>
  528.             <height>1</height>
  529.             <onfocus>SetFocus(510)</onfocus>
  530.             <visible>!Skin.HasSetting(Startup) + [Skin.HasSetting(HideRecentTVShows) + Skin.HasSetting(HideRecentMovies) + Skin.HasSetting(HideRecentAlbums)] + !Skin.HasSetting(LibraryUpdated)</visible>
  531.         </control> 
  532.         <!-- End Code to handle running the script -->
  533.         <!---------------------------- RecentlyAdded ------------------------------------------------------------------------------>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement