<window id="2005">
  <defaultcontrol>-</defaultcontrol>
	<controls>
		<control type="image" id="1">
		  <description>Vignette</description>
			<include>FullscreenDimensions</include>
			<texture background="true">windows/bg/bg_vignette.png</texture>
			<fadetime>FanartCrossfadeTime</fadetime>
      <visible>Window.IsActive(InfoDialog) + !Window.IsActive(ShutdownMenu)</visible>
		 <animation effect="fade" time="300">Visible</animation>
		 <animation effect="fade" time="400" delay="300">Hidden</animation>
		</control>
		<control type="image" id="1">
		  <description>Vignette</description>
			<include>FullscreenDimensions</include>
			<texture background="true">windows/bg/bg_vignette.png</texture>
			<include>BackgroundFade</include>
			<fadetime>FanartCrossfadeTime</fadetime>
      <visible>!Window.IsActive(SliderDialog)</visible>
      <visible>Player.ShowInfo | Window.IsActive(VideoOSD) | Window.IsActive(OSDVideoSettings) | Window.IsActive(OSDAudioSettings) | Window.IsActive(VideoBookmarks) | Window.IsActive(SelectDialog) | Window.IsActive(script-XBMC-Subtitles-main.xml) | Window.IsActive(NumericInput)</visible>
		</control>
		<control type="image" id="1">
		  <description>Diffuse</description>
			<include>FullscreenDimensions</include>
		  <texture background="true">windows/bg/osd_menus_overlay.png</texture>
			<include>BackgroundFade</include>
			<fadetime>FanartCrossfadeTime</fadetime>
      <visible>!Window.IsActive(SliderDialog)</visible>
      <visible>Window.IsActive(ShutdownMenu) | Window.IsActive(PVROSDChannels) | Window.IsActive(PVROSDGuide)</visible>
		</control>

		<!-- ============================ -->
		<!-- === VideoFullcreen Code ==== -->
		<!-- ============================ -->
		<control type="group" id="1">
		  <control type="image" id="1">
				<posx>0</posx>
				<posy>410</posy>
				<width>1280</width>
				<height>220</height>
				<fadetime>200</fadetime>
				<texture background="true">osd/tile.png</texture>
			  <colordiffuse>D9FFFFFF</colordiffuse>
				<include>FanartFade</include>
        <visible>[Player.ShowInfo | [Player.Paused + Skin.HasSetting(ShowVideoInfo)] | Window.IsActive(VideoOSD)] + ![Window.IsActive(SliderDialog) | Window.IsActive(SeekBar) | Window.IsActive(OSDVideoSettings) | Window.IsActive(OSDAudioSettings) | Window.IsActive(VideoBookmarks) | Window.IsActive(SelectDialog) | Window.IsActive(script-XBMC-Subtitles-main.xml) | Window.IsActive(ShutdownMenu) | Window.IsActive(NumericInput) | Window.IsActive(PVROSDChannels) | Window.IsActive(PVROSDGuide)]</visible>
		  </control>
			<control type="group" id="1">
				<posx>40</posx>
				<posy>325</posy>
        <visible>[Player.ShowInfo | [Player.Paused+Skin.HasSetting(ShowVideoInfo)] | Window.IsActive(VideoOSD)] + ![Window.IsActive(SliderDialog) | Window.IsActive(SeekBar) | Window.IsActive(OSDVideoSettings) | Window.IsActive(OSDAudioSettings) | Window.IsActive(VideoBookmarks) | Window.IsActive(SelectDialog) | Window.IsActive(script-XBMC-Subtitles-main.xml) | Window.IsActive(ShutdownMenu) | Window.IsActive(NumericInput) | Window.IsActive(PVROSDChannels) | Window.IsActive(PVROSDGuide)]</visible>
		    <animation type="WindowOpen">
	        <effect type="slide" start="-150,0" end="0,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="0" end="100" time="450" delay="0" tween="sine" easing="out" />
		    </animation>
		    <animation type="WindowClose">
	        <effect type="slide" start="0,0" end="-200,0" time="400" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="100" end="0" time="400" delay="0" tween="sine" easing="out" />
		    </animation>
		    <animation type="Visible">
	        <effect type="slide" start="-150,0" end="0,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="0" end="100" time="450" delay="0" tween="sine" easing="out" />
		    </animation>
		    <animation type="Hidden">
	        <effect type="slide" start="0,0" end="-300,0" time="400" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="100" end="0" time="400" delay="0" tween="sine" easing="out" />
		    </animation>
		    <!-- Movies & Episodes Cover -->
			  <control type="group" id="1">
				 <posx>-5</posx>
			   <visible>VideoPlayer.Content(Movies) | VideoPlayer.Content(Episodes)</visible>
					<control type="image" id="1">
						<posx>10</posx>
						<posy>10</posy>
						<width>185</width>
						<height>258</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
						<texture diffuse="thumbs/poster_diffuse.png">thumbs/thumb_back.png</texture>
						<fadetime>800</fadetime>
					</control>
				 <control type="image" id="1">
						<posx>10</posx>
						<posy>10</posy>
						<width>185</width>
						<height>258</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<texture fallback="thumbs/fallback_poster.png" diffuse="thumbs/poster_diffuse.png">$VAR[PlayerThumbs]</texture>
						<fadetime>800</fadetime>
				 </control>
				 <control type="image" id="1">
						<posx>0</posx>
						<posy>0</posy>
						<width>206</width>
						<height>280</height>
						<texture>thumbs/poster_overlay.png</texture>
						<aspectratio align="center" aligny="center">stretch</aspectratio>
						<fadetime>800</fadetime>
				 </control>
				 <control type="image" id="1">
						<description>paused indicator</description>
						<posx>10</posx>
						<posy>10</posy>
						<width>185</width>
						<height>258</height>
						<texture diffuse="thumbs/poster_diffuse.png">osd/paused-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Paused</visible>
						<include>VisibleFadeEffect</include>
						<animation type="conditional" condition="Player.Paused" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				 </control>
				 <control type="image" id="1">
						<description>ff indicator</description>
						<posx>10</posx>
						<posy>10</posy>
						<width>185</width>
						<height>258</height>
						<texture diffuse="thumbs/poster_diffuse.png">osd/ff-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Forwarding</visible>
						<include>VisibleFadeEffect</include>
						<animation type="conditional" condition="Player.Forwarding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				 </control>
				 <control type="image" id="1">
						<description>rw indicator</description>
						<posx>10</posx>
						<posy>10</posy>
						<width>185</width>
						<height>258</height>
						<texture diffuse="thumbs/poster_diffuse.png">osd/rw-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Rewinding</visible>
						<include>VisibleFadeEffect</include>
						<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" id="1">
				 <posx>-5</posx>
				 <posy>60</posy>
				  <visible>VideoPlayer.Content(LiveTV)</visible>
					<control type="image" id="1">
						<posx>8</posx>
						<posy>8</posy>
						<width>199</width>
						<height>199</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
						<texture diffuse="thumbs/music_diffuse.png">thumbs/thumb_back.png</texture>
						<fadetime>800</fadetime>
					</control>
				  <control type="image" id="1">
						<posx>8</posx>
						<posy>8</posy>
						<width>199</width>
						<height>199</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<texture fallback="thumbs/fallback_square.png" diffuse="thumbs/music_diffuse.png">$INFO[Player.Art(thumb)]</texture>
						<fadetime>800</fadetime>
				  </control>
				  <control type="image" id="1">
						<posx>0</posx>
						<posy>0</posy>
						<width>215</width>
						<height>215</height>
						<texture>thumbs/music_overlay.png</texture>
						<aspectratio align="center" aligny="center">stretch</aspectratio>
						<fadetime>800</fadetime>
				  </control>
				  <control type="image" id="1">
						<description>paused indicator</description>
						<posx>8</posx>
						<posy>8</posy>
						<width>199</width>
						<height>199</height>
						<texture diffuse="thumbs/music_diffuse.png">osd/paused-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Paused</visible>
						<include>VisibleFadeEffect</include>
						<animation type="conditional" condition="Player.Paused" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				  </control>
				  <control type="image" id="1">
						<description>ff indicator</description>
						<posx>8</posx>
						<posy>8</posy>
						<width>199</width>
						<height>199</height>
						<texture diffuse="thumbs/music_diffuse.png">osd/ff-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Forwarding</visible>
						<include>VisibleFadeEffect</include>
						<animation type="conditional" condition="Player.Forwarding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				  </control>
				  <control type="image" id="1">
						<description>rw indicator</description>
						<posx>8</posx>
						<posy>8</posy>
						<width>199</width>
						<height>199</height>
						<texture diffuse="thumbs/music_diffuse.png">osd/rw-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Rewinding</visible>
						<include>VisibleFadeEffect</include>
						<animation type="conditional" condition="Player.Rewinding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				  </control>
			  </control> 			  
		    <!-- Videos -->
			  <control type="group" id="1">
				 <posx>-5</posx>
				 <posy>60</posy>
          <visible>!VideoPlayer.Content(Movies) + !VideoPlayer.Content(Episodes) + !VideoPlayer.Content(LiveTV)</visible>
					<control type="image" id="1">
						<posx>8</posx>
						<posy>8</posy>
						<width>294</width>
						<height>199</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">stretch</aspectratio>
						<texture diffuse="thumbs/video_diffuse.png">thumbs/thumb_back.png</texture>
						<fadetime>800</fadetime>
					</control>
				  <control type="image" id="1">
						<posx>8</posx>
						<posy>8</posy>
						<width>294</width>
						<height>199</height>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<texture fallback="thumbs/fallback_episode.png" diffuse="thumbs/video_diffuse.png">$INFO[VideoPlayer.Cover]</texture>
						<fadetime>800</fadetime>
				  </control>
				  <control type="image" id="1">
						<posx>0</posx>
						<posy>0</posy>
						<width>310</width>
						<height>215</height>
						<texture>thumbs/video_overlay.png</texture>
						<aspectratio align="center" aligny="center">stretch</aspectratio>
						<fadetime>800</fadetime>
				  </control>
				  <control type="image" id="1">
						<description>paused indicator</description>
						<posx>8</posx>
						<posy>8</posy>
						<width>294</width>
						<height>199</height>
						<texture diffuse="thumbs/video_diffuse.png">osd/paused-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Paused</visible>
						<include>VisibleFadeEffect</include>
						<animation type="conditional" condition="Player.Paused" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				  </control>
				  <control type="image" id="1">
						<description>ff indicator</description>
						<posx>8</posx>
						<posy>8</posy>
						<width>294</width>
						<height>199</height>
						<texture diffuse="thumbs/video_diffuse.png">osd/ff-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Forwarding</visible>
						<include>VisibleFadeEffect</include>
						<animation type="conditional" condition="Player.Forwarding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				  </control>
				  <control type="image" id="1">
						<description>rw indicator</description>
						<posx>8</posx>
						<posy>8</posy>
						<width>294</width>
						<height>199</height>
						<texture diffuse="thumbs/video_diffuse.png">osd/rw-overlay.png</texture>
						<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
						<visible>Player.Rewinding</visible>
						<include>VisibleFadeEffect</include>
						<animation type="conditional" condition="Player.Rewinding" reversible="true">
							<effect type="fade" start="0" end="50" time="300" />
						</animation>
				  </control>
			  </control>


		    <!-- Movies Info -->
				<control type="group" id="1">
					<posx>205</posx>
					<posy>105</posy>
	        <include>OSDPlotAnimation</include>
	        <visible>[IsEmpty(Window(VideoOSD).Property(ShowPlot)) | IsEmpty(VideoPlayer.Plot)]</visible>
			    <visible>VideoPlayer.Content(Movies)</visible>
					<control type="label" id="1">
						<description>Title label</description>
						<posx>0</posx>
						<posy>15</posy>
						<height>30</height>
						<width>820</width>
					  <label>$INFO[VideoPlayer.Title,, ]$INFO[VideoPlayer.Year, (,) ]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_36</font>
						<textcolor>white</textcolor>
						<shadowcolor>55000000</shadowcolor>
					</control>
					<control type="label" id="1">
						<description>Genre Label</description>
						<posx>0</posx>
						<posy>45</posy>
						<height>30</height>
						<width>550</width>
						<label>$INFO[VideoPlayer.Genre,,]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_22</font>
						<textcolor>99white</textcolor>
						<shadowcolor>55000000</shadowcolor>
					</control>
					<control type="image" id="1">
						<description>Rating image</description>
						<posx>0</posx>
						<posy>80</posy>
						<width>130</width>
						<height>25</height>
						<aspectratio align="left">keep</aspectratio>
						<texture>rating/$INFO[Player.StarRating]</texture>
					</control>
					<control type="fadelabel" id="1">
						<posx>0</posx>
						<posy>510r</posy>
						<width>380</width>
						<height>40</height>
						<font>FontSize_20</font>
						<align>left</align>
						<aligny>center</aligny>
						<textcolor>99white</textcolor>
					  <shadowcolor>55000000</shadowcolor>
            <label>$INFO[VideoPlayer.Director,[COLOR=white]$LOCALIZE[20339]:[/COLOR] ]</label>
            <label>$INFO[VideoPlayer.Writer,[COLOR=white]$LOCALIZE[20417]:[/COLOR] ]</label>
            <label>$INFO[VideoPlayer.RatingAndVotes,[COLOR=white]$LOCALIZE[563]:[/COLOR] ]</label>
            <label>$INFO[VideoPlayer.Top250,[COLOR=white]$LOCALIZE[368] $LOCALIZE[13409][/COLOR] # ]</label>
            <scroll>false</scroll>
            <scrollout>false</scrollout>
            <scrollspeed>100</scrollspeed>
            <pauseatend>5000</pauseatend>
					</control>
				</control>
		    <!-- Episodes Info -->
				<control type="group" id="1">
					<posx>205</posx>
					<posy>105</posy>
	        <include>OSDPlotAnimation</include>
	        <visible>[IsEmpty(Window(VideoOSD).Property(ShowPlot)) | IsEmpty(VideoPlayer.Plot)]</visible>
			    <visible>VideoPlayer.Content(Episodes)</visible>
					<control type="label" id="1">
						<description>Title label</description>
						<posx>0</posx>
						<posy>15</posy>
						<height>30</height>
						<width>820</width>
            <label>$INFO[VideoPlayer.Title]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_36</font>
						<textcolor>white</textcolor>
						<shadowcolor>55000000</shadowcolor>
					</control>
					<control type="label" id="1">
						<description>Genre Label</description>
						<posx>0</posx>
						<posy>45</posy>
						<height>30</height>
						<width>550</width>
            <label>$INFO[VideoPlayer.TVShowTitle]$INFO[VideoPlayer.Season, · $LOCALIZE[20373] ,]$INFO[VideoPlayer.Episode, · $LOCALIZE[20359] ,]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_22</font>
						<textcolor>99white</textcolor>
						<shadowcolor>55000000</shadowcolor>
					</control>
					<control type="image" id="1">
						<description>Rating image</description>
						<posx>0</posx>
						<posy>80</posy>
						<width>130</width>
						<height>25</height>
						<aspectratio align="left">keep</aspectratio>
						<texture>rating/$INFO[Player.StarRating]</texture>
					</control>
					<control type="fadelabel" id="1">
						<posx>0</posx>
						<posy>510r</posy>
						<width>380</width>
						<height>40</height>
						<font>FontSize_18</font>
						<align>left</align>
						<aligny>center</aligny>
						<textcolor>99white</textcolor>
					  <shadowcolor>55000000</shadowcolor>
            <label>$INFO[VideoPlayer.Premiered,[COLOR=white]$LOCALIZE[20416]:[/COLOR] ]</label>
            <label>$INFO[VideoPlayer.Director,[COLOR=white]$LOCALIZE[20339]:[/COLOR] ]</label>
            <label>$INFO[VideoPlayer.Writer,[COLOR=white]$LOCALIZE[20417]:[/COLOR] ]</label>
            <label>$INFO[VideoPlayer.RatingAndVotes,[COLOR=white]$LOCALIZE[563]:[/COLOR] ]</label>
            <scroll>false</scroll>
            <scrollout>false</scrollout>
            <scrollspeed>100</scrollspeed>
            <pauseatend>5000</pauseatend>
					</control>
				</control>
		    <!-- Videos Info -->
				<control type="group" id="1">
					<posx>315</posx>
					<posy>105</posy>
	        <include>OSDPlotAnimation</include>
	        <visible>[IsEmpty(Window(VideoOSD).Property(ShowPlot)) | IsEmpty(VideoPlayer.Plot)]</visible>
				  <visible>![VideoPlayer.Content(Movies) | VideoPlayer.Content(Episodes) | VideoPlayer.Content(LiveTV)]</visible>
					<control type="label" id="1">
						<description>Title label</description>
						<posx>0</posx>
						<posy>15</posy>
						<height>30</height>
						<width>700</width>
            <label>$INFO[VideoPlayer.Title]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_36</font>
						<textcolor>white</textcolor>
						<shadowcolor>55000000</shadowcolor>
					</control>
					<control type="label" id="1">
						<description>Label</description>
						<posx>0</posx>
						<posy>45</posy>
						<height>30</height>
						<width>700</width>
            <label>$INFO[VideoPlayer.Genre]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_22</font>
						<textcolor>99white</textcolor>
						<shadowcolor>55000000</shadowcolor>
					</control>
				</control>
		    <!-- LiveTV Info -->
			  <control type="group" id="1">
					<posx>220</posx>
					<posy>105</posy>
	        <include>OSDPlotAnimation</include>
	        <visible>[IsEmpty(Window(VideoOSD).Property(ShowPlot)) | IsEmpty(VideoPlayer.Plot)]</visible>
				  <visible>VideoPlayer.Content(LiveTV)</visible>
					<control type="grouplist" id="1">
						<posx>0</posx>
						<posy>0</posy>
						<height>70</height>
						<width>700</width>
						<itemgap>10</itemgap>
						<align>left</align>
						<orientation>horizontal</orientation>
					  <include>OSDSlideAnimations</include>
						<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" id="1">
						<description>Label</description>
						<posx>0</posx>
						<posy>45</posy>
						<height>30</height>
						<width>700</width>
            <label>$INFO[VideoPlayer.Genre]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>FontSize_22</font>
						<textcolor>99white</textcolor>
						<shadowcolor>55000000</shadowcolor>
					</control>
					<control type="fadelabel" id="1">
						<posx>0</posx>
						<posy>510r</posy>
						<width>380</width>
						<height>40</height>
						<font>FontSize_20</font>
						<align>left</align>
						<aligny>center</aligny>
						<textcolor>99white</textcolor>
					  <shadowcolor>55000000</shadowcolor>
				    <label>$INFO[VideoPlayer.ChannelGroup,[COLOR=white]$LOCALIZE[31033]:[/COLOR] ]</label>
            <label>$INFO[VideoPlayer.NextTitle,[COLOR=white]$LOCALIZE[19031]:[/COLOR] ,]$INFO[VideoPlayer.NextStartTime, (,)]</label>
					  <label>$INFO[VideoPlayer.NextStartTime,[COLOR=white]$LOCALIZE[19080][/COLOR] ,]$INFO[VideoPlayer.NextEndTime,  [COLOR=white]$LOCALIZE[19081][/COLOR] ,]</label>
            <scroll>false</scroll>
            <scrollout>false</scrollout>
            <scrollspeed>100</scrollspeed>
            <pauseatend>5000</pauseatend>
					</control>
				</control>

		    <!-- Progress -->
			  <control type="group" id="1">
					<posx>203</posx>
					<posy>240</posy>
	        <include>OSDPlotAnimation</include>
	        <visible>[IsEmpty(Window(VideoOSD).Property(ShowPlot)) | IsEmpty(VideoPlayer.Plot)]</visible>
				  <animation effect="slide" start="0,0" end="110,0" condition="![VideoPlayer.Content(Movies) | VideoPlayer.Content(Episodes) | VideoPlayer.Content(LiveTV)]">Conditional</animation>
				  <animation effect="slide" start="0,0" end="15,0" condition="VideoPlayer.Content(LiveTV)">Conditional</animation>
					<control type="label" id="1">
						<posx>543</posx>
						<posy>509r</posy>
						<width>155</width>
						<height>40</height>
						<font>FontSize_18</font>
						<align>right</align>
						<aligny>center</aligny>
						<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
						<textcolor>white</textcolor>
					  <shadowcolor>55000000</shadowcolor>
					</control>
					<control type="progress" id="1">
						<description>Progressbar</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>545</width>
						<height>24</height>
						<info>Player.Progress</info>
            <reveal>true</reveal>
						<texturebg border="10">osd/osd_bg_progress_big.png</texturebg>
						<lefttexture>osd/osd_left_progress.png</lefttexture>
						<midtexture>osd/osd_center_progress.png</midtexture>
						<righttexture>osd/osd_right_progress.png</righttexture>
            <overlaytexture>-</overlaytexture>
					</control>
					<control type="progress" id="1">
						<description>Progressbar</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>545</width>
						<height>24</height>
						<info>Player.CacheLevel</info>
						<texturebg border="10">osd/osd_bg_progress_cache_big.png</texturebg>
						<lefttexture>osd/osd_left_progress_cache.png</lefttexture>
						<midtexture>osd/osd_center_progress_cache.png</midtexture>
						<righttexture>osd/osd_right_progress_cache.png</righttexture>
            <overlaytexture>-</overlaytexture>
            <colordiffuse>11FFFFFF</colordiffuse>
					</control>
					<control type="progress" id="1">
						<description>Progressbar</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>545</width>
						<height>24</height>
						<info>Player.ProgressCache</info>
            <reveal>true</reveal>
						<texturebg border="10">osd/osd_bg_progress_cache_big.png</texturebg>
						<lefttexture>osd/osd_left_progress.png</lefttexture>
						<midtexture>osd/osd_center_progress.png</midtexture>
						<righttexture>osd/osd_right_progress.png</righttexture>
            <overlaytexture>-</overlaytexture>
            <colordiffuse>44FFFFFF</colordiffuse>
					</control>
				</control>	
			</control>
	    <!-- Media Flags -->
			<control type="grouplist" id="1">
        <visible>[Player.ShowInfo | [Player.Paused+Skin.HasSetting(ShowVideoInfo)] | Window.IsActive(VideoOSD)] + ![Window.IsActive(SliderDialog) | Window.IsActive(SeekBar) | Window.IsActive(OSDVideoSettings) | Window.IsActive(OSDAudioSettings) | Window.IsActive(VideoBookmarks) | Window.IsActive(SelectDialog) | Window.IsActive(script-XBMC-Subtitles-main.xml) | Window.IsActive(ShutdownMenu) | Window.IsActive(NumericInput) | Window.IsActive(PVROSDChannels) | Window.IsActive(PVROSDGuide)]</visible>
		    <animation type="WindowOpen" reversible="false">
	        <effect type="slide" start="150,0" end="0,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="0" end="100" time="450" delay="0" tween="sine" easing="out" />
		    </animation>
		    <animation type="WindowClose" reversible="false">
	        <effect type="slide" start="0,0" end="200,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="100" end="0" time="450" delay="0" tween="sine" easing="out" />
		    </animation>
		    <animation type="Visible" reversible="false">
	        <effect type="slide" start="300,0" end="0,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="0" end="100" time="450" delay="0" tween="sine" easing="out" />
		    </animation>
		    <animation type="Hidden" reversible="false">
	        <effect type="slide" start="0,0" end="200,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="100" end="0" time="450" delay="0" tween="sine" easing="out" />
		    </animation>
				<posx>635</posx>
				<posy>435</posy>
				<width>600</width>
				<align>right</align>
				<itemgap>10</itemgap>
				<orientation>horizontal</orientation>
				<control type="image" id="1">
					<description>Video Resolution Image</description>
					<include>FlagsOSDLayout</include>
					<texture>$INFO[VideoPlayer.VideoResolution,flags/res/,.png]</texture>
				</control>
				<control type="image" id="1">
					<description>Aspectratio Image</description>
					<include>FlagsOSDLayout</include>
					<texture>$INFO[VideoPlayer.VideoCodec,flags/video/,.png]</texture>
				</control>
				<control type="image" id="1">
					<description>Audio Codec Image</description>
					<include>FlagsOSDLayout</include>
					<texture>$INFO[VideoPlayer.AudioCodec,flags/audio/,.png]</texture>
				</control>
			</control>
		</control>


		<!-- =========================== -->
		<!-- ====== Seekbar Code ======= -->
		<!-- =========================== -->
		<control type="group" id="1">
	    <visible>Window.IsActive(FullScreenVideo) + [Player.Seeking | Player.DisplayAfterSeek | [Player.Paused + !Skin.HasSetting(ShowVideoInfo)] | Player.Forwarding | Player.Rewinding] + ![Player.ShowInfo | Window.IsActive(VideoOSD)] + !Window.IsActive(script-XBMC-Subtitles-main.xml) + !Window.IsActive(ShutdownMenu) + !Window.IsActive(NumericInput) + !Window.IsActive(PVROSDChannels) + !Window.IsActive(PVROSDGuide)</visible>
			<animation type="WindowOpen" reversible="false">
				<effect type="zoom" time="350" center="640,360" start="150" end="100" tween="cubic" easing="out"/>
				<effect type="fade" time="350" start="0" easing="out" end="100"/>
			</animation>
			<animation type="WindowClose" reversible="false">
				<effect type="zoom" time="250" center="640,360" start="100" end="150" tween="cubic" easing="in"/>
				<effect type="fade" time="250" start="100" easing="in" end="0"/>
			</animation>
			<animation type="Visible" reversible="false">
				<effect type="zoom" time="350" center="640,360" start="150" end="100" tween="cubic" easing="out"/>
				<effect type="fade" time="350" start="0" easing="out" end="100"/>
			</animation>			
			<animation type="Hidden" reversible="false">
				<effect type="zoom" time="350" center="640,360" start="100" end="150" tween="cubic" easing="in"/>
				<effect type="fade" time="350" start="100" easing="in" end="0"/>
			</animation>
			<animation type="Conditional" condition="Player.Paused + ![Player.Caching | Player.Seeking | Player.DisplayAfterSeek | Player.SeekOffset | Player.Forwarding | Player.Rewinding | Player.ShowInfo]">
				<effect type="zoom" time="350" delay="9000" center="640,360" start="100" end="0" tween="cubic" easing="in"/>
				<effect type="fade" time="350" delay="9000" start="100" easing="in" end="0"/>
			</animation>
			<control type="image" id="1">
				<posx>450</posx>
				<posy>165</posy>
				<width>395</width>
				<height>395</height>
				<texture>osd/osd_controls_bg.png</texture>
				<colordiffuse>AA999999</colordiffuse>
			</control>
		  <control type="group" id="1">
				<posx>485</posx>
				<posy>195</posy>
				<control type="image" id="1">
					<width>330</width>
					<height>330</height>
					<texture>osd/osd_pause.png</texture>
					<visible>Player.Paused</visible>
				  <colordiffuse>AA999999</colordiffuse>
				</control>
				<control type="image" id="1">
					<width>330</width>
					<height>330</height>
					<texture>osd/osd_play.png</texture>
					<visible>Player.Playing</visible>
				  <colordiffuse>AA999999</colordiffuse>
				</control>
				<control type="image" id="1">
					<width>330</width>
					<height>330</height>
					<texture>osd/osd_rw.png</texture>
					<visible>Player.Rewinding</visible>
				  <colordiffuse>aa999999</colordiffuse>
				</control>
				<control type="image" id="1">
					<width>330</width>
					<height>330</height>
					<texture>osd/osd_ff.png</texture>
					<visible>Player.Forwarding</visible>
				  <colordiffuse>AA999999</colordiffuse>
				</control>
			</control>
	
			<control type="group" id="1">
				<posx>485</posx>
				<posy>215</posy>
				<control type="group" id="1">
					<posx>3</posx>
					<visible>!Player.ChapterCount</visible>
					<control type="label" id="1">
						<description>Seek Time Label</description>
						<width>320</width>
						<height>20</height>
						<font>FontSize_24</font>
						<textcolor>88FFFFFF</textcolor>
						<shadowcolor>99000000</shadowcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$VAR[DialogSeekBarLabel]</label>
						<animation type="Conditional" reversible="false" condition="Player.Paused  + ![Player.Forwarding | Player.Rewinding | Player.Caching]" loop="true">
							<effect type="fade" start="0" end="100" time="400" delay="0" />
							<effect type="fade" start="100" end="0" time="400" delay="5000" />
							<effect type="fade" start="100" end="0" time="400" delay="10000" />
						</animation>
					</control>
					<control type="label" id="1">
						<description>Seek Time Label</description>
						<width>320</width>
						<height>20</height>
						<font>FontSize_24</font>
						<textcolor>88FFFFFF</textcolor>
					  <shadowcolor>55000000</shadowcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[31305] [COLOR=osdinfo]$INFO[Player.FinishTime][/COLOR]</label>
						<visible>!Player.Playing + !Player.Forwarding + !Player.Rewinding + !Player.Caching</visible>
						<animation type="Conditional" reversible="false" condition="Player.Paused + ![Player.Playing | Player.Forwarding | Player.Rewinding | Player.Caching]" loop="true">
							<effect type="fade" start="0" end="100" time="400" delay="5400" />
							<effect type="fade" start="100" end="0" time="400" delay="10000" />
						</animation>
					</control>
				</control>
				<control type="group" id="1">
					<posx>3</posx>
					<visible>Player.ChapterCount</visible>		
					<control type="label" id="1">
						<description>Seek Time Label</description>
						<width>320</width>
						<height>20</height>
						<font>FontSize_24</font>
						<textcolor>88FFFFFF</textcolor>
					  <shadowcolor>55000000</shadowcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$VAR[DialogSeekBarLabel]</label>
						<animation type="Conditional" reversible="false" condition="Player.Paused  + ![Player.Forwarding | Player.Rewinding | Player.Caching]" loop="true">
							<effect type="fade" start="0" end="100" time="400" delay="0" />
							<effect type="fade" start="100" end="0" time="400" delay="5000" />
							<effect type="fade" start="100" end="0" time="400" delay="15000" />
						</animation>
					</control>
					<control type="label" id="1">
						<description>Seek Time Label</description>
						<width>320</width>
						<height>20</height>
						<font>FontSize_24</font>
						<textcolor>88FFFFFF</textcolor>
					  <shadowcolor>55000000</shadowcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[31305] [COLOR=osdinfo]$INFO[Player.FinishTime][/COLOR]</label>
						<visible>!Player.Playing + !Player.Forwarding + !Player.Rewinding + !Player.Caching</visible>
						<animation type="Conditional" reversible="false" condition="Player.Paused + ![Player.Playing | Player.Forwarding | Player.Rewinding | Player.Caching]" loop="true">
							<effect type="fade" start="0" end="100" time="400" delay="5400" />
							<effect type="fade" start="100" end="0" time="400" delay="10000" />
							<effect type="fade" start="100" end="0" time="400" delay="15000" />
						</animation>
					</control>
					<control type="label" id="1">
						<description>Chapter Label</description>
						<width>320</width>
						<height>20</height>
						<font>FontSize_24</font>
						<textcolor>88FFFFFF</textcolor>
					  <shadowcolor>55000000</shadowcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[21396]: [COLOR=osdinfo]$INFO[Player.Chapter]$INFO[Player.ChapterCount, / ][/COLOR]</label>
						<visible>!Player.Playing + !Player.Forwarding + !Player.Rewinding + !Player.Caching</visible>
						<animation type="Conditional" reversible="false" condition="Player.Paused + ![Player.Playing | Player.Forwarding | Player.Rewinding | Player.Caching]" loop="true">
							<effect type="fade" start="0" end="100" time="400" delay="10400" />
							<effect type="fade" start="100" end="0" time="400" delay="15000" />
						</animation>
					</control>
				</control>
				
				<control type="label" id="1">
					<description>Time Label</description>
					<posx>0</posx>
					<posy>260</posy>
					<width>80</width>
					<height>20</height>
					<font>FontSize_18</font>
					<textcolor>osdinfo</textcolor>
				  <shadowcolor>55000000</shadowcolor>
					<align>left</align>
					<aligny>center</aligny>
					<label>$INFO[Player.Time]</label>
				</control>
				<control type="label" id="1">
					<description>Time Remaining Label</description>
					<posx>323</posx>
					<posy>260</posy>
					<width>80</width>
					<height>20</height>
					<font>FontSize_18</font>
					<textcolor>osdinfo</textcolor>
				  <shadowcolor>55000000</shadowcolor>
					<align>right</align>
					<aligny>center</aligny>
					<label>-$INFO[Player.TimeRemaining]</label>
			  </control>
				<control type="progress" id="1">
					<description>Progressbar</description>
					<posx>-2</posx>
					<posy>280</posy>
					<width>327</width>
					<height>25</height>
					<info>Player.Progress</info>
	        <reveal>true</reveal>
					<texturebg border="10">osd/osd_bg_progress.png</texturebg>
					<lefttexture>osd/osd_left_progress.png</lefttexture>
					<midtexture>osd/osd_center_progress.png</midtexture>
					<righttexture>osd/osd_right_progress.png</righttexture>
	        <overlaytexture>-</overlaytexture>
				</control>
				<control type="progress" id="1">
					<description>Progressbar</description>
					<posx>-2</posx>
					<posy>280</posy>
					<width>327</width>
					<height>25</height>
					<info>Player.CacheLevel</info>
					<texturebg border="10">osd/osd_bg_progress_cache_big.png</texturebg>
					<lefttexture>osd/osd_left_progress_cache.png</lefttexture>
					<midtexture>osd/osd_center_progress_cache.png</midtexture>
					<righttexture>osd/osd_right_progress_cache.png</righttexture>
	        <overlaytexture>-</overlaytexture>
	        <colordiffuse>11FFFFFF</colordiffuse>
				</control>
				<control type="progress" id="1">
					<description>Progressbar</description>
					<posx>-2</posx>
					<posy>280</posy>
					<width>327</width>
					<height>25</height>
					<info>Player.ProgressCache</info>
	        <reveal>true</reveal>
					<texturebg border="10">osd/osd_bg_progress_cache_big.png</texturebg>
					<lefttexture>osd/osd_left_progress.png</lefttexture>
					<midtexture>osd/osd_center_progress.png</midtexture>
					<righttexture>osd/osd_right_progress.png</righttexture>
	        <overlaytexture>-</overlaytexture>
	        <colordiffuse>44FFFFFF</colordiffuse>
				</control>
			</control>
		</control>	

		<!-- ======================== -->
		<!-- === Weather & Clock ==== -->
		<!-- ======================== -->		
	  <control type="group" id="1">
			<posx>25</posx>
			<posy>40</posy>
      <include>WeatherAndClock</include>
	    <animation type="WindowOpen" reversible="false">
	        <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
	        <effect type="slide" start="0,-55" end="0,0" time="350" tween="cubic" easing="out" />
	    </animation>
	    <animation type="WindowClose" reversible="false">
	        <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
	        <effect type="slide" start="0,0" end="0,-55" time="350" tween="sine" easing="out" />
	    </animation>
	    <animation type="Visible" reversible="false">
	        <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
	        <effect type="slide" start="0,-35" end="0,0" time="350" tween="cubic" easing="out" />
	    </animation>
	    <animation type="Hidden" reversible="false">
	        <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
	        <effect type="slide" start="0,0" end="0,-35" time="350" tween="sine" easing="out" />
	    </animation>
		  <animation type="Conditional" reversible="false" condition="!Window.IsActive(VolumeBar) + !Window.IsActive(SliderDialog) + !Player.ShowCodec">
		      <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
		      <effect type="slide" start="0,35" end="0,0" time="350" tween="cubic" easing="out" />
		  </animation>
		  <animation type="Conditional" reversible="false" condition="Window.IsActive(VolumeBar) | Window.IsActive(SliderDialog) | Player.ShowCodec">
		      <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
		      <effect type="slide" start="0,0" end="0,35" time="350" tween="sine" easing="out" />
		  </animation>
      <visible>!Window.IsActive(script-XBMC-Subtitles-main.xml)</visible>
      <visible>[Player.ShowInfo | Window.IsActive(VideoOSD)]</visible>
<!--  <visible>[Player.ShowInfo | Window.IsActive(VideoOSD)] | [Window.IsActive(FullScreenVideo) + [Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding]]</visible> -->
	  </control>		


		<!-- =========================== -->
		<!-- ===== Codec Info Code ===== -->
		<!-- =========================== -->
		<control type="group" id="0">
			<visible>Control.IsVisible(10) + !Window.IsVisible(VideoOSD)</visible>
			<animation type="Hidden">
				<effect type="fade" time="400" start="100" end="0" />
				<effect type="slide" time="400" start="0,0" end="0,-125" easing="in" tween="cubic" />
			</animation>
			<animation type="Visible">
				<effect type="fade" time="400" start="0" end="100" />
				<effect type="slide" time="400" start="0,-125" end="0,0" easing="out" tween="cubic" />
			</animation>
			<animation type="WindowOpen">
				<effect type="fade" time="400" start="0" end="100" />
				<effect type="slide" time="400" start="0,-125" end="0,0" easing="out" tween="cubic" />
			</animation>
			<animation type="WindowClose">
				<effect type="fade" time="400" start="100" end="0" />
				<effect type="slide" time="400" start="0,0" end="0,-125" easing="in" tween="cubic" />
			</animation>
			<control type="image">
				<description>media info background image</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>1280</width>
				<height>150</height>
				<texture background="true">osd/tile.png</texture>
			  <colordiffuse>D9FFFFFF</colordiffuse>
			</control>
			<control type="label" id="10">
				<description>row 1 label</description>
				<posx>20</posx>
				<posy>15</posy>
				<width>1240</width>
				<height>30</height>
				<align>left</align>
				<aligny>center</aligny>
				<textcolor>white</textcolor>
			  <shadowcolor>22000000</shadowcolor>
				<font>FontSize_18B</font>
				<scroll>false</scroll>
				<label>-</label>
			</control>
			<control type="label" id="11">
				<description>row 2 label</description>
				<posx>20</posx>
				<posy>45</posy>
				<width>1240</width>
				<height>30</height>
				<align>left</align>
				<aligny>center</aligny>
				<textcolor>white</textcolor>
			  <shadowcolor>22000000</shadowcolor>
				<font>FontSize_18B</font>
				<scroll>false</scroll>
				<label>-</label>
			</control>
			<control type="label" id="12">
				<description>row 3 label</description>
				<posx>20</posx>
				<posy>75</posy>
				<width>1240</width>
				<height>50</height>
				<align>left</align>
				<aligny>center</aligny>
				<textcolor>white</textcolor>
			  <shadowcolor>22000000</shadowcolor>
				<font>FontSize_18B</font>
				<scroll>false</scroll>
				<label>-</label>
			</control>
		</control>
	</controls>
</window>