<includes>
		<!-- ====================== -->
		<!-- Main Home List Buttons -->
		<!-- ====================== -->
		<include name="HomeMenuWraplist">
			<control type="group">
		    <visible allowhiddenfocus="true">!Window.IsActive(1110) + !Window.IsActive(ShutdownMenu) + !Window.IsActive(Favourites) + !Window.IsActive(BusyDialog) + !Window.IsActive(ProgressDialog) + !Window.IsActive(PlayerControls) + !Window.IsActive(script-globalsearch-main.xml) + !Window.IsActive(busy.xml) + ![Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83)]</visible>
		    <include>HomeSlideAnimations</include>
			  <control type="group">
		      <include>HomeSlideAnimations</include>
				  <control type="image">
		        <include>FullscreenDimensions</include>
						<texture background="true">windows/bg/colors_pulse.png</texture>
						<visible>!Skin.HasSetting(HomeMenuAnimation)</visible>
					</control>
          <control type="image">
            <height>720</height>
            <width>3280</width>
            <texture>windows/bg/colors_pulse.png</texture>
            <animation type="Conditional" condition="true" loop="true" reversible="false">
	            <effect type="slide" start="0,0" end="-2000,0" time="20350" />
	            <effect type="slide" start="0,0" end="2000,0" time="20350" delay="20350"/>
            </animation>
						<visible>Skin.HasSetting(HomeMenuAnimation)</visible>
          </control>					
					<control type="wraplist" id="20">
					 <description>Home Container</description>
					 <posx>-95</posx>
					 <posy>110</posy>
					 <width>1500</width>
					 <height>720</height>
					 <align>center</align>
				   <onup>SetFocus(21)</onup>
					 <ondown condition="[Container(20).HasFocus(11) + !Skin.HasSetting(HideLiveTVSubMenu)]
					                  | [Container(20).HasFocus(9) + !Skin.HasSetting(HideSettingsSubMenu)]
														| [[Library.HasContent(movies) + Container(20).HasFocus(2)] + !Skin.HasSetting(HideMoviesSubMenu)]
														| [[Library.HasContent(tvshows) + Container(20).HasFocus(1)] + !Skin.HasSetting(HideTVShowsSubMenu)]
														| [[Library.HasContent(music) + Container(20).HasFocus(3)] + !Skin.HasSetting(HideMusicSubMenu)]">SetFocus(23)</ondown>
														
					 <ondown condition="[[Library.HasContent(movies) + Container(20).HasFocus(2)] + Skin.HasSetting(HideMoviesSubMenu)]
														| [[Library.HasContent(tvshows) + Container(20).HasFocus(1)] + Skin.HasSetting(HideTVShowsSubMenu)]
														| [[Library.HasContent(music) + Container(20).HasFocus(3)] + Skin.HasSetting(HideMusicSubMenu)]">SetFocus(81)</ondown>
					 <onleft>20</onleft>
					 <onright>20</onright>
					 <onback condition="Container(20).HasFocus(15)">Skin.SetString(CustomFavourite1.Label)</onback>
					 <onback condition="Container(20).HasFocus(16)">Skin.SetString(CustomFavourite2.Label)</onback>
					 <onback condition="Container(20).HasFocus(17)">Skin.SetString(CustomFavourite3.Label)</onback>
					 <onback condition="Container(20).HasFocus(18)">Skin.SetString(CustomFavourite4.Label)</onback>
					 <onback condition="Container(20).HasFocus(19)">Skin.SetString(CustomFavourite5.Label)</onback>
					 <onback condition="Container(20).HasFocus(20)">Skin.SetString(CustomFavourite6.Label)</onback>
					 <onback condition="Container(20).HasFocus(21)">Skin.SetString(CustomFavourite7.Label)</onback>
					 <onback condition="Container(20).HasFocus(22)">Skin.SetString(CustomFavourite8.Label)</onback>
					 <onback condition="Container(20).HasFocus(23)">Skin.SetString(CustomFavourite9.Label)</onback>
					 <onback condition="Container(20).HasFocus(24)">Skin.SetString(CustomFavourite10.Label)</onback>
					 <onback condition="Container(20).HasFocus(13)">Skin.SetAddon(TrailersAddon_Path,xbmc.addon.video)</onback>
					 <itemgap>0</itemgap>
					 <orientation>horizontal</orientation>
					 <focusposition>1</focusposition>
           <scrolltime tween="Quadratic" easing="out">300</scrolltime>
					 <itemlayout width="430">
					  <control type="label">
						  <posx>300</posx>
							<posy>200</posy>
							<width>590</width>
		          <textcolor>white</textcolor>
				      <shadowcolor>99000000</shadowcolor>
							<font>FontSize_100</font>
							<align>center</align>
							<label>$INFO[ListItem.Label]</label>
				      <animation type="Conditional" condition="true">
				        <effect type="zoom" start="100" end="65" time="0" center="318,220" />
				        <effect type="fade" start="100" end="45" time="0" />
				      </animation>
					  </control>
					 </itemlayout>
					 <focusedlayout width="430">
						<control type="label">
						  <posx>300</posx>
							<posy>200</posy>
							<width>590</width>
		          <textcolor>white</textcolor>
				      <shadowcolor>99000000</shadowcolor>
							<font>FontSize_100</font>
							<align>center</align>
							<label>$INFO[ListItem.Label]</label>
			        <animation type="Focus" reversible="false" condition="Container(20).OnNext | Container(20).OnPrevious">
			          <effect type="zoom" start="65" end="100" time="300" tween="sine" easing="out" center="318,220" />
			          <effect type="slide" start="55,0" end="0,0" time="350" tween="cubic" easing="out" />
			          <effect type="fade" start="45" end="100" time="300" tween="sine" easing="out" />
			        </animation>
			        <animation type="Unfocus" reversible="false" condition="Container(20).OnNext | Container(20).OnPrevious">
			          <effect type="zoom" start="100" end="65" time="300" tween="sine" easing="out" center="318,220" />
			          <effect type="fade" start="100" end="45" time="300" tween="sine" easing="out" />
			        </animation>
              <animation type="Conditional" reversible="false" condition="!ControlGroup(21).HasFocus">
                <effect type="fade" start="45" end="100" time="100"/>
              </animation>
              <animation type="Conditional" reversible="false" condition="ControlGroup(21).HasFocus">
                <effect type="fade" start="100" end="45" time="100"/>
              </animation>
						</control>
					 </focusedlayout>
		      <content>
		        <include>HomeMainMenuContent</include>
		      </content>
				  </control>
			  </control>		  
			</control>
	  </include>

    <!-- =================== -->
	  <!-- Now Playing Widgets -->
	  <!-- =================== -->
		<include name="HomeNowPlaying">
		  <!-- Music NP -->
		  <control type="group">
				<posx>45</posx>
				<posy>520</posy>
				<visible>Player.HasAudio + !Skin.HasSetting(ShowHomeScreenNPMusic) + !Window.IsVisible(script-globalsearch-main.xml)</visible>
		    <animation type="WindowOpen">
		        <effect type="slide" start="-150,0" end="0,0" time="450" delay="0" tween="cubic" easing="out" />
		        <effect type="fade" start="0" end="100" time="250" delay="0" tween="cubic" easing="out" />
		    </animation>
		    <animation type="WindowClose">
		        <effect type="slide" start="0,0" end="-150,0" time="450" delay="250" tween="cubic" easing="out" />
		        <effect type="fade" start="100" end="0" time="250" delay="250" tween="cubic" easing="out" />
		    </animation>
		    <animation type="Visible">
		        <effect type="slide" start="-150,0" end="0,0" time="450" delay="0" tween="cubic" easing="out" />
		        <effect type="fade" start="0" end="100" time="250" delay="0" tween="cubic" easing="out" />
		    </animation>
		    <animation type="Hidden">
		        <effect type="slide" start="0,0" end="-150,0" time="450" delay="250" tween="cubic" easing="out" />
		        <effect type="fade" start="100" end="0" time="250" delay="250" tween="cubic" easing="out" />
		    </animation>
				<!-- Music Cover -->
				<control type="group">
					 <animation effect="slide" start="0,0" end="-210,0" time="300" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
					 <control type="image">
						 <posx>-130</posx>
						 <posy>-130</posy>
						 <width>400</width>
						 <height>400</height>
						 <aspectratio align="center" aligny="center">stretch</aspectratio>
				     <texture background="true">views/list/shine.png</texture>
				     <visible>![Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)]</visible>
					 </control>
					 <control type="label">
						 <description>NP label</description>
						 <posx>-37</posx>
						 <posy>157</posy>
						 <width>300</width>
						 <height>30</height>
						 <label>$LOCALIZE[13350]</label>
						 <align>left</align>
						 <aligny>left</aligny>
						 <font>FontSize_22</font>
						 <textcolor>purple</textcolor>
						 <shadowcolor>77000000</shadowcolor>
						 <angle>90</angle>
					 </control>
		       <control type="image">
		         <posx>3</posx>
		         <posy>-50</posy>
		         <width>155</width>
		         <height>155</height>
		         <texture fallback="osd/cd.png" diffuse="osd/cd_diffuse.png">$INFO[Player.FolderPath]cdart.png</texture>
		         <aspectratio>keep</aspectratio>
						 <include>CDImageAnim</include>
		      </control>				
					<control type="image">
							<posx>0</posx>
							<posy>0</posy>
							<width>160</width>
							<height>160</height>
							<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
					    <texture background="true" fallback="thumbs/fallback_square.png" diffuse="thumbs/music_diffuse.png">$INFO[Player.Art(thumb)]</texture>
							<fadetime>800</fadetime>
					</control>
					<control type="image">
							<posx>-7</posx>
							<posy>-7</posy>
							<width>174</width>
							<height>174</height>
							<aspectratio align="center" aligny="center">stretch</aspectratio>
							<texture background="true">thumbs/music_overlay.png</texture>
							<fadetime>800</fadetime>
					</control>
					<control type="image">
							<posx>0</posx>
							<posy>162</posy>
							<width>160</width>
							<height>160</height>
							<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
					    <texture background="true" fallback="thumbs/fallback_square.png" flipy="true" diffuse="thumbs/music_reflection_diffuse.png">$INFO[Player.Art(thumb)]</texture>
							<fadetime>800</fadetime>
							<colordiffuse>a0ffffff</colordiffuse>
					</control>
					<control type="image">
							<description>paused indicator</description>
							<posx>-1</posx>
							<posy>-1</posy>
							<width>162</width>
							<height>162</height>
							<texture background="true" diffuse="thumbs/music_diffuse.png">osd/paused-overlay.png</texture>
							<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
							<visible>Player.Paused</visible>
							<animation type="conditional" condition="Player.Paused" reversible="true">
								<effect type="fade" start="0" end="50" time="300" />
							</animation>
					</control>
					<control type="image">
							<description>ff indicator</description>
							<posx>-1</posx>
							<posy>-1</posy>
							<width>162</width>
							<height>162</height>
							<texture background="true" diffuse="thumbs/music_diffuse.png">osd/ff-overlay.png</texture>
							<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
							<visible>Player.Forwarding</visible>
							<animation type="conditional" condition="Player.Forwarding" reversible="true">
								<effect type="fade" start="0" end="50" time="300" />
							</animation>
					</control>
					<control type="image">
							<description>rw indicator</description>
							<posx>-1</posx>
							<posy>-1</posy>
							<width>162</width>
							<height>162</height>
							<texture background="true" diffuse="thumbs/music_diffuse.png">osd/rw-overlay.png</texture>
							<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
							<visible>Player.Rewinding</visible>
							<animation type="conditional" condition="Player.Rewinding" reversible="true">
								<effect type="fade" start="0" end="50" time="300" />
							</animation>
					</control>
				</control>
	
				<!-- Music Info -->
				<control type="group">
					<posx>173</posx>
		      <include>KaiToastSlideAnimations</include>
		      <include>ScanSlideAnimations</include>
					<animation effect="slide" start="0,0" end="-170,0" time="300" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
					<control type="label">
						<description>Title label</description>
						<posx>0</posx>
						<posy>64</posy>
						<height>30</height>
						<width>1000</width>
						<label>$INFO[MusicPlayer.Title]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_36</font>
						<textcolor>white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>Album Label</description>
						<posx>0</posx>
						<posy>94</posy>
						<height>30</height>
						<width>1000</width>
						<label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]$INFO[musicplayer.discnumber, - $LOCALIZE[427]:]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>NotificationsFont</font>
						<textcolor>99white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>Time Label</description>
						<posx>0</posx>
						<posy>124</posy>
						<height>30</height>
						<width>300</width>
						<label>$INFO[Player.Time(mm:ss)]$INFO[Player.Duration,[COLOR=purple] / [/COLOR]]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>NotificationsFont</font>
						<textcolor>purple</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
				</control>
		  </control>
		  <!-- Video NP -->
		  <control type="group">
				<posx>45</posx>
				<posy>520</posy>
				<visible>Player.HasVideo + !Skin.HasSetting(ShowHomeScreenNPVideo) + !Window.IsVisible(script-globalsearch-main.xml)</visible>
		    <animation type="WindowOpen">
		        <effect type="slide" start="-150,0" end="0,0" time="450" delay="0" tween="cubic" easing="out" />
		        <effect type="fade" start="0" end="100" time="250" delay="0" tween="cubic" easing="out" />
		    </animation>
		    <animation type="WindowClose">
		        <effect type="slide" start="0,0" end="-150,0" time="450" delay="250" tween="cubic" easing="out" />
		        <effect type="fade" start="100" end="0" time="250" delay="250" tween="cubic" easing="out" />
		    </animation>
		    <animation type="Visible">
		        <effect type="slide" start="-150,0" end="0,0" time="450" delay="0" tween="cubic" easing="out" />
		        <effect type="fade" start="0" end="100" time="250" delay="0" tween="cubic" easing="out" />
		    </animation>
		    <animation type="Hidden">
		        <effect type="slide" start="0,0" end="-150,0" time="450" delay="250" tween="cubic" easing="out" />
		        <effect type="fade" start="100" end="0" time="250" delay="250" tween="cubic" easing="out" />
		    </animation>
		    <!-- Movies & Episodes Cover -->
			  <control type="group">
				 <posy>-25</posy>
				 <visible>VideoPlayer.Content(Movies) | VideoPlayer.Content(Episodes)</visible>
				 <animation effect="slide" start="0,0" end="-180,0" time="300" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
				 <control type="image">
					 <posx>-130</posx>
					 <posy>-130</posy>
					 <width>400</width>
					 <height>400</height>
					 <aspectratio align="center" aligny="center">stretch</aspectratio>
				   <texture background="true">views/list/shine.png</texture>
				   <visible>![Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)]</visible>
				 </control>
				 <control type="label">
					 <description>NP label</description>
					 <posx>-37</posx>
					 <posy>182</posy>
					 <width>300</width>
					 <height>30</height>
					 <label>$LOCALIZE[13350]</label>
					 <align>left</align>
					 <aligny>left</aligny>
					 <font>FontSize_22</font>
					 <textcolor>purple</textcolor>
					 <shadowcolor>77000000</shadowcolor>
					 <angle>90</angle>
				 </control>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>130</width>
						<height>185</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
						<texture background="true" diffuse="thumbs/poster_diffuse.png">thumbs/thumb_back.png</texture>
						<fadetime>800</fadetime>
					</control>
				 <control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>130</width>
						<height>185</height>
						<texture background="true" fallback="thumbs/fallback_poster.png" diffuse="thumbs/poster_diffuse.png">$VAR[PlayerThumbs]</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<fadetime>800</fadetime>
				 </control>
				 <control type="image">
						<posx>-7</posx>
						<posy>-7</posy>
						<width>145</width>
						<height>200</height>
						<texture background="true">thumbs/poster_overlay.png</texture>
						<aspectratio align="center" aligny="center">stretch</aspectratio>
						<fadetime>800</fadetime>
				 </control>
				 <control type="image">
						<posx>0</posx>
						<posy>187</posy>
						<width>130</width>
						<height>185</height>
						<texture background="true" fallback="thumbs/fallback_poster.png" flipy="true" diffuse="thumbs/poster_reflection_diffuse.png">$VAR[PlayerThumbs]</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
						<fadetime>800</fadetime>
						<colordiffuse>A0FFFFFF</colordiffuse>
						<!-- <colordiffuse>33FDFDFD</colordiffuse> -->
				 </control>
				 <control type="image">
						<description>paused indicator</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>130</width>
						<height>185</height>
						<texture background="true" diffuse="thumbs/poster_diffuse.png">osd/paused-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Paused</visible>
						<animation type="conditional" condition="Player.Paused" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				 </control>
				 <control type="image">
						<description>ff indicator</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>130</width>
						<height>185</height>
						<texture background="true" diffuse="thumbs/poster_diffuse.png">osd/ff-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Forwarding</visible>
						<animation type="conditional" condition="Player.Forwarding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				 </control>
				 <control type="image">
						<description>rw indicator</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>130</width>
						<height>185</height>
						<texture background="true" diffuse="thumbs/poster_diffuse.png">osd/rw-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Rewinding</visible>
						<animation type="conditional" condition="Player.Rewinding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				 </control>
			  </control>
	 
		    <!-- Videos Cover -->
			  <control type="group">
				 <visible>!VideoPlayer.Content(Movies) + !VideoPlayer.Content(Episodes) + !VideoPlayer.Content(LiveTV)</visible>
				 <animation effect="slide" start="0,0" end="-310,0" time="320" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
				 <control type="image">
					 <posx>-190</posx>
					 <posy>-140</posy>
					 <width>610</width>
					 <height>400</height>
					 <aspectratio align="center" aligny="center">stretch</aspectratio>
				   <texture background="true">views/list/shine.png</texture>
				   <visible>![Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)]</visible>
				 </control>
				 <control type="label">
					 <description>NP label</description>
					 <posx>-37</posx>
					 <posy>157</posy>
					 <width>300</width>
					 <height>30</height>
					 <label>$LOCALIZE[13350]</label>
					 <align>left</align>
					 <aligny>left</aligny>
					 <font>FontSize_22</font>
					 <textcolor>purple</textcolor>
					 <shadowcolor>77000000</shadowcolor>
					 <angle>90</angle>
				 </control>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>260</width>
						<height>160</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
						<texture background="true" diffuse="thumbs/video_diffuse.png">thumbs/thumb_back.png</texture>
						<fadetime>800</fadetime>
					</control>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>260</width>
						<height>160</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
				    <texture background="true" fallback="thumbs/fallback_episode.png" diffuse="thumbs/video_diffuse.png">$INFO[VideoPlayer.Cover]</texture>
						<fadetime>800</fadetime>
					</control>
					<control type="image">
						<posx>-7</posx>
						<posy>-7</posy>
						<width>273</width>
						<height>173</height>
						<aspectratio align="center" aligny="center">stretch</aspectratio>
						<texture background="true">thumbs/video_overlay.png</texture>
						<fadetime>800</fadetime>
					</control>
					<control type="image">
						<posx>0</posx>
						<posy>162</posy>
						<width>260</width>
						<height>160</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
				    <texture background="true" fallback="thumbs/fallback_episode.png" flipy="true" diffuse="thumbs/video_reflection_diffuse.png">$INFO[VideoPlayer.Cover]</texture>
						<fadetime>800</fadetime>
						<colordiffuse>A0ffffff</colordiffuse>
					</control>			 
				 <control type="image">
						<description>paused indicator</description>
						<posx>-1</posx>
						<posy>-1</posy>
						<width>261</width>
						<height>161</height>
						<texture background="true" diffuse="thumbs/video_diffuse.png">osd/paused-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Paused</visible>
						<animation type="conditional" condition="Player.Paused" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				 </control>
				 <control type="image">
						<description>ff indicator</description>
						<posx>-1</posx>
						<posy>-1</posy>
						<width>261</width>
						<height>161</height>
						<texture background="true" diffuse="thumbs/video_diffuse.png">osd/ff-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Forwarding</visible>
						<animation type="conditional" condition="Player.Forwarding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				 </control>
				 <control type="image">
						<description>rw indicator</description>
						<posx>-1</posx>
						<posy>-1</posy>
						<width>261</width>
						<height>161</height>
						<texture background="true" diffuse="thumbs/video_diffuse.png">osd/rw-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Rewinding</visible>
						<animation type="conditional" condition="Player.Rewinding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				 </control>
			  </control>

				<!-- LiveTV Cover -->
				<control type="group">
				   <visible>VideoPlayer.Content(LiveTV)</visible>
					 <animation effect="slide" start="0,0" end="-210,0" time="300" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
					 <control type="image">
						 <posx>-130</posx>
						 <posy>-130</posy>
						 <width>400</width>
						 <height>400</height>
						 <aspectratio align="center" aligny="center">stretch</aspectratio>
				     <texture background="true">views/list/shine.png</texture>
				     <visible>![Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)]</visible>
					 </control>
					 <control type="label">
						 <description>NP label</description>
						 <posx>-37</posx>
						 <posy>157</posy>
						 <width>300</width>
						 <height>30</height>
						 <label>$LOCALIZE[13350]</label>
						 <align>left</align>
						 <aligny>left</aligny>
						 <font>FontSize_22</font>
						 <textcolor>purple</textcolor>
						 <shadowcolor>77000000</shadowcolor>
						 <angle>90</angle>
					 </control>
					 <control type="image">
						 <posx>0</posx>
						 <posy>0</posy>
						 <width>160</width>
						 <height>160</height>
						 <aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
						 <texture background="true" diffuse="thumbs/music_diffuse.png">thumbs/thumb_back.png</texture>
						 <fadetime>800</fadetime>
					</control>
					<control type="image">
							<posx>0</posx>
							<posy>0</posy>
							<width>160</width>
							<height>160</height>
							<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
					    <texture background="true" fallback="thumbs/fallback_square.png" diffuse="thumbs/music_diffuse.png">$INFO[Player.Art(thumb)]</texture>
							<fadetime>800</fadetime>
					</control>
					<control type="image">
							<posx>-7</posx>
							<posy>-7</posy>
							<width>174</width>
							<height>174</height>
							<aspectratio align="center" aligny="center">stretch</aspectratio>
							<texture background="true">thumbs/music_overlay.png</texture>
							<fadetime>800</fadetime>
					</control>
					<control type="image">
							<posx>0</posx>
							<posy>162</posy>
							<width>160</width>
							<height>160</height>
							<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
					    <texture background="true" fallback="thumbs/fallback_square.png" flipy="true" diffuse="thumbs/music_reflection_diffuse.png">$INFO[Player.Art(thumb)]</texture>
							<fadetime>800</fadetime>
							<colordiffuse>a0ffffff</colordiffuse>
					</control>
					<control type="image">
							<description>paused indicator</description>
							<posx>-1</posx>
							<posy>-1</posy>
							<width>162</width>
							<height>162</height>
							<texture background="true" diffuse="thumbs/music_diffuse.png">osd/paused-overlay.png</texture>
							<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
							<visible>Player.Paused</visible>
							<animation type="conditional" condition="Player.Paused" reversible="true">
								<effect type="fade" start="0" end="50" time="300" />
							</animation>
					</control>
					<control type="image">
							<description>ff indicator</description>
							<posx>-1</posx>
							<posy>-1</posy>
							<width>162</width>
							<height>162</height>
							<texture background="true" diffuse="thumbs/music_diffuse.png">osd/ff-overlay.png</texture>
							<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
							<visible>Player.Forwarding</visible>
							<animation type="conditional" condition="Player.Forwarding" reversible="true">
								<effect type="fade" start="0" end="50" time="300" />
							</animation>
					</control>
					<control type="image">
							<description>rw indicator</description>
							<posx>-1</posx>
							<posy>-1</posy>
							<width>162</width>
							<height>162</height>
							<texture background="true" diffuse="thumbs/music_diffuse.png">osd/rw-overlay.png</texture>
							<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
							<visible>Player.Rewinding</visible>
							<animation type="conditional" condition="Player.Rewinding" reversible="true">
								<effect type="fade" start="0" end="50" time="300" />
							</animation>
					</control>
				</control>	
	
				<!-- Movie Info -->
				<control type="group">
					<posx>145</posx>
					<posy>-7</posy>
					<visible>VideoPlayer.Content(Movies)</visible>
		      <include>KaiToastSlideAnimations</include>
		      <include>ScanSlideAnimations</include>
					<animation effect="slide" start="0,0" end="-140,0" time="300" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
					<control type="label">
						<description>Title label</description>
						<posx>0</posx>
						<posy>65</posy>
						<width>1000</width>
						<height>30</height>
						<label>$INFO[VideoPlayer.Title]$INFO[VideoPlayer.Year, (,) ]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_36</font>
						<textcolor>white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>Genre label</description>
						<posx>0</posx>
						<posy>98</posy>
						<height>25</height>
						<width>1000</width>
						<label>$INFO[VideoPlayer.Genre]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>NotificationsFont</font>
						<textcolor>99white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>Time Label</description>
						<posx>0</posx>
						<posy>130</posy>
						<width>300</width>
						<height>30</height>
						<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>NotificationsFont</font>
						<textcolor>purple</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
				</control>
	
			  <!-- Episode Info -->
				<control type="group">
			    <posx>145</posx>
					<posy>-7</posy>
					<visible>VideoPlayer.Content(Episodes)</visible>
		      <include>KaiToastSlideAnimations</include>
		      <include>ScanSlideAnimations</include>
					<animation effect="slide" start="0,0" end="-140,0" time="300" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
					<control type="label">
						<description>Title label</description>
						<posx>0</posx>
						<posy>65</posy>
						<height>30</height>
						<width>1000</width>
						<label>$INFO[VideoPlayer.Title]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_36</font>
						<textcolor>white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>TV Show Season Ep Label</description>
						<posx>0</posx>
						<posy>98</posy>
						<height>25</height>
						<width>1000</width>
						<label>$INFO[VideoPlayer.TVShowTitle] • $LOCALIZE[20373] $INFO[VideoPlayer.Season] • $LOCALIZE[20359] $INFO[VideoPlayer.episode]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>NotificationsFont</font>
						<textcolor>99white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>Time Label</description>
						<posx>0</posx>
						<posy>130</posy>
						<height>30</height>
						<width>300</width>
						<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>NotificationsFont</font>
						<textcolor>purple</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
				</control>
	
			  <!-- Videos Info -->
				<control type="group">
		      <posx>275</posx>
					<posy>-7</posy>
		      <include>KaiToastSlideAnimations</include>
		      <include>ScanSlideAnimations</include>
				  <visible>![VideoPlayer.Content(Movies) | VideoPlayer.Content(Episodes) | VideoPlayer.Content(LiveTV)]</visible>
					<animation effect="slide" start="0,0" end="-270,0" time="300" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
					<control type="label">
						<description>Title label</description>
						<posx>0</posx>
						<posy>65</posy>
						<height>30</height>
						<width>740</width>
						<label>$INFO[VideoPlayer.Title]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_36</font>
						<textcolor>white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>Genre label</description>
						<posx>0</posx>
						<posy>98</posy>
						<height>25</height>
						<width>740</width>
						<label>$INFO[VideoPlayer.Genre]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>NotificationsFont</font>
						<textcolor>99white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>Time Label</description>
						<posx>0</posx>
						<posy>130</posy>
						<width>640</width>
						<height>30</height>
						<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>NotificationsFont</font>
						<textcolor>purple</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
				</control>
	
			  <!-- LiveTV Info -->
				<control type="group">
		      <posx>173</posx>
					<posy>-7</posy>
		      <include>KaiToastSlideAnimations</include>
		      <include>ScanSlideAnimations</include>
				  <visible>VideoPlayer.Content(LiveTV)</visible>
					<animation effect="slide" start="0,0" end="-170,0" time="300" reversible="true" tween="sine" easing="inout" condition="Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(Favourites)">Conditional</animation>
					<control type="grouplist" id="1">
						<posx>0</posx>
						<posy>53</posy>
						<height>70</height>
						<width>970</width>
						<itemgap>10</itemgap>
						<align>left</align>
						<orientation>horizontal</orientation>
						<control type="label" id="1">
						  <include>TopBigLabel</include>
						  <label>$INFO[VideoPlayer.ChannelNumber,,. ]$INFO[VideoPlayer.ChannelName]</label>
						</control>
						<control type="label" id="1">
						  <include>TopSmallLabel</include>
							<label>$INFO[VideoPlayer.Title]</label>
					    <animation effect="fade" end="65" condition="true">Conditional</animation>
						</control>
					</control>
					<control type="label">
						<description>Genre label</description>
						<posx>0</posx>
						<posy>98</posy>
						<height>25</height>
						<width>740</width>
						<label>$INFO[VideoPlayer.Genre]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>99white</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
					<control type="label">
						<description>Time Label</description>
						<posx>0</posx>
						<posy>130</posy>
						<width>640</width>
						<height>30</height>
						<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>purple</textcolor>
						<shadowcolor>77000000</shadowcolor>
					</control>
				</control>
		  </control>
	  </include>

	  <!-- =========== -->
	  <!-- TopHomeMenu -->
	  <!-- =========== -->
		<include name="TopHomeMenu">
		  <control type="group">
				<posx>45</posx>
				<posy>25</posy>
				<visible>![Control.HasFocus(81) | Control.HasFocus(82) | Control.HasFocus(83) | Window.IsActive(ShutdownMenu) | Window.IsActive(ContextMenu) | Window.IsActive(script-globalsearch-main.xml) | Window.IsActive(Favourites)]</visible>
			  <include>HomeWeatherAndClock</include>
		    <include>HomeSlideAnimations</include>
				<control type="grouplist" id="21">
					<posx>0</posx>
					<posy>0</posy>
					<height>0</height>
					<width>0</width>
					<itemgap>0</itemgap>
					<onleft>21</onleft>
					<onright>21</onright>
					<onup>20</onup>
					<ondown>20</ondown>
					<align>left</align>
	        <orientation>horizontal</orientation>
					<control type="button" id="210">
						<description>Favorites</description>
				    <include>TopButton</include>
				    <onclick>SetFocus(20)</onclick>
				    <onclick>ActivateWindow(favourites)</onclick>
					</control>
					<control type="button" id="211">
						<description>Search</description>
				    <include>TopButton</include>
				    <onclick>SetFocus(20)</onclick>
				    <onclick>RunScript(script.globalsearch)</onclick>
					</control>
					<control type="button" id="212">
						<description>Power</description>
				    <include>TopButton</include>
				    <onclick>SetFocus(20)</onclick>
				    <onclick>ActivateWindow(shutdownmenu)</onclick>
					</control>
				</control>
				<control type="grouplist">
					<posx>0</posx>
					<posy>0</posy>
					<height>70</height>
					<width>1190</width>
					<itemgap>20</itemgap>
					<align>left</align>
					<orientation>horizontal</orientation>
		      <include>HomeSlideAnimations</include>
					<control type="label">
					  <include>TopBigLabel</include>
						<label>10000</label>
					</control>
					<control type="label">
					  <include>TopSmallLabel</include>
						<label>$LOCALIZE[1036]</label>
						<animation effect="fade" start="100" end="70" time="200" tween="sine" easing="in" condition="!Control.HasFocus(210)" reversible="true">Conditional</animation>
	          <animation effect="zoom"  start="100" end="94" time="200" tween="sine" easing="in" center="auto" condition="!Control.HasFocus(210)" reversible="true">Conditional</animation>
					</control>
					<control type="label">
					  <include>TopSmallLabel</include>
						<label>$LOCALIZE[137]</label>
						<animation effect="fade" start="100" end="70" time="200" tween="sine" easing="in" condition="!Control.HasFocus(211)" reversible="true">Conditional</animation>
	          <animation effect="zoom"  start="100" end="94" time="200" tween="sine" easing="in" center="auto" condition="!Control.HasFocus(211)" reversible="true">Conditional</animation>
					</control>
					<control type="label">
					  <include>TopSmallLabel</include>
						<label>$LOCALIZE[33060]</label>
						<animation effect="fade" start="100" end="70" time="200" tween="sine" easing="in" condition="!Control.HasFocus(212)" reversible="true">Conditional</animation>
	          <animation effect="zoom"  start="100" end="94" time="200" tween="sine" easing="in" center="auto" condition="!Control.HasFocus(212)" reversible="true">Conditional</animation>
					</control>
				</control>
				<control type="group">
					<posx>3</posx>
					<posy>45</posy>
				  <visible>!Skin.HasSetting(HideLibraryTotals)</visible>
		      <animation effect="slide" end="-3,3" reversible="false" condition="stringcompare(System.Language,Greek) | stringcompare(System.Language,Italian)">Conditional</animation>
		      <include>HomeSlideAnimations</include>
					<control type="label">
						<description>Library Totals: Movies</description>
						<width>500</width>
						<height>20</height>
						<font>FontSize_18</font>
						<textcolor>blue</textcolor>
						<scroll>false</scroll>
						<align>left</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[20342]: $INFO[Window(Home).Property(Movies.Count)]</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="10000" time="300" />
							<effect type="slide" end="0" time="41200" />
						</animation>
					</control>
					<control type="label">
						<description>Library Totals: TVShows</description>
						<width>500</width>
						<height>20</height>
						<font>FontSize_18</font>
						<textcolor>blue</textcolor>
						<scroll>false</scroll>
						<align>left</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[31002]: $INFO[Window(Home).Property(TVShows.Count)]</label>
						<animation type="Conditional" condition="true" loop="true" reversible="false">
							<effect type="fade" start="0" end="100" delay="10300" time="300" />
							<effect type="fade" start="100" end="0" delay="20300" time="300" />
							<effect type="slide" end="0" time="41200" />
						</animation>
					</control>
					<control type="label">
						<description>Library Totals: Albums</description>
						<width>500</width>
						<height>20</height>
						<font>FontSize_18</font>
						<textcolor>blue</textcolor>
						<scroll>false</scroll>
						<align>left</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[132]: $INFO[Window(Home).Property(Music.AlbumsCount)]</label>
						<animation type="Conditional" condition="true" loop="true" reversible="false">
							<effect type="fade" start="0" end="100" delay="20600" time="300" />
							<effect type="fade" start="100" end="0" delay="30600" time="300" />
							<effect type="slide" end="0" time="41200" />
						</animation>
					</control>
					<control type="label">
						<description>Library Totals: Songs</description>
						<width>500</width>
						<height>20</height>
						<font>FontSize_18</font>
						<textcolor>blue</textcolor>
						<scroll>false</scroll>
						<align>left</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[134]: $INFO[Window(Home).Property(Music.SongsCount)]</label>
						<animation type="Conditional" condition="true" loop="true" reversible="false">
							<effect type="fade" start="0" end="100" delay="30900" time="300" />
							<effect type="fade" start="100" end="0" delay="40900" time="300" />
						</animation>
					</control>
		     </control>
		  </control>
	  </include>

</includes>