Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!---------------------------- RecentlyAdded ------------------------------------------------------------------------------>
- <!-- Recently Added Fullscreen Fanart -->
- <control type="group">
- <posy>MenuBarOffsetY</posy>
- <width>1280</width>
- <height>720</height>
- <!-- KenBurnsAnim -->
- <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>
- <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>
- <!-- KenBurnsAnim -->
- <control type="image">
- <width>1280</width>
- <height>720</height>
- <fadetime>FanartCrossfadeTime</fadetime>
- <info>Window.Property(LatestMovie.1.Fanart)</info>
- <visible>Control.HasFocus(305) + Container(305).Row(0) </visible>
- </control>
- <control type="image">
- <width>1280</width>
- <height>720</height>
- <fadetime>FanartCrossfadeTime</fadetime>
- <info>Window.Property(LatestMovie.2.Fanart)</info>
- <visible>Control.HasFocus(305) + Container(305).Row(1) </visible>
- </control>
- <control type="image">
- <width>1280</width>
- <height>720</height>
- <fadetime>FanartCrossfadeTime</fadetime>
- <info>Window.Property(LatestMovie.3.Fanart)</info>
- <visible>Control.HasFocus(305) + Container(305).Row(2) </visible>
- </control>
- <control type="image">
- <width>1280</width>
- <height>720</height>
- <fadetime>FanartCrossfadeTime</fadetime>
- <info>Window.Property(LatestMovie.4.Fanart)</info>
- <visible>Control.HasFocus(305) + Container(305).Row(3) </visible>
- </control>
- <control type="image">
- <width>1280</width>
- <height>720</height>
- <fadetime>FanartCrossfadeTime</fadetime>
- <info>Window.Property(LatestMovie.5.Fanart)</info>
- <visible>Control.HasFocus(305) + Container(305).Row(4) </visible>
- </control>
- </control>
- <!-- Recently Added MOD - All this section added to implement the Recent Menus -->
- <!-- start latest movie control area -->
- <control type="group" id="304">
- <posy>105</posy>
- <posx>800</posx>
- <onup>600</onup>
- <visible>[Container(850).HasFocus(5) + !Skin.HasSetting(HideRecentMovies)] | [Container(850).HasFocus(6) + !Skin.HasSetting(HideRecentTVShows)] | [Container(850).HasFocus(3) + !Skin.HasSetting(HideRecentAlbums)]</visible>
- <!-- animations to slide the control on visible or window close -->
- <animation effect="slide" end="500" time="500">WindowClose</animation>
- <animation effect="slide" start="500,0" end="0,0" time="600" delay="800">WindowOpen</animation>
- <animation effect="slide" start="500,0" end="0,0" time="600">VisibleChange</animation>
- <!-- if we don't have focus, fade out (after a second)-->
- <animation effect="fade" start="100" end="75" time="200" delay="1000" condition="!Control.HasFocus(304)">Conditional</animation>
- <!-- fade in when focused, out when unfocused -->
- <animation effect="fade" start="75" end="100" time="200">Focus</animation>
- <control type="image">
- <width>470</width>
- <height>150</height>
- <texture border="15">item-focus-background.png</texture>
- </control>
- <control type="image">
- <width>470</width>
- <height>150</height>
- <texture border="15">item-focus-background2.png</texture>
- <colordiffuse>55ffffff</colordiffuse>
- <visible>Control.HasFocus(305) | Control.HasFocus(306) | Control.HasFocus(307)</visible>
- </control>
- <control type="group">
- <posy>5</posy>
- <posx>25</posx>
- <visible> !Container(850).HasFocus(6) + !Container(850).HasFocus(7) + !Container(850).HasFocus(3) + !Skin.HasSetting(HideRecentMovies)</visible>
- <control type="label">
- <description>Latest Movies</description>
- <posy>5</posy>
- <width>342</width>
- <font>LargeListLabelFont</font>
- <textcolor>MediaInfoHeadColor</textcolor>
- <shadowcolor>ShadowColor</shadowcolor>
- <label>RECENTLY ADDED MOVIES</label>
- </control>
- <control type="list" id="305">
- <description>List of latest movies</description>
- <visible allowhiddenfocus="true">!Skin.HasSetting(HideRecentMovies)</visible>
- <posy>35</posy>
- <posx>0</posx>
- <width>300</width>
- <height>120</height>
- <onup>600</onup>
- <ondown>510</ondown>
- <onleft>510</onleft>
- <onright>510</onright>
- <viewtype label="3D list">list</viewtype>
- <orientation>vertical</orientation>
- <pagecontrol>25</pagecontrol>
- <scrolltime>200</scrolltime>
- <itemlayout width="342" height="18" condition="true">
- <control type="label">
- <posx>0</posx>
- <posy>0</posy>
- <width>300</width>
- <height>22</height>
- <font>RecentLabelFont</font>
- <aligny>top</aligny>
- <textcolor>Grey</textcolor>
- <selectedcolor>Grey</selectedcolor>
- <align>left</align>
- <info>ListItem.Label</info>
- </control>
- </itemlayout>
- <focusedlayout width="342" height="18">
- <control type="label">
- <posx>0</posx>
- <posy>0</posy>
- <width>300</width>
- <height>22</height>
- <font>RecentLabelFont</font>
- <aligny>top</aligny>
- <textcolor>White</textcolor>
- <selectedcolor>White</selectedcolor>
- <align>left</align>
- <info>ListItem.Label</info>
- </control>
- </focusedlayout>
- <content>
- <item id="1">
- <label>$INFO[Window.Property(LatestMovie.1.Title)]</label>
- <onclick>$INFO[Window.Property(LatestMovie.1.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestMovie.1.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestMovie.1.Path),.)</visible>
- </item>
- <item id="2">
- <label>$INFO[Window.Property(LatestMovie.2.Title)]</label>
- <onclick>$INFO[Window.Property(LatestMovie.2.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestMovie.2.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestMovie.2.Path),.)</visible>
- </item>
- <item id="3">
- <label>$INFO[Window.Property(LatestMovie.3.Title)]</label>
- <onclick>$INFO[Window.Property(LatestMovie.3.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestMovie.3.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestMovie.3.Path),.)</visible>
- </item>
- <item id="4">
- <label>$INFO[Window.Property(LatestMovie.4.Title)]</label>
- <onclick>$INFO[Window.Property(LatestMovie.4.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestMovie.4.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestMovie.4.Path),.)</visible>
- </item>
- <item id="5">
- <label>$INFO[Window.Property(LatestMovie.5.Title)]</label>
- <onclick>$INFO[Window.Property(LatestMovie.5.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestMovie.5.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestMovie.5.Path),.)</visible>
- </item>
- </content>
- </control>
- <control type="image">
- <posx>340</posx>
- <posy>10</posy>
- <width>250</width>
- <height>120</height>
- <aspectratio align="left">keep</aspectratio>
- <info>Window.Property(LatestMovie.1.Thumb)</info>
- <visible>Container(305).Row(0) </visible>
- </control>
- <control type="image">
- <posx>340</posx>
- <posy>10</posy>
- <width>250</width>
- <height>120</height>
- <aspectratio align="left">keep</aspectratio>
- <info>Window.Property(LatestMovie.2.Thumb)</info>
- <visible>Container(305).Row(1) </visible>
- </control>
- <control type="image">
- <posx>340</posx>
- <posy>10</posy>
- <width>250</width>
- <height>120</height>
- <aspectratio align="left">keep</aspectratio>
- <info>Window.Property(LatestMovie.3.Thumb)</info>
- <visible>Container(305).Row(2) </visible>
- </control>
- <control type="image">
- <posx>340</posx>
- <posy>10</posy>
- <width>250</width>
- <height>120</height>
- <aspectratio align="left">keep</aspectratio>
- <info>Window.Property(LatestMovie.4.Thumb)</info>
- <visible>Container(305).Row(3) </visible>
- </control>
- <control type="image">
- <posx>340</posx>
- <posy>10</posy>
- <width>250</width>
- <height>120</height>
- <aspectratio align="left">keep</aspectratio>
- <info>Window.Property(LatestMovie.5.Thumb)</info>
- <visible>Container(305).Row(4) </visible>
- </control>
- </control>
- <control type="group">
- <posy>5</posy>
- <posx>25</posx>
- <visible> !Container(850).HasFocus(5) + !Container(850).HasFocus(4) + !Container(850).HasFocus(3) + !Container(850).HasFocus(7) + !Skin.HasSetting(HideRecentTVShows)</visible>
- <control type="label">
- <description>Latest TV Shows</description>
- <posy>5</posy>
- <width>300</width>
- <font>LargeListLabelFont</font>
- <textcolor>MediaInfoHeadColor</textcolor>
- <shadowcolor>ShadowColor</shadowcolor>
- <label>RECENTLY ADDED TV SHOWS</label>
- </control>
- <control type="list" id="306">
- <description>List of latest TV Shows</description>
- <visible allowhiddenfocus="true">!Skin.HasSetting(HideRecentTVShows)</visible>
- <posy>35</posy>
- <posx>0</posx>
- <width>265</width>
- <height>120</height>
- <onup>600</onup>
- <ondown>510</ondown>
- <onleft>510</onleft>
- <onright>510</onright>
- <viewtype label="3D list">list</viewtype>
- <orientation>vertical</orientation>
- <pagecontrol>25</pagecontrol>
- <scrolltime>200</scrolltime>
- <itemlayout width="265" height="18" condition="true">
- <control type="label">
- <posx>0</posx>
- <posy>0</posy>
- <width>265</width>
- <height>22</height>
- <font>RecentLabelFont</font>
- <aligny>top</aligny>
- <textcolor>Grey</textcolor>
- <selectedcolor>Grey</selectedcolor>
- <align>left</align>
- <info>ListItem.Label</info>
- </control>
- </itemlayout>
- <focusedlayout width="265" height="18">
- <control type="label">
- <posx>0</posx>
- <posy>0</posy>
- <width>265</width>
- <height>22</height>
- <font>RecentLabelFont</font>
- <aligny>top</aligny>
- <textcolor>White</textcolor>
- <selectedcolor>White</selectedcolor>
- <align>left</align>
- <info>ListItem.Label</info>
- </control>
- </focusedlayout>
- <content>
- <item id="1">
- <label>$INFO[Window.Property(LatestEpisode.1.ShowTitle)] ($INFO[Window.Property(LatestEpisode.1.EpisodeNo)])</label>
- <onclick>$INFO[Window.Property(LatestEpisode.1.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestEpisode.1.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestEpisode.1.Path),.)</visible>
- </item>
- <item id="2">
- <label>$INFO[Window.Property(LatestEpisode.2.ShowTitle)] ($INFO[Window.Property(LatestEpisode.2.EpisodeNo)])</label>
- <onclick>$INFO[Window.Property(LatestEpisode.2.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestEpisode.2.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestEpisode.2.Path),.)</visible>
- </item>
- <item id="3">
- <label>$INFO[Window.Property(LatestEpisode.3.ShowTitle)] ($INFO[Window.Property(LatestEpisode.3.EpisodeNo)])</label>
- <onclick>$INFO[Window.Property(LatestEpisode.3.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestEpisode.3.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestEpisode.3.Path),.)</visible>
- </item>
- <item id="4">
- <label>$INFO[Window.Property(LatestEpisode.4.ShowTitle)] ($INFO[Window.Property(LatestEpisode.4.EpisodeNo)])</label>
- <onclick>$INFO[Window.Property(LatestEpisode.4.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestEpisode.4.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestEpisode.4.Path),.)</visible>
- </item>
- <item id="5">
- <label>$INFO[Window.Property(LatestEpisode.5.ShowTitle)] ($INFO[Window.Property(LatestEpisode.5.EpisodeNo)])</label>
- <onclick>$INFO[Window.Property(LatestEpisode.5.Path),PlayMedia(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestEpisode.5.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestEpisode.5.Path),.)</visible>
- </item>
- </content>
- </control>
- <control type="image">
- <posx>280</posx>
- <posy>30</posy>
- <width>150</width>
- <height>80</height>
- <info>Window.Property(LatestEpisode.1.Thumb)</info>
- <visible>Container(306).Row(0)</visible>
- </control>
- <control type="image">
- <posx>280</posx>
- <posy>30</posy>
- <width>150</width>
- <height>80</height>
- <info>Window.Property(LatestEpisode.2.Thumb)</info>
- <visible>Container(306).Row(1)</visible>
- </control>
- <control type="image">
- <posx>280</posx>
- <posy>30</posy>
- <width>150</width>
- <height>80</height>
- <info>Window.Property(LatestEpisode.3.Thumb)</info>
- <visible>Container(306).Row(2)</visible>
- </control>
- <control type="image">
- <posx>280</posx>
- <posy>30</posy>
- <width>150</width>
- <height>80</height>
- <info>Window.Property(LatestEpisode.4.Thumb)</info>
- <visible>Container(306).Row(3)</visible>
- </control>
- <control type="image">
- <posx>280</posx>
- <posy>30</posy>
- <width>150</width>
- <height>80</height>
- <info>Window.Property(LatestEpisode.5.Thumb)</info>
- <visible>Container(306).Row(4)</visible>
- </control>
- </control>
- <control type="group">
- <posy>5</posy>
- <posx>25</posx>
- <visible> !Container(850).HasFocus(4) + !Container(850).HasFocus(5) + !Container(850).HasFocus(6) + !Skin.HasSetting(HideRecentAlbums)</visible>
- <control type="label">
- <description>Latest Albums</description>
- <posy>5</posy>
- <width>300</width>
- <font>LargeListLabelFont</font>
- <textcolor>MediaInfoHeadColor</textcolor>
- <shadowcolor>ShadowColor</shadowcolor>
- <label>RECENTLY ADDED ALBUMS</label>
- </control>
- <control type="list" id="307">
- <description>List of latest TV Shows</description>
- <visible allowhiddenfocus="true">!Skin.HasSetting(HideRecentAlbums)</visible>
- <posy>35</posy>
- <posx>0</posx>
- <width>295</width>
- <height>120</height>
- <onup>600</onup>
- <ondown>510</ondown>
- <onleft>510</onleft>
- <onright>510</onright>
- <viewtype label="3D list">list</viewtype>
- <orientation>vertical</orientation>
- <pagecontrol>25</pagecontrol>
- <scrolltime>200</scrolltime>
- <itemlayout width="295" height="18" condition="true">
- <control type="label">
- <posx>0</posx>
- <posy>0</posy>
- <width>295</width>
- <height>22</height>
- <font>RecentLabelFont</font>
- <aligny>top</aligny>
- <textcolor>Grey</textcolor>
- <selectedcolor>Grey</selectedcolor>
- <align>left</align>
- <info>ListItem.Label</info>
- </control>
- </itemlayout>
- <focusedlayout width="295" height="18">
- <control type="label">
- <posx>0</posx>
- <posy>0</posy>
- <width>295</width>
- <height>22</height>
- <font>RecentLabelFont</font>
- <aligny>top</aligny>
- <textcolor>White</textcolor>
- <selectedcolor>White</selectedcolor>
- <align>left</align>
- <info>ListItem.Label</info>
- </control>
- </focusedlayout>
- <content>
- <item id="1">
- <label>$INFO[Window.Property(LatestSong.1.Artist)] - $INFO[Window.Property(LatestSong.1.Album)] ($INFO[Window.Property(LatestSong.1.Year)])</label>
- <onclick>$INFO[Window.Property(LatestSong.1.Path),RunScript(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestSong.1.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestSong.1.Path),.)</visible>
- </item>
- <item id="2">
- <label>$INFO[Window.Property(LatestSong.2.Artist)] - $INFO[Window.Property(LatestSong.2.Album)] ($INFO[Window.Property(LatestSong.2.Year)])</label>
- <onclick>$INFO[Window.Property(LatestSong.2.Path),RunScript(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestSong.2.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestSong.2.Path),.)</visible>
- </item>
- <item id="3">
- <label>$INFO[Window.Property(LatestSong.3.Artist)] - $INFO[Window.Property(LatestSong.3.Album)] ($INFO[Window.Property(LatestSong.3.Year)])</label>
- <onclick>$INFO[Window.Property(LatestSong.3.Path),RunScript(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestSong.3.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestSong.3.Path),.)</visible>
- </item>
- <item id="4">
- <label>$INFO[Window.Property(LatestSong.4.Artist)] - $INFO[Window.Property(LatestSong.4.Album)] ($INFO[Window.Property(LatestSong.4.Year)])</label>
- <onclick>$INFO[Window.Property(LatestSong.4.Path),RunScript(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestSong.4.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestSong.4.Path),.)</visible>
- </item>
- <item id="5">
- <label>$INFO[Window.Property(LatestSong.5.Artist)] - $INFO[Window.Property(LatestSong.5.Album)] ($INFO[Window.Property(LatestSong.5.Year)])</label>
- <onclick>$INFO[Window.Property(LatestSong.5.Path),RunScript(,)]</onclick>
- <thumb>$INFO[Window.Property(LatestSong.5.Fanart)]</thumb>
- <visible>substring(Window.Property(LatestSong.5.Path),.)</visible>
- </item>
- </content>
- </control>
- <control type="image">
- <posx>310</posx>
- <posy>10</posy>
- <width>120</width>
- <height>120</height>
- <info>Window.Property(LatestSong.1.Thumb)</info>
- <visible>Container(307).Row(0)</visible>
- </control>
- <control type="image">
- <posx>310</posx>
- <posy>10</posy>
- <width>120</width>
- <height>120</height>
- <info>Window.Property(LatestSong.2.Thumb)</info>
- <visible>Container(307).Row(1)</visible>
- </control>
- <control type="image">
- <posx>310</posx>
- <posy>10</posy>
- <width>120</width>
- <height>120</height>
- <info>Window.Property(LatestSong.3.Thumb)</info>
- <visible>Container(307).Row(2)</visible>
- </control>
- <control type="image">
- <posx>310</posx>
- <posy>10</posy>
- <width>120</width>
- <height>120</height>
- <info>Window.Property(LatestSong.4.Thumb)</info>
- <visible>Container(307).Row(3)</visible>
- </control>
- <control type="image">
- <posx>310</posx>
- <posy>10</posy>
- <width>120</width>
- <height>120</height>
- <info>Window.Property(LatestSong.5.Thumb)</info>
- <visible>Container(307).Row(4)</visible>
- </control>
- </control>
- </control>
- <!-- end latest movie control area -->
- <!-- Recently Added MOD - This code added to call the recentlist script -->
- <!-- Code to handle running the script -->
- <control type="button" id="308">
- <description>Run Recently added</description>
- <posx>0</posx>
- <posy>900</posy>
- <width>1</width>
- <height>1</height>
- <onfocus>XBMC.RunScript(special://skin/scripts/recentadded.py,""])</onfocus>
- <onfocus>Skin.Reset(Startup)</onfocus>
- <onfocus>SetFocus(510)</onfocus>
- <visible>Skin.HasSetting(Startup)</visible>
- </control>
- <control type="button" id="308">
- <description>Run Recently added</description>
- <posx>0</posx>
- <posy>900</posy>
- <width>1</width>
- <height>1</height>
- <onfocus>XBMC.RunScript(special://skin/scripts/recentadded.py,""])</onfocus>
- <onfocus>Skin.Reset(LibraryUpdated)</onfocus>
- <onfocus>SetFocus(510)</onfocus>
- <visible>!Skin.HasSetting(Startup) + [!Skin.HasSetting(HideRecentTVShows) | !Skin.HasSetting(HideRecentMovies) | !Skin.HasSetting(HideRecentAlbums)] + Skin.HasSetting(LibraryUpdated)</visible>
- </control>
- <control type="button" id="308">
- <description>Run Recently added</description>
- <posx>0</posx>
- <posy>900</posy>
- <width>1</width>
- <height>1</height>
- <onfocus>XBMC.RunScript(special://skin/scripts/recentadded.py,""])</onfocus>
- <onfocus>Skin.Reset(LibraryUpdated)</onfocus>
- <onfocus>SetFocus(510)</onfocus>
- <visible>!Skin.HasSetting(Startup) + [!Skin.HasSetting(HideRecentTVShows) | !Skin.HasSetting(HideRecentMovies) | !Skin.HasSetting(HideRecentAlbums)] + !Skin.HasSetting(LibraryUpdated)</visible>
- </control>
- <control type="button" id="308">
- <description>Run Recently added</description>
- <posx>0</posx>
- <posy>900</posy>
- <width>1</width>
- <height>1</height>
- <onfocus>SetFocus(510)</onfocus>
- <visible>!Skin.HasSetting(Startup) + [Skin.HasSetting(HideRecentTVShows) + Skin.HasSetting(HideRecentMovies) + Skin.HasSetting(HideRecentAlbums)] + !Skin.HasSetting(LibraryUpdated)</visible>
- </control>
- <!-- End Code to handle running the script -->
- <!---------------------------- RecentlyAdded ------------------------------------------------------------------------------>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement