<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- ===================== -->
	<!-- HomeMenu List Buttons -->
	<!-- ===================== -->
	<include name="HomeMenuWraplist">
		<control type="wraplist" id="20">
			<description>Home Container</description>
			<include>HomeMenu_OpenCloseSlideAnimation</include>
			<include>HomeMenu_Submenu_HiddenAnimation</include>
			<animation effect="slide" start="0,0" end="0,25" time="200" tween="sine" easing="out" condition="!Control.HasFocus(23)">Conditional</animation>
			<left>42</left>
			<top>185</top>
			<width>2900</width>
			<height>533</height>
			<onup condition="Control.IsVisible(25)">SetFocus(25)</onup>
			<onup condition="String.IsEmpty(Container(20).ListItem.Property(widgetPath)) | String.IsEqual(Container(25).NumItems,0)">SetFocus(21)</onup>
			<ondown condition="[String.Contains(Container(20).ListItem.Property(hasSubmenu),True) + Integer.IsGreater(Container(23).NumItems,0)]">SetFocus(23)</ondown>
			<onleft>20</onleft>
			<onright>20</onright>
			<itemgap>0</itemgap>
			<orientation>horizontal</orientation>
			<focusposition>0</focusposition>
			<preloaditems>4</preloaditems>
			<scrolltime tween="quadratic" easing="out">250</scrolltime>
			<itemlayout width="300">
				<control type="label">
					<left>0</left>
					<top>210</top>
					<width>300</width>
					<scroll>false</scroll>
					<textcolor>viewsinfo</textcolor>
					<font>FontSize_48</font>
					<label>$INFO[ListItem.Label]</label>
				</control>
			</itemlayout>
			<focusedlayout width="360">
				<control type="label">
					<left>0</left>
					<top>200</top>
					<width>360</width>
					<scroll>false</scroll>
					<font>FontSize_80</font>
					<label>$INFO[ListItem.Label]</label>
					<animation type="Conditional" condition="!ControlGroup(21).HasFocus">
						<effect type="zoom" start="73" end="100" time="100" center="0,245"/>
						<effect type="fade" start="45" end="100" time="150"/>
					</animation>
				</control>
			</focusedlayout>
			<content>
				<include>skinshortcuts-mainmenu</include>
			</content>
		</control>
	</include>

	<include name="ExtraInfo_HiddenWrapList">
		<left>0</left>
		<top>0</top>
		<height>2</height>
		<width>2</width>
		<orientation>horizontal</orientation>
		<focusposition>0</focusposition>
		<autoscroll time="3000">true</autoscroll>
		<viewtype>list</viewtype>
		<itemlayout width="2" height="2"/>
		<focusedlayout width="2" height="2"/>
	</include>

	<include name="ExtraInfo_GroupList">
		<left>$PARAM[left]</left>
		<top>480</top>
		<width>800</width>
		<height>24</height>
		<align>$PARAM[align]</align>
		<itemgap>6</itemgap>
		<orientation>horizontal</orientation>
		<visible>$PARAM[visible]</visible>
	</include>

	<include name="ExtraInfo_Label">
		<control type="label">
			<width>auto</width>
			<height>22</height>
			<font>FontSize_18B</font>
			<label>$PARAM[label]</label>
			<textcolor>viewsinfo</textcolor>
			<scroll>false</scroll>
			<visible>$PARAM[visible]</visible>
		</control>
	</include>

	<include name="ExtraInfo_Icon">
		<param name="texture">icons/submenu_info.png</param>
		<definition>
			<control type="image">
				<width>22</width>
				<height>22</height>
				<texture background="true" flipy="$PARAM[flipy]">$PARAM[texture]</texture>
				<colordiffuse>viewsinfo</colordiffuse>
				<visible>$PARAM[visible]</visible>
			</control>
		</definition>
	</include>

	<include name="ExtraInfo_LibraryTotals">
		<control type="grouplist">
			<left>22</left>
			<top>563</top>
			<width>auto</width>
			<height>100</height>
			<align>left</align>
			<itemgap>-15</itemgap>
			<orientation>horizontal</orientation>
			<control type="image">
				<width>96</width>
				<height>96</height>
				<texture background="true">$VAR[LibraryTotals_Icons]</texture>
				<colordiffuse>viewsinfo</colordiffuse>
			</control>
			<control type="group">
				<width>700</width>
				<control type="label">
					<top>28</top>
					<width>700</width>
					<height>18</height>
					<font>FontSize_20</font>
					<label>$PARAM[label_one]</label>
					<textcolor>viewsinfo</textcolor>
				</control>
				<control type="label">
					<top>50</top>
					<width>700</width>
					<height>18</height>
					<font>FontSize_20</font>
					<label>$PARAM[label_two]</label>
					<textcolor>viewsinfo</textcolor>
				</control>
			</control>
		</control>
	</include>

	<variable name="LibraryTotals_Icons">
		<value condition="String.IsEqual(Container(20).ListItem.Property(defaultID),videos)">DefaultVideo.png</value>
		<value condition="String.IsEqual(Container(20).ListItem.Property(defaultID),movies)">DefaultMovies.png</value>
		<value condition="String.IsEqual(Container(20).ListItem.Property(defaultID),tvshows)">DefaultTVShows.png</value>
		<value condition="String.IsEqual(Container(20).ListItem.Property(defaultID),music)">DefaultAlbumCover.png</value>
		<value condition="String.IsEqual(Container(20).ListItem.Property(defaultID),addons)">DefaultAddon.png</value>
		<value condition="String.IsEqual(Container(20).ListItem.Property(defaultID),livetv)">DefaultLiveTV.png</value>
		<value condition="String.IsEqual(Container(20).ListItem.Property(defaultID),settings)">icons/big/Kodi.png</value>
	</variable>

	<!-- =============================================================================== -->
	<!-- Submenus & Widgets Indicators / Right Side Info / Library Totals / Profile Info -->
	<!-- =============================================================================== -->
	<include name="HomeMenuExtraInfo">
		<control type="group">

			<!-- Submenus & Widgets Indicators -->
			<control type="group">
				<include>HomeMenu_Submenu_HiddenAnimation</include>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus | Control.HasFocus(23)">
					<effect type="slide" start="0,0" end="0,-30" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<control type="wraplist" id="31">
					<include>ExtraInfo_HiddenWrapList</include>
					<content>
						<item id="1">
							<label></label>
							<visible>![String.IsEmpty(Container(20).ListItem.Property(widgetName)) | Integer.IsLess(Container(25).NumItems,1)] + String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),ON)</visible>
						</item>
						<item id="2">
							<label></label>
							<visible>String.Contains(Container(20).ListItem.Property(hasSubmenu),True) + ![String.IsEqual(Container(20).ListItem.Property(defaultID),livetv) + !System.HasPVRAddon]</visible>
						</item>
						<item id="3">
							<label></label>
							<visible>![String.IsEmpty(Container(20).ListItem.Property(widgetName)) | Integer.IsLess(Container(25).NumItems,1)] + String.StartsWith(Container(20).ListItem.Property(widgetRatio),Fanart)</visible>
						</item>
					</content>
				</control>
				<!-- Widgets Indicators -->
				<control type="grouplist">
					<include>HomeMenu_OpenCloseSlideAnimation</include>
					<include>HomeMenu_ExtraInfo_ScrollAnimation</include>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="47"/>
						<param name="align" value="left"/>
						<param name="visible" value="Container(31).HasFocus(1) | Container(31).HasFocus(3)"/>
					</include>
					<include content="ExtraInfo_Icon">
						<param name="texture" value="icons/submenu_arrow.png"/>
						<param name="flipy" value="true"/>
						<param name="visible" value="!String.IsEmpty(Container(20).ListItem.Property(widgetName))"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$INFO[Container(20).ListItem.Property(widgetName),$ADDON[script.skinshortcuts 32099]: ]"/>
					</include>
				</control>

				<!-- Submenus Indicators -->
				<control type="grouplist">
					<include>HomeMenu_OpenCloseSlideAnimation</include>
					<include>HomeMenu_ExtraInfo_ScrollAnimation</include>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="47"/>
						<param name="align" value="left"/>
						<param name="visible" value="Container(31).HasFocus(2)"/>
					</include>
					<include content="ExtraInfo_Icon">
						<param name="texture" value="icons/submenu_arrow.png"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$LOCALIZE[1034]"/>
					</include>
				</control>
			</control>


			<!-- Right Side Info -->
			<control type="group">
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<include>HomeMenu_Submenu_HiddenAnimation</include>
				<visible>!Skin.HasSetting(HideExtraInfo)</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus | Control.HasFocus(23)">
					<effect type="slide" start="0,0" end="0,-30" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<!-- Movies -->
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="[String.IsEqual(Container(20).ListItem.Property(defaultID),movies) + Library.HasContent(Movies)]"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$INFO[Window(Home).Property(LatestMovie.1.Title),$LOCALIZE[31211]: ]$INFO[Window(Home).Property(LatestMovie.1.Year), (,)]"/>
					</include>
					<include content="ExtraInfo_Icon">
						<param name="visible" value="!String.IsEmpty(Window(Home).Property(LatestMovie.1.Title))"/>
					</include>
				</control>

				<!-- TVShows -->
				<control type="wraplist" id="32">
					<include>ExtraInfo_HiddenWrapList</include>
					<content>
						<item id="1">
							<label></label>
							<visible>!String.IsEmpty(Window(Home).Property(LatestEpisode.1.EpisodeTitle))</visible>
						</item>
						<item id="2">
							<label></label>
							<visible>!Integer.IsEqual(Window(Home).Property(NextAired.TodayTotal),0) + Skin.HasSetting(NextAiredEnabled)</visible>
						</item>
					</content>
				</control>
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),tvshows) + Library.HasContent(TVShows)]</visible>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="Container(32).HasFocus(1) + !String.IsEmpty(Window(Home).Property(LatestEpisode.1.EpisodeTitle))"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$INFO[Window(Home).Property(LatestEpisode.1.ShowTitle),$LOCALIZE[31212]: ,  ]$INFO[Window(Home).Property(LatestEpisode.1.EpisodeSeason)]$INFO[Window(Home).Property(LatestEpisode.1.EpisodeNumber),x,,]"/>
					</include>
					<include>ExtraInfo_Icon</include>
				</control>
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),tvshows) + Library.HasContent(TVShows)]</visible>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="Container(32).HasFocus(2) + !Integer.IsEqual(Window(Home).Property(NextAired.TodayTotal),0)"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$INFO[Window(Home).Property(NextAired.TodayTotal), $LOCALIZE[31240]: ]"/>
					</include>
					<include>ExtraInfo_Icon</include>
				</control>

				<!-- Music -->
				<control type="wraplist" id="33">
					<include>ExtraInfo_HiddenWrapList</include>
					<content>
						<item id="1">
							<label></label>
							<visible>!String.IsEmpty(Window(Home).Property(LatestAlbum.1.Title))</visible>
						</item>
						<item id="2">
							<label></label>
							<visible>!String.IsEmpty(Window(Home).Property(LatestSong.1.Title))</visible>
						</item>
					</content>
				</control>
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),music) + Library.HasContent(Music)]</visible>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="Container(33).HasFocus(1) + !String.IsEmpty(Window(Home).Property(LatestAlbum.1.Title))"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$INFO[Window(Home).Property(LatestAlbum.1.Title),$LOCALIZE[31213]: ,]$INFO[Window(Home).Property(LatestAlbum.1.Artist), - ]"/>
					</include>
					<include>ExtraInfo_Icon</include>
				</control>
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),music) + Library.HasContent(Music)]</visible>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="Container(33).HasFocus(2) + !String.IsEmpty(Window(Home).Property(LatestSong.1.Title))"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$INFO[Window(Home).Property(LatestSong.1.Title),$LOCALIZE[31222]: ,]$INFO[Window(Home).Property(LatestSong.1.Artist), - ]"/>
					</include>
					<include>ExtraInfo_Icon</include>
				</control>

				<!-- Live TV -->
				<control type="wraplist" id="34">
					<include>ExtraInfo_HiddenWrapList</include>
					<content>
						<item id="1">
							<label></label>
							<visible>PVR.IsRecording</visible>
						</item>
						<item id="2">
							<label></label>
							<visible>PVR.HasNonRecordingTimer</visible>
						</item>
					</content>
				</control>
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),livetv) + PVR.IsRecording]</visible>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="Container(34).HasFocus(1)"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$LOCALIZE[19158]$INFO[PVR.NowRecordingTitle,: ]"/>
					</include>
					<include content="ExtraInfo_Icon">
						<param name="visible" value="!String.IsEmpty(PVR.NowRecordingTitle)"/>
					</include>
				</control>
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),livetv) + PVR.IsRecording]</visible>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="Container(34).HasFocus(2)"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$LOCALIZE[19157]$INFO[PVR.NextRecordingTitle,: ]"/>
					</include>
					<include content="ExtraInfo_Icon">
						<param name="visible" value="!String.IsEmpty(PVR.NextRecordingTitle)"/>
					</include>
				</control>

				<!-- Weather -->
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(defaultID),weather)</visible>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="!String.IsEmpty(Window(Weather).Property(Alerts.RSS)) + !String.IsEmpty(Window(Weather).Property(Current.Condition))"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$INFO[Window(Weather).Property(Alerts),$LOCALIZE[33050]: ]"/>
					</include>
					<include>ExtraInfo_Icon</include>
				</control>

				<!-- Addons -->
				<control type="grouplist">
					<include>HomeMenu_RightExtraInfo_ScrollAnimation</include>
					<include content="ExtraInfo_GroupList">
						<param name="left" value="433"/>
						<param name="align" value="right"/>
						<param name="visible" value="[String.IsEqual(Container(20).ListItem.Property(defaultID),addons) + !String.IsEmpty(Window(AddonBrowser).Property(Updated))]"/>
					</include>
					<include content="ExtraInfo_Label">
						<param name="label" value="$INFO[Window(AddonBrowser).Property(Updated),$LOCALIZE[31229]: ]"/>
					</include>
					<include>ExtraInfo_Icon</include>
				</control>
			</control>


			<!-- Videos Totals -->
			<control type="group">
				<include>HomeMenu_ExtraInfo_HiddenAnimation</include>
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),videos) + [Library.HasContent(Movies) | Library.HasContent(TVShows)]] + !Skin.HasSetting(HideTotalsInfo) + ![String.IsEmpty(Window(Home).Property(Movies.Count)) | String.IsEmpty(Window(Home).Property(TVShows.Count))]</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus">
					<effect type="slide" start="0,0" end="0,-35" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<include content="ExtraInfo_LibraryTotals">
					<param name="label_one" value="$LOCALIZE[20342]: $INFO[Window(Home).Property(Movies.Count)]"/>
					<param name="label_two" value="$LOCALIZE[31002]: $INFO[Window(Home).Property(TVShows.Count)]"/>
				</include>
			</control>

			<!-- Movies Totals -->
			<control type="group">
				<include>HomeMenu_ExtraInfo_HiddenAnimation</include>
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),movies) + Library.HasContent(Movies)] + !Skin.HasSetting(HideTotalsInfo) + !String.IsEmpty(Window(Home).Property(Movies.Count))</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus">
					<effect type="slide" start="0,0" end="0,-35" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<include content="ExtraInfo_LibraryTotals">
					<param name="label_one" value="$INFO[Window(Home).Property(Movies.Count),$LOCALIZE[20161]: ]"/>
					<param name="label_two" value="$INFO[Window(Home).Property(Movies.UnWatched),$LOCALIZE[16101]: ]"/>
				</include>
			</control>

			<!-- TVShows Totals -->
			<control type="group">
				<include>HomeMenu_ExtraInfo_HiddenAnimation</include>
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),tvshows) + Library.HasContent(TVShows)] + !Skin.HasSetting(HideTotalsInfo) + !String.IsEmpty(Window(Home).Property(TVShows.Count))</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus">
					<effect type="slide" start="0,0" end="0,-35" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<include content="ExtraInfo_LibraryTotals">
					<param name="label_one" value="$INFO[Window(Home).Property(TVShows.Count),$LOCALIZE[20161]: ]"/>
					<param name="label_two" value="$INFO[Window(Home).Property(TVShows.UnWatched),$LOCALIZE[16101]: ]"/>
				</include>
			</control>

			<!-- Music Totals -->
			<control type="group">
				<include>HomeMenu_ExtraInfo_HiddenAnimation</include>
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),music) + Library.HasContent(Music)] + !Skin.HasSetting(HideTotalsInfo) + ![String.IsEmpty(Window(Home).Property(Music.AlbumsCount)) + String.IsEmpty(Window(Home).Property(Music.SongsCount))]</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus">
					<effect type="slide" start="0,0" end="0,-35" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<include content="ExtraInfo_LibraryTotals">
					<param name="label_one" value="$INFO[Window(Home).Property(Music.AlbumsCount),$LOCALIZE[132]: ]"/>
					<param name="label_two" value="$INFO[Window(Home).Property(Music.SongsCount),$LOCALIZE[134]: ]"/>
				</include>
			</control>

			<!-- Addons Info -->
			<control type="group">
				<include>HomeMenu_ExtraInfo_HiddenAnimation</include>
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(defaultID),addons) + !Skin.HasSetting(HideTotalsInfo)</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus">
					<effect type="slide" start="0,0" end="0,-35" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<include content="ExtraInfo_LibraryTotals">
					<param name="label_one" value="$INFO[Container(9992).NumItems,$LOCALIZE[20161]: ]"/>
					<param name="label_two" value="$INFO[Container(9993).NumItems,$LOCALIZE[1036]: ]"/>
				</include>
				<control type="list" id="9992">
					<include>HiddenListContainer</include>
					<content>addons://user/all</content>
				</control>
				<control type="list" id="9993">
					<include>HiddenListContainer</include>
					<content>favourites://</content>
				</control>
			</control>

			<!-- LiveTV Info -->
			<control type="group">
				<include>HomeMenu_ExtraInfo_HiddenAnimation</include>
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<visible>[String.IsEqual(Container(20).ListItem.Property(defaultID),livetv) + System.HasPVRAddon] + !Skin.HasSetting(HideTotalsInfo)</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus">
					<effect type="slide" start="0,0" end="0,-35" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<include content="ExtraInfo_LibraryTotals">
					<param name="label_one" value="$INFO[PVR.BackendName]"/>
					<param name="label_two" value="$INFO[PVR.BackendChannels,$LOCALIZE[19019]: ]"/>
				</include>
			</control>

			<!-- Weather Info -->
			<control type="group">
				<left>42</left>
				<top>564</top>
				<include>HomeMenu_ExtraInfo_HiddenAnimation</include>
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(defaultID),weather) + !Skin.HasSetting(HideWeatherInfo) + !String.IsEmpty(Window(Weather).Property(Current.Temperature)) + !String.Contains(Window(Weather).Property(Current.ConditionIcon),na)</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus">
					<effect type="slide" start="0,0" end="0,-35" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<control type="image">
					<left>-10</left>
					<top>5</top>
					<width>82</width>
					<height>82</height>
					<colordiffuse>viewsinfo</colordiffuse>
					<texture>$INFO[Window(Weather).Property(Current.FanartCode),resource://resource.images.weathericons.outline/,.png]</texture>
				</control>
				<control type="grouplist">
					<left>78</left>
					<top>26</top>
					<width>auto</width>
					<height>50</height>
					<itemgap>-2</itemgap>
					<align>left</align>
					<orientation>horizontal</orientation>
					<control type="label">
						<height>40</height>
						<width min="10" max="700">auto</width>
						<font>FontSize_55</font>
						<label>$INFO[Window(Weather).Property(Current.Temperature)]</label>
						<textcolor>viewsinfo</textcolor>
					</control>
					<control type="label">
						<height>17</height>
						<width min="10" max="700">auto</width>
						<font>FontSize_20</font>
						<label>$INFO[System.TemperatureUnits]</label>
						<textcolor>viewsinfo</textcolor>
					</control>
					<control type="group">
						<width>590</width>
						<control type="group">
							<animation type="Conditional" condition="true" loop="true" reversible="false">
								<effect type="fade" start="0" end="100" time="300" />
								<effect type="fade" start="100" end="0" delay="15000" time="300" />
								<effect type="slide" end="0" time="19600" />
							</animation>
							<control type="label">
								<top>0</top>
								<left>15</left>
								<width>700</width>
								<height>20</height>
								<font>FontSize_20B</font>
								<label>$INFO[Window(Weather).Property(Current.Location)]</label>
								<textcolor>viewsinfo</textcolor>
							</control>
							<control type="label">
								<left>15</left>
								<top>23</top>
								<width>700</width>
								<height>20</height>
								<font>FontSize_20</font>
								<label>$INFO[Window(Weather).Property(Current.Condition)]</label>
								<textcolor>viewsinfo</textcolor>
							</control>
						</control>
						<control type="group">
							<animation type="Conditional" condition="true" loop="true" reversible="false">
								<effect type="fade" start="0" end="100" delay="15300" time="300" />
								<effect type="fade" start="100" end="0" delay="19300" time="300" />
							</animation>
							<control type="label">
								<top>0</top>
								<left>15</left>
								<width>700</width>
								<height>20</height>
								<font>FontSize_20B</font>
								<label>$LOCALIZE[31230]</label>
								<textcolor>viewsinfo</textcolor>
							</control>
							<control type="label">
								<left>15</left>
								<top>23</top>
								<width>700</width>
								<height>20</height>
								<font>FontSize_20</font>
								<label>$INFO[Window(Weather).Property(WeatherProvider)]</label>
								<textcolor>viewsinfo</textcolor>
							</control>
						</control>
					</control>
				</control>
			</control>

			<!-- Kodi Info -->
			<control type="group">
				<include>HomeMenu_ExtraInfo_HiddenAnimation</include>
				<include>HomeMenu_OpenCloseSlideAnimation</include>
				<visible>String.IsEqual(Container(20).ListItem.Property(defaultID),settings) + !Skin.HasSetting(HideKodiInfo)</visible>
				<animation type="Conditional" condition="ControlGroup(21).HasFocus">
					<effect type="slide" start="0,0" end="0,-35" time="200" tween="sine" easing="in"/>
					<effect type="fade" start="100" end="0" time="150"/>
				</animation>
				<include content="ExtraInfo_LibraryTotals">
					<param name="label_one" value="$INFO[System.OSVersionInfo]"/>
					<param name="label_two" value="$INFO[System.BuildVersion,Kodi ]"/>
				</include>
			</control>
		</control>

		<!-- Profile info -->
		<control type="group">
			<top>642</top>
			<include>HomeMenu_OpenCloseSlideAnimation</include>
			<include>VisibleHiddenSlideAnimation</include>
			<include>KaiToastSlideAnimations</include>
			<include>ScanSlideAnimations</include>
			<include>FanartWidget_HiddenAnimation</include>
			<visible>![Integer.IsEqual(Container(20).NumItems,0) | Container(20).IsUpdating] + !Skin.HasSetting(HideProfileInfo)</visible>
			<animation type="Conditional" reversible="true" condition="Player.HasMedia">
				<effect type="fade" start="100" end="0" time="450"/>
			</animation>
			<control type="image">
				<left>1184</left>
				<top>0</top>
				<width>50</width>
				<height>50</height>
				<aspectratio scalediffuse="false">scale</aspectratio>
				<texture background="true" colordiffuse="viewsinfo" fallback="icons/profiles/profile_icon_small.png" diffuse="icons/profiles/profile_diffuse.png">$INFO[System.ProfileThumb]</texture>
				<bordertexture colordiffuse="viewsinfo">icons/profiles/profile_panel_small.png</bordertexture>
			</control>
			<control type="label">
				<left>725</left>
				<top>0</top>
				<height>28</height>
				<width>450</width>
				<align>right</align>
				<aligny>center</aligny>
				<font>NotificationsFont</font>
				<textcolor>viewsinfo</textcolor>
				<label>$INFO[System.ProfileName]</label>
			</control>
			<control type="label">
				<left>725</left>
				<top>20</top>
				<height>32</height>
				<width>450</width>
				<align>right</align>
				<aligny>center</aligny>
				<font>NotificationsFont</font>
				<textcolor>viewsinfo</textcolor>
				<label>$INFO[System.Date]</label>
				<animation type="Conditional" condition="true" loop="true" reversible="false">
					<effect type="fade" start="0" end="100" time="300" />
					<effect type="fade" start="100" end="0" delay="25000" time="300" />
					<effect type="slide" end="0" time="27600" />
				</animation>
			</control>
			<control type="label">
				<left>725</left>
				<top>20</top>
				<height>30</height>
				<width>450</width>
				<align>right</align>
				<aligny>center</aligny>
				<font>NotificationsFont</font>
				<textcolor>viewsinfo</textcolor>
				<label>$INFO[System.Uptime,Logged on ]</label>
				<animation type="Conditional" condition="true" loop="true" reversible="false">
					<effect type="fade" start="0" end="100" delay="25300" time="300" />
					<effect type="fade" start="100" end="0" delay="27300" time="300" />
				</animation>
			</control>
		</control>
	</include>

	<!-- ================ -->
	<!-- Home Now Playing -->
	<!-- ================ -->
	<include name="HomeNowPlaying">
		<control type="grouplist">
			<include>HomeMenu_OpenCloseSlideAnimation</include>
			<include>VisibleHiddenSlideAnimation</include>
			<include>KaiToastSlideAnimations</include>
			<include>ScanSlideAnimations</include>
			<visible>Player.HasMedia + ![Window.IsActive(PlayerControls) | Window.IsActive(ShutdownMenu)]</visible>
			<right>45</right>
			<top>640</top>
			<width>1000</width>
			<height>60</height>
			<align>right</align>
			<itemgap>10</itemgap>
			<orientation>horizontal</orientation>
			<!-- Videos -->
			<control type="group">
				<width>640</width>
				<visible>Player.HasVideo + !VideoPlayer.Content(LiveTV)</visible>
				<control type="group">
					<animation type="Conditional" reversible="false" condition="Integer.IsGreater(Playlist.Length(video),1)" loop="true">
						<effect type="fade" start="0" end="100" time="500" delay="0" />
						<effect type="fade" start="100" end="0" time="500" delay="10000" />
						<effect type="fade" start="100" end="0" time="500" delay="20000" />
					</animation>
					<include content="NowNextPlayingString">
						<param name="align" value="right"/>
						<param name="label" value="...$LOCALIZE[31316]"/>
					</include>
					<include content="NowPlayingLabel">
						<param name="align" value="right"/>
						<param name="label" value="$VAR[NowPlayingVideosLabel]"/>
					</include>
				</control>
				<control type="group">
					<visible>Integer.IsGreater(Playlist.Length(video),1)</visible>
					<animation type="Conditional" reversible="false" condition="Integer.IsGreater(Playlist.Length(video),1)" loop="true">
						<effect type="fade" start="0" end="100" time="500" delay="10500" />
						<effect type="fade" start="100" end="0" time="500" delay="20000" />
					</animation>
					<include content="NowNextPlayingString">
						<param name="align" value="right"/>
						<param name="label" value="...$LOCALIZE[209]"/>
					</include>
					<include content="NowPlayingLabel">
						<param name="align" value="right"/>
						<param name="label" value="$VAR[NowPlayingNextVideosLabel]"/>
					</include>
				</control>
			</control>

			<!-- Music -->
			<control type="group">
				<width>640</width>
				<visible>Player.HasAudio</visible>
				<control type="group">
					<animation type="Conditional" reversible="false" condition="MusicPlayer.HasNext" loop="true">
						<effect type="fade" start="0" end="100" time="500" delay="0" />
						<effect type="fade" start="100" end="0" time="500" delay="10000" />
						<effect type="fade" start="100" end="0" time="500" delay="20000" />
					</animation>
					<include content="NowNextPlayingString">
						<param name="align" value="right"/>
						<param name="label" value="...$LOCALIZE[31316]"/>
					</include>
					<include content="NowPlayingLabel">
						<param name="align" value="right"/>
						<param name="label" value="$INFO[Player.Title]$INFO[MusicPlayer.Artist, - ] $INFO[MusicPlayer.Album, (,) ]"/>
					</include>
				</control>
				<control type="group">
					<visible>MusicPlayer.HasNext</visible>
					<animation type="Conditional" reversible="false" condition="MusicPlayer.HasNext" loop="true">
						<effect type="fade" start="0" end="100" time="500" delay="10500" />
						<effect type="fade" start="100" end="0" time="500" delay="20000" />
					</animation>
					<include content="NowNextPlayingString">
						<param name="align" value="right"/>
						<param name="label" value="...$LOCALIZE[209]"/>
					</include>
					<include content="NowPlayingLabel">
						<param name="align" value="right"/>
						<param name="label" value="$INFO[MusicPlayer.offset(1).Title]$INFO[MusicPlayer.offset(1).Artist, - ]"/>
					</include>
				</control>
			</control>

			<!-- LiveTV -->
			<control type="group">
				<width>640</width>
				<visible>Player.HasVideo + VideoPlayer.Content(LiveTV)</visible>
				<control type="group">
					<animation type="Conditional" reversible="false" condition="[Pvr.IsPlayingTv | Pvr.IsPlayingRadio] + !String.IsEmpty(VideoPlayer.NextTitle)" loop="true">
						<effect type="fade" start="0" end="100" time="500" delay="0" />
						<effect type="fade" start="100" end="0" time="500" delay="10000" />
						<effect type="fade" start="100" end="0" time="500" delay="20000" />
					</animation>
					<include content="NowNextPlayingString">
						<param name="align" value="right"/>
						<param name="label" value="...$LOCALIZE[31316]"/>
					</include>
					<include content="NowPlayingLabel">
						<param name="align" value="right"/>
						<param name="label" value="$INFO[VideoPlayer.ChannelNumber,,. ]$INFO[VideoPlayer.ChannelName]$INFO[Player.Title,: ]"/>
					</include>
				</control>
				<control type="group">
					<visible>[Pvr.IsPlayingTv | Pvr.IsPlayingRadio] + !String.IsEmpty(VideoPlayer.NextTitle)</visible>
					<animation type="Conditional" reversible="false" condition="[Pvr.IsPlayingTv | Pvr.IsPlayingRadio] + !String.IsEmpty(VideoPlayer.NextTitle)" loop="true">
						<effect type="fade" start="0" end="100" time="500" delay="10500" />
						<effect type="fade" start="100" end="0" time="500" delay="20000" />
					</animation>
					<include content="NowNextPlayingString">
						<param name="align" value="right"/>
						<param name="label" value="...$LOCALIZE[209]"/>
					</include>
					<include content="NowPlayingLabel">
						<param name="align" value="right"/>
						<param name="label" value="$INFO[VideoPlayer.NextTitle,, ]$INFO[VideoPlayer.NextStartTime,(,)]"/>
					</include>
				</control>
			</control>
			<!-- DISABLED
			<control type="group">
				<width>15</width>
				<control type="image">
					<left>8</left>
					<top>8</top>
					<width>1</width>
					<height>40</height>
					<colordiffuse>viewsinfo</colordiffuse>
					<texture>windows/bg/white.png</texture>
				</control>
			</control>
			-->
			<!-- Player Time -->
			<control type="label">
				<height>53</height>
				<align>right</align>
				<width>auto</width>
				<label>$INFO[Player.Time]</label>
				<font>FontSize_50</font>
			</control>
		</control>
	</include>

	<!-- =========== -->
	<!-- TopHomeMenu -->
	<!-- =========== -->
	<include name="TopHomeMenu">
		<control type="group">
			<left>45</left>
			<top>25</top>
			<include>ShutdownMenuAnimation</include>
			<include>OpenCloseSlideAnimationTwo</include>
			<include>VisibleHiddenSlideAnimation</include>
			<include>InfoDialogs_ContentInfoAnimation</include>
			<visible allowhiddenfocus="true">!ControlGroup(22).HasFocus</visible>
			<control type="grouplist" id="21">
				<include content="CommonTopInfoGroupList">
					<param name="onup" value="20"/>
					<param name="ondown" value="20"/>
					<param name="include" value="Logo"/>
				</include>
				<control type="label" id="999">
					<include>TopBigLabel</include>
					<label>$LOCALIZE[10000]</label>
				</control>
				<control type="button" id="210">
					<description>Favorites</description>
					<include>TopMenuButton</include>
					<label>$LOCALIZE[1036]</label>
					<onclick>SetFocus(20)</onclick>
					<onclick>ActivateWindow(FavouritesBrowser)</onclick>
				</control>
				<control type="button" id="211">
					<description>Search</description>
					<include>TopMenuButton</include>
					<label>$LOCALIZE[137]</label>
					<onclick>ClearProperty(TMDBSearch,Home)</onclick>
					<onclick>ClearProperty(YouTubeSearch,Home)</onclick>
					<onclick>ClearProperty(AddonsSearch,Home)</onclick>
					<onclick>Skin.Reset(TMDBSearchString)</onclick>
					<onclick>Skin.Reset(TMDBSearchType)</onclick>
					<onclick>Skin.Reset(YouTubeSearchString)</onclick>
					<onclick>Skin.Reset(AddonsSearchString)</onclick>
					<onclick>SetFocus(20)</onclick>
					<include>Select_Search</include>
					<onclick>RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[137]...,usedetails=true)</onclick>
				</control>
				<control type="button" id="212">
					<description>Power</description>
					<include>TopMenuButton</include>
					<label>$LOCALIZE[33060]</label>
					<onclick>SetFocus(20)</onclick>
					<onclick>ActivateWindow(shutdownmenu)</onclick>
				</control>
			</control>
		</control>
	</include>

</includes>
