<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include file="defaults.xml" />
	<include file="ViewsVideoLibrary.xml" />
	<include file="ViewsMusicLibrary.xml" />
	<include file="ViewsFileMode.xml" />
	<include file="ViewsPictures.xml" />
	<include file="ViewsAddonBrowser.xml" />
	<include file="ViewsLiveTV.xml" />
	<include file="ViewsPVRGuide.xml" />
	<include file="ViewsWeather.xml" />
	<include file="IncludesCodecFlagging.xml" />
	<include file="IncludesHomeRecentlyAdded.xml" />
	<include file="IncludesHomeMenuItems.xml" />
	<include file="IncludesPVR.xml" />
	<include file="IncludesBackgroundBuilding.xml" />
	<constant name="FanartCrossfadeTime">500</constant>
	<constant name="IconCrossfadeTime">400</constant>
	<variable name="MediaInfoOverlayVar">
		<value condition="ListItem.IsCollection">flagging/video/Set.png</value>
		<value condition="!ListItem.IsStereoscopic">$INFO[ListItem.VideoResolution,flagging/lists/,.png]</value>
		<value>flagging/lists/3D.png</value>
	</variable>
	<variable name="BannerThumb">
		<value condition="!IsEmpty(ListItem.Art(banner))">$INFO[ListItem.Art(banner)]</value>
		<value>$INFO[ListItem.Icon]</value>
	</variable>
	<variable name="PosterThumb">
		<value condition="!IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Art(poster)]</value>
		<value>$INFO[ListItem.Icon]</value>
	</variable>
	<variable name="PlayList">
		<value condition="Window.IsActive(videolibrary) + !StringCompare(Playlist.Length(video),0)">ActivateWindow(videoplaylist)</value>
		<value>ActivateWindow(musicplaylist)</value>
	</variable>
	<variable name="SelectBack">
		<value condition="![Window.IsVisible(FullscreenVideo) | Window.IsVisible(Visualisation)]">DialogBack.png</value>
		<value>DialogBack2.png</value>
	</variable>
	<variable name="typehackflagging">
		<value condition="[substring(ListItem.FilenameAndPath,bluray) | substring(ListItem.FilenameAndPath,bdrip) | substring(ListItem.FilenameAndPath,bd25) | substring(ListItem.FilenameAndPath,bd50)]">bluray</value>
		<value condition="substring(ListItem.FilenameAndPath,hddvd)">hddvd</value>
		<value condition="substring(ListItem.FilenameAndPath,dvd)">dvd</value>
		<value condition="[substring(ListItem.FilenameAndPath,pdtv) | substring(ListItem.FilenameAndPath,hdtv) | substring(ListItem.FilenameAndPath,dsr)]">TV</value>
		<value condition="substring(ListItem.FilenameAndPath,vhs)">vhs</value>
	</variable>
	<variable name="rating">
		<value condition="substring(listitem.mpaa,Rated G)">mpaa_general</value>
		<value condition="substring(listitem.mpaa,Rated PG-13)">mpaa_pg13</value>
		<value condition="substring(listitem.mpaa,Rated PG)">mpaa_pg</value>
		<value condition="substring(Listitem.mpaa,Rated R)">mpaa_restricted</value>
		<value condition="substring(Listitem.mpaa,Rated NC)">mpaa_nc17</value>
	</variable>
	<variable name="videocodec">
		<value condition="[substring(ListItem.VideoCodec,div,left) | stringcompare(ListItem.VideoCodec,dx50)]">divx</value>
		<value>$INFO[ListItem.VideoCodec]</value>
	</variable>
	<variable name="SeekLabel">
		<value condition="Player.Playing + !Player.Seeking + !Player.DisplayAfterSeek">$LOCALIZE[31042]</value>
		<value condition="[Player.Paused + !Player.Caching] + !Player.Seeking + !Player.DisplayAfterSeek">$LOCALIZE[31043]</value>
		<value condition="[Player.Paused + Player.Caching] + !Player.Seeking">$LOCALIZE[15107] $INFO[Player.CacheLevel]%</value>
		<value condition="!IsEmpty(Player.SeekStepSize) + ![player.forwarding | player.rewinding]">$LOCALIZE[31046][COLOR=grey] $INFO[Player.SeekStepSize][/COLOR]</value>
		<value condition="Player.DisplayAfterSeek + ![player.forwarding | player.rewinding]">$LOCALIZE[31046][COLOR=grey] $INFO[Player.SeekOffset][/COLOR]</value>
		<value condition="!Player.DisplayAfterSeek + Player.Seeking">$LOCALIZE[31046]</value>
		<value condition="Player.Forwarding">$LOCALIZE[31044]</value>
		<value condition="Player.Rewinding">$LOCALIZE[31045]</value>
	</variable>
	<variable name="PlayerControlsRepeatImageVar">
		<value condition="Playlist.IsRepeatOne + Control.HasFocus(604)">OSDRepeatOneFO.png</value>
		<value condition="Playlist.IsRepeat + Control.HasFocus(604)">OSDRepeatAllFO.png</value>
		<value condition="Control.HasFocus(604)">OSDRepeatFO.png</value>
		<value condition="Playlist.IsRepeatOne">OSDRepeatOneNF.png</value>
		<value condition="Playlist.IsRepeat">OSDRepeatAllNF.png</value>
		<value>OSDRepeatNF.png</value>
	</variable>
	<variable name="PVRChannelMgrHeader">
		<value condition="!IsEmpty(Window.Property(IsRadio))">$LOCALIZE[19199] - $LOCALIZE[19024]</value>
		<value>$LOCALIZE[19199] - $LOCALIZE[19023]</value>
	</variable>
	<include name="DialogBackgroundCommons">
		<control type="image">
			<description>background image</description>
			<left>0</left>
			<top>0</top>
			<width>$PARAM[DialogBackgroundWidth]</width>
			<height>$PARAM[DialogBackgroundHeight]</height>
			<texture border="40">$VAR[SelectBack]</texture>
		</control>
		<control type="image">
			<description>Dialog Header image</description>
			<left>40</left>
			<top>16</top>
			<width>$PARAM[DialogHeaderWidth]</width>
			<height>40</height>
			<texture>dialogheader.png</texture>
		</control>
		<control type="label" id="$PARAM[DialogHeaderId]">
			<description>header label</description>
			<left>40</left>
			<top>20</top>
			<width>$PARAM[DialogHeaderWidth]</width>
			<height>30</height>
			<font>font13_title</font>
			<label>$PARAM[DialogHeaderLabel]</label>
			<align>center</align>
			<aligny>center</aligny>
			<textcolor>selected</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="button">
			<description>Close Window button</description>
			<left>$PARAM[CloseButtonLeft]</left>
			<top>15</top>
			<width>64</width>
			<height>32</height>
			<label>-</label>
			<font>-</font>
			<onclick>PreviousMenu</onclick>
			<texturefocus>DialogCloseButton-focus.png</texturefocus>
			<texturenofocus>DialogCloseButton.png</texturenofocus>
			<onleft>$PARAM[CloseButtonNav]</onleft>
			<onright>$PARAM[CloseButtonNav]</onright>
			<onup>$PARAM[CloseButtonNav]</onup>
			<ondown>$PARAM[CloseButtonNav]</ondown>
			<visible>system.getbool(input.enablemouse)</visible>
		</control>
	</include>
	<include name="BehindDialogFadeOut">
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<texture>black-back.png</texture>
			<animation effect="fade" time="300">Visible</animation>
			<animation effect="fade" time="150">Hidden</animation>
			<visible>Window.IsActive(MovieInformation) | Window.IsActive(MusicInformation) | Window.IsActive(SongInformation) | Window.IsActive(FileBrowser) | Window.IsActive(TextViewer) | Window.IsActive(AddonSettings) | Window.IsActive(ContentSettings) | Window.IsActive(SelectDialog) | Window.IsActive(FileStackingDialog) | Window.IsActive(MediaSource) | Window.IsActive(PictureInfo) | Window.IsActive(PlayerControls) | Window.IsActive(VirtualKeyboard) | Window.IsActive(NumericInput) | Window.IsActive(ProfileSettings) | Window.IsActive(LockSettings) | Window.IsActive(SmartPlaylistEditor) | Window.IsActive(SmartPlaylistRule) | Window.IsActive(script-RSS_Editor-rssEditor.xml) | Window.IsActive(script-RSS_Editor-setEditor.xml) | Window.IsActive(AddonInformation) | Window.IsActive(Peripherals) | Window.IsActive(PeripheralSettings) | Window.IsActive(script-cu-lrclyrics-main.xml) | Window.IsActive(MediaFilter)</visible>
		</control>
	</include>
	<include name="WindowTitleCommons">
		<left>0</left>
		<top>0</top>
		<width min="0" max="800">auto</width>
		<height>30</height>
		<font>font14</font>
		<textcolor>white</textcolor>
		<shadowcolor>black</shadowcolor>
		<scroll>false</scroll>
		<align>left</align>
		<aligny>center</aligny>
	</include>
	<include name="ButtonCommonValues">
		<height>40</height>
		<width>250</width>
		<textoffsetx>10</textoffsetx>
		<textwidth>200</textwidth>
		<aligny>center</aligny>
		<font>font13</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus>-</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonMediaSubCommonValues">
		<height>40</height>
		<width>221</width>
		<textoffsetx>20</textoffsetx>
		<textwidth>195</textwidth>
		<aligny>center</aligny>
		<font>font12_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonHomeSubCommonValues">
		<height>35</height>
		<width>180</width>
		<textwidth>195</textwidth>
		<align>center</align>
		<aligny>center</aligny>
		<font>font12</font>
		<textcolor>grey2</textcolor>
		<focusedcolor>white</focusedcolor>
		<texturefocus border="5">HomeSubFO.png</texturefocus>
		<texturenofocus border="5">HomeSubNF.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="HomeSubMenuCommonValues">
		<left>0</left>
		<top>0</top>
		<width>1280</width>
		<height>35</height>
		<align>center</align>
		<onup>9000</onup>
		<ondown>9002</ondown>
		<itemgap>0</itemgap>
		<orientation>Horizontal</orientation>
		<animation effect="slide" start="0,-40" end="0,0" delay="150" time="150" tween="quadratic" easing="out">Visible</animation>
		<animation effect="slide" start="0,0" end="0,-40" time="150" tween="quadratic" easing="out">Hidden</animation>
	</include>
	<include name="ButtonInfoDialogsCommonValues">
		<height>40</height>
		<width>170</width>
		<textoffsetx>20</textoffsetx>
		<align>center</align>
		<aligny>center</aligny>
		<font>font12_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="SideBladeLeft">
		<animation effect="slide" start="0,0" end="250,0" time="300" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus | Control.HasFocus(9001) | Control.HasFocus(8999)">Conditional</animation>
		<animation effect="slide" start="0,0" end="-300,0" time="300" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus | Control.HasFocus(9001)">WindowClose</animation>
		<animation effect="slide" start="0,0" end="-50,0" time="225" tween="quadratic" easing="out" condition="![ControlGroup(9000).HasFocus | Control.HasFocus(9001)]">WindowClose</animation>
		<animation effect="slide" start="-50,0" end="0,0" time="225" tween="quadratic" easing="out">WindowOpen</animation>
		<control type="button" id="8999">
			<description>Fake button for mouse control</description>
			<left>0</left>
			<top>0</top>
			<width>250</width>
			<height>720</height>
			<label>-</label>
			<font>-</font>
			<texturenofocus>-</texturenofocus>
			<texturefocus>-</texturefocus>
			<visible>true</visible>
		</control>
		<control type="button" id="9001">
			<left>250</left>
			<top>260</top>
			<width>42</width>
			<height>128</height>
			<font>-</font>
			<texturefocus>HasSub.png</texturefocus>
			<texturenofocus>HasSub.png</texturenofocus>
		</control>
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>260</width>
			<height>720</height>
			<texture border="0,0,10,0">MediaBladeSub.png</texture>
		</control>
		<control type="image">
			<description>LOGO</description>
			<left>15</left>
			<top>0</top>
			<width>220</width>
			<height>80</height>
			<aspectratio>keep</aspectratio>
			<texture>Confluence_Logo.png</texture>
		</control>
	</include>
	<include name="MainWindowMouseButtons">
		<control type="group">
			<left>120r</left>
			<top>55r</top>
			<animation effect="fade" time="200" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="fade" time="200" condition="Window.Next(Home)">WindowClose</animation>
			<visible>system.getbool(input.enablemouse)</visible>
			<control type="button">
				<description>Back push button</description>
				<left>0</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>1036</label>
				<font>-</font>
				<onclick>back</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>50</onup>
				<ondown>50</ondown>
			</control>
			<control type="image">
				<description>Back Icon</description>
				<left>5</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_back.png</texture>
			</control>
			<control type="button">
				<description>Home push button</description>
				<left>55</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>31003</label>
				<font>-</font>
				<onclick>ActivateWindow(home)</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>50</onup>
				<ondown>50</ondown>
			</control>
			<control type="image">
				<description>Home Icon</description>
				<left>60</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_home.png</texture>
			</control>
		</control>
	</include>
	<include name="CommonNowPlaying">
		<control type="group">
			<visible>Player.HasMedia</visible>
			<include>VisibleFadeEffect</include>
			<animation effect="fade" time="200" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="fade" time="200" condition="Window.Next(Home)">WindowClose</animation>
			<control type="button">
				<description>push button</description>
				<left>30</left>
				<top>55r</top>
				<width>45</width>
				<height>45</height>
				<label>31003</label>
				<font>-</font>
				<onclick>ActivateWindow(PlayerControls)</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>50</onup>
				<ondown>50</ondown>
			</control>
			<control type="image">
				<description>Player Icon</description>
				<left>35</left>
				<top>50r</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_player.png</texture>
			</control>
			<control type="label">
				<left>85</left>
				<top>53r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[Player.Title] - ([COLOR=blue]$INFO[Player.Time] / $INFO[Player.Duration,][/COLOR])</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<left>85</left>
				<top>32r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasAudio</visible>
			</control>
			<control type="label">
				<left>85</left>
				<top>30r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.Studio]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(Movies)</visible>
			</control>
			<control type="label">
				<left>85</left>
				<top>30r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.TVShowTitle]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(Episodes)</visible>
			</control>
			<control type="label">
				<left>85</left>
				<top>30r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.Artist]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(MusicVideos)</visible>
			</control>
			<control type="label">
				<left>85</left>
				<top>30r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.ChannelName]$INFO[VideoPlayer.ChannelNumberLabel, - ([COLOR=blue],[/COLOR])]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(LiveTV)</visible>
			</control>
		</control>
	</include>
	<include name="CommonPageCount">
		<control type="group">
			<animation effect="slide" start="0,0" end="-90,0" time="0" condition="system.getbool(input.enablemouse)">Conditional</animation>
			<control type="label">
				<description>Page Count Label</description>
				<right>40</right>
				<top>53r</top>
				<width>500</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<scroll>false</scroll>
				<align>right</align>
				<aligny>center</aligny>
				<label>$INFO[Container.NumItems,([COLOR=blue],[/COLOR]) $LOCALIZE[31025]]$INFO[Container.CurrentPage, - $LOCALIZE[31024] ([COLOR=blue]]$INFO[Container.NumPages,/,[/COLOR])]</label>
				<include>Window_OpenClose_Animation</include>
			</control>
			<control type="label">
				<description>Container Duration Label</description>
				<right>40</right>
				<top>32r</top>
				<width>500</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<scroll>false</scroll>
				<align>right</align>
				<aligny>center</aligny>
				<label>$INFO[Container.TotalTime,$LOCALIZE[31009] ([COLOR=blue],[/COLOR])]</label>
				<include>Window_OpenClose_Animation</include>
			</control>
		</control>
	</include>
	<include name="SmallMusicInfo">
		<control type="image">
			<description>gradient</description>
			<left>0</left>
			<top>0</top>
			<width>500</width>
			<height>165</height>
			<colordiffuse>DDFFFFFF</colordiffuse>
			<texture border="20">OverlayDialogBackground.png</texture>
		</control>
		<control type="image">
			<description>Cover image</description>
			<left>20</left>
			<top>17</top>
			<width>130</width>
			<height>130</height>
			<texture>$INFO[MusicPlayer.Cover]</texture>
		</control>
		<control type="label">
			<description>Artist label</description>
			<left>160</left>
			<top>20</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Artist]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>grey2</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="fadelabel">
			<description>Title label</description>
			<left>160</left>
			<top>43</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[Player.Title]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font13_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="label">
			<description>Album Label</description>
			<left>160</left>
			<top>70</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Album]$INFO[musicplayer.discnumber, - $LOCALIZE[427]:]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="label">
			<description>Time Label</description>
			<left>160</left>
			<top>95</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Time]$INFO[MusicPlayer.Duration, / ]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="label">
			<description>Next Label</description>
			<left>160</left>
			<top>120</top>
			<height>30</height>
			<width>325</width>
			<label>[COLOR=blue]$LOCALIZE[19031] :[/COLOR] $INFO[MusicPlayer.offset(1).Title]</label>
			<align>right</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>grey</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
	</include>
	<include name="SmallVideoInfo">
		<control type="image">
			<description>gradient</description>
			<left>0</left>
			<top>0</top>
			<width>500</width>
			<height>165</height>
			<colordiffuse>DDFFFFFF</colordiffuse>
			<texture border="20">OverlayDialogBackground.png</texture>
		</control>
		<control type="image">
			<description>Cover image</description>
			<left>20</left>
			<top>17</top>
			<width>130</width>
			<height>130</height>
			<aspectratio>keep</aspectratio>
			<texture>$INFO[VideoPlayer.cover]</texture>
		</control>
		<control type="label">
			<description>Studio label</description>
			<left>160</left>
			<top>20</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Studio]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>grey2</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>!videoplayer.content(episodes) + !videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<description>TV Show Title label</description>
			<left>160</left>
			<top>20</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.tvshowtitle]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(episodes)</visible>
		</control>
		<control type="fadelabel">
			<description>Music Video Artist label</description>
			<left>160</left>
			<top>20</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Artist]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(musicvideos)</visible>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="fadelabel">
			<description>Title label</description>
			<left>160</left>
			<top>43</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[Player.Title]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font13_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="label">
			<description>Genre label</description>
			<left>160</left>
			<top>70</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Genre]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>!videoplayer.content(episodes) + !videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<left>160</left>
			<top>70</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Album]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<description>Season and Episode label</description>
			<left>160</left>
			<top>70</top>
			<height>30</height>
			<width>325</width>
			<label>$LOCALIZE[20373] $INFO[VideoPlayer.Season] - $LOCALIZE[20359] $INFO[VideoPlayer.episode]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(episodes)</visible>
		</control>
		<control type="label">
			<description>Time Label</description>
			<left>160</left>
			<top>95</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Time]$INFO[VideoPlayer.Duration, / ]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
	</include>
	<include name="CommonNowPlaying_Controls">
		<control type="label" id="202">
			<width>250</width>
			<height>35</height>
			<font>font12</font>
			<label>31023</label>
			<textcolor>blue</textcolor>
			<align>center</align>
			<aligny>center</aligny>
			<visible>Player.HasMedia</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="button" id="610">
			<description>Fake Button to fix Player Controls Navigation</description>
			<visible>false</visible>
		</control>
		<control type="group" id="9006">
			<width>250</width>
			<height>45</height>
			<visible>VideoPlayer.Content(LiveTV)</visible>
			<include>VisibleFadeEffect</include>
			<control type="button" id="600">
				<left>20</left>
				<top>2</top>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDChannelUPFO.png</texturefocus>
				<texturenofocus>OSDChannelUPNF.png</texturenofocus>
				<onleft>50</onleft>
				<onright>601</onright>
				<onup>610</onup>
				<ondown>611</ondown>
				<onclick>ChannelDown</onclick>
			</control>
			<control type="button" id="601">
				<left>60</left>
				<top>2</top>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDChannelDownFO.png</texturefocus>
				<texturenofocus>OSDChannelDownNF.png</texturenofocus>
				<onleft>600</onleft>
				<onright>603</onright>
				<onup>610</onup>
				<ondown>611</ondown>
				<onclick>ChannelUp</onclick>
			</control>
			<control type="button" id="603">
				<left>100</left>
				<top>2</top>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDStopFO.png</texturefocus>
				<texturenofocus>OSDStopNF.png</texturenofocus>
				<onleft>601</onleft>
				<onright>604</onright>
				<onup>610</onup>
				<ondown>611</ondown>
				<onclick>down</onclick>
				<onclick>PlayerControl(Stop)</onclick>
			</control>
			<control type="togglebutton" id="604">
				<left>140</left>
				<top>2</top>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDPauseFO.png</texturefocus>
				<texturenofocus>OSDPauseNF.png</texturenofocus>
				<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
				<alttexturefocus>OSDPlayFO.png</alttexturefocus>
				<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
				<onleft>603</onleft>
				<onright>605</onright>
				<onup>610</onup>
				<ondown>606</ondown>
				<onback>50</onback>
				<onclick>PlayerControl(Play)</onclick>
				<enable>Player.PauseEnabled</enable>
				<animation effect="fade" start="100" end="30" time="75" condition="!Player.PauseEnabled">Conditional</animation>
			</control>
			<control type="button" id="605">
				<left>180</left>
				<top>2</top>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDRecordOffFO.png</texturefocus>
				<texturenofocus>OSDRecordOffNF.png</texturenofocus>
				<onleft>604</onleft>
				<onright>50</onright>
				<onup>610</onup>
				<ondown>611</ondown>
				<onclick>PlayerControl(record)</onclick>
				<enable>Player.CanRecord</enable>
				<animation effect="fade" start="100" end="30" time="75" condition="!Player.CanRecord">Conditional</animation>
			</control>
		</control>
		<control type="group" id="9005">
			<visible>Player.HasMedia</visible>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
			<include>VisibleFadeEffect</include>
			<width>250</width>
			<height>45</height>
			<defaultcontrol always="true">603</defaultcontrol>
			<control type="button" id="600">
				<left>5</left>
				<top>2</top>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDPrevTrackFO.png</texturefocus>
				<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
				<onleft>50</onleft>
				<onright>606</onright>
				<onup>610</onup>
				<ondown>611</ondown>
				<onback>50</onback>
				<onclick>PlayerControl(Previous)</onclick>
			</control>
			<control type="button" id="606">
				<left>45</left>
				<top>2</top>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDRewindFO.png</texturefocus>
				<texturenofocus>OSDRewindNF.png</texturenofocus>
				<onleft>600</onleft>
				<onright>603</onright>
				<onup>610</onup>
				<ondown>611</ondown>
				<onback>50</onback>
				<onclick>PlayerControl(Rewind)</onclick>
				<visible>Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo</visible>
			</control>
			<control type="group">
				<animation effect="slide" start="0,0" end="40,0" time="0" condition="Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo">Conditional</animation>
				<control type="togglebutton" id="603">
					<left>45</left>
					<top>2</top>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDPauseFO.png</texturefocus>
					<texturenofocus>OSDPauseNF.png</texturenofocus>
					<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
					<alttexturefocus>OSDPlayFO.png</alttexturefocus>
					<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
					<onleft>606</onleft>
					<onright>601</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
					<onclick>PlayerControl(Play)</onclick>
				</control>
				<control type="button" id="601">
					<left>85</left>
					<top>2</top>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDStopFO.png</texturefocus>
					<texturenofocus>OSDStopNF.png</texturenofocus>
					<onleft>603</onleft>
					<onright>607</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
					<onclick>down</onclick>
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="button" id="607">
					<left>125</left>
					<top>2</top>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDForwardFO.png</texturefocus>
					<texturenofocus>OSDForwardNF.png</texturenofocus>
					<onleft>601</onleft>
					<onright>602</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
					<onclick>PlayerControl(Forward)</onclick>
					<visible>Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo</visible>
				</control>
				<control type="button" id="602">
					<left>125</left>
					<top>2</top>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDNextTrackFO.png</texturefocus>
					<texturenofocus>OSDNextTrackNF.png</texturenofocus>
					<onleft>607</onleft>
					<onright>604</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
					<onclick>PlayerControl(Next)</onclick>
					<animation effect="slide" start="0,0" end="40,0" time="0" condition="Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo">Conditional</animation>
				</control>
			</control>
			<control type="group">
				<visible>!Window.IsVisible(MusicPlaylist) + !Window.IsVisible(VideoPlaylist) + !Player.HasVideo</visible>
				<control type="button" id="604">
					<left>165</left>
					<top>2</top>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>-</texturefocus>
					<texturenofocus>-</texturenofocus>
					<onclick>PlayerControl(Repeat)</onclick>
					<onleft>602</onleft>
					<onright>605</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
				</control>
				<control type="image">
					<left>165</left>
					<top>2</top>
					<width>39</width>
					<height>39</height>
					<texture>$VAR[PlayerControlsRepeatImageVar]</texture>
				</control>
				<control type="togglebutton" id="605">
					<left>205</left>
					<top>2</top>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDRandomOffFO.png</texturefocus>
					<texturenofocus>OSDRandomOffNF.png</texturenofocus>
					<usealttexture>Playlist.IsRandom</usealttexture>
					<alttexturefocus>OSDRandomOnFO.png</alttexturefocus>
					<alttexturenofocus>OSDRandomOnNF.png</alttexturenofocus>
					<onclick>PlayerControl(Random)</onclick>
					<onleft>604</onleft>
					<onright>50</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
				</control>
			</control>
		</control>
		<control type="radiobutton" id="611">
			<description>Go to fullscreen Playback</description>
			<include>ButtonCommonValues</include>
			<label>31008</label>
			<onclick>fullscreen</onclick>
			<textureradioonfocus>GoFullscreen.png</textureradioonfocus>
			<textureradioonnofocus>GoFullscreen.png</textureradioonnofocus>
			<textureradioofffocus>GoFullscreen.png</textureradioofffocus>
			<textureradiooffnofocus>GoFullscreen.png</textureradiooffnofocus>
			<visible>Player.HasMedia</visible>
		</control>
		<control type="button" id="612">
			<description>Go to playlist</description>
			<include>ButtonCommonValues</include>
			<label>13350</label>
			<onclick>$VAR[PlayList]</onclick>
			<visible>[Window.IsActive(videolibrary) + !StringCompare(Playlist.Length(video),0)] | [[Window.IsActive(musiclibrary) | Window.IsActive(musicfiles)] + !StringCompare(Playlist.Length(music),0)]</visible>
		</control>
	</include>
	<include name="ScrollOffsetLabel">
		<control type="group">
			<visible>Container.Scrolling + [StringCompare(Container.SortMethod,$LOCALIZE[551]) | StringCompare(Container.SortMethod,$LOCALIZE[561]) | StringCompare(Container.SortMethod,$LOCALIZE[558]) | StringCompare(Container.SortMethod,$LOCALIZE[557]) | StringCompare(Container.SortMethod,$LOCALIZE[556])]</visible>
			<animation effect="slide" start="0,0" end="0,-60" time="75">Visible</animation>
			<animation effect="slide" start="0,-60" end="0,0" delay="300" time="75">Hidden</animation>
			<left>300r</left>
			<top>720</top>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>70</width>
				<height>65</height>
				<texture border="20,20,20,2">InfoMessagePanel.png</texture>
			</control>
			<control type="label">
				<left>5</left>
				<top>0</top>
				<width>65</width>
				<height>60</height>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.SortLetter]</label>
				<textcolor>white</textcolor>
				<font>font30_title</font>
			</control>
		</control>
	</include>
	<include name="Clock">
		<control type="label">
			<description>time label</description>
			<right>20</right>
			<top>5</top>
			<width>200</width>
			<height>30</height>
			<align>right</align>
			<aligny>center</aligny>
			<font>font28_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<label>$INFO[System.Time]</label>
			<animation effect="slide" start="0,0" end="-40,0" time="75" condition="Window.IsVisible(Mutebug)">conditional</animation>
		</control>
	</include>
	<include name="HomeAddonsCommonLayout">
		<include>Window_OpenClose_Animation</include>
		<animation type="Visible">
			<effect type="slide" start="0,30" end="0,0" delay="150" easing="out" tween="quadratic" time="150" />
			<effect type="fade" start="0" end="100" delay="150" time="150" />
		</animation>
		<animation type="Hidden">
			<effect type="zoom" start="100" end="70" center="auto" easing="in" tween="quadratic" time="225" />
			<effect type="fade" start="100" end="0" time="225" />
		</animation>
		<hitrect x="0" y="530" w="1280" h="120" />
		<left>0</left>
		<top>190r</top>
		<width>1280</width>
		<height>200</height>
		<pagecontrol>-</pagecontrol>
		<scrolltime>300</scrolltime>
		<focusposition>3</focusposition>
		<movement>2</movement>
		<orientation>Horizontal</orientation>
		<itemlayout height="200" width="182">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">button-nofocus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="image">
				<left>5</left>
				<top>120</top>
				<width>170</width>
				<height>110</height>
				<aspectratio aligny="top">keep</aspectratio>
				<texture diffuse="diffuse_mirror2.png" flipy="true" background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
			</control>
		</itemlayout>
		<focusedlayout height="200" width="182">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">button-nofocus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
				<visible>!ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">folder-focus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
				<visible>ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="image">
				<left>5</left>
				<top>120</top>
				<width>170</width>
				<height>110</height>
				<aspectratio aligny="top">keep</aspectratio>
				<texture diffuse="diffuse_mirror2.png" flipy="true" background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>white</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>!ControlGroup(9002).HasFocus</visible>
			</control>
		</focusedlayout>
	</include>
	<include name="TVNextAiredListCommonLayout">
		<itemlayout height="150" width="280">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>280</width>
				<height>145</height>
				<texture border="10">button-nofocus.png</texture>
			</control>
			<control type="image">
				<description>Thumb</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(poster))]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),0)</visible>
			</control>
			<control type="image">
				<description>Banner</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(banner))]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),1)</visible>
			</control>
			<control type="image">
				<description>Logo</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Path),,logo.png]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),2)</visible>
			</control>
			<control type="label">
				<description>Episode Number</description>
				<left>10</left>
				<top>60</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(NextNumber),$LOCALIZE[20359] [COLOR=blue]-[/COLOR] ]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Episode Name</description>
				<left>10</left>
				<top>80</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(NextTitle)]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Next air date/time</description>
				<left>10</left>
				<top>100</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(ShortTime)]$INFO[ListItem.Property(NextDate), [COLOR=blue]-[/COLOR] ]</label>
				<textcolor>grey2</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Duration</description>
				<left>10</left>
				<top>120</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(Runtime),, $LOCALIZE[12391]]$INFO[ListItem.Property(Network), [COLOR=blue]-[/COLOR] (,)]</label>
				<textcolor>grey2</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
		</itemlayout>
		<focusedlayout height="150" width="280">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>280</width>
				<height>145</height>
				<texture border="10">button-focus2.png</texture>
			</control>
			<control type="image">
				<description>Thumb</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(poster))]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),0)</visible>
			</control>
			<control type="image">
				<description>Banner</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(banner))]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),1)</visible>
			</control>
			<control type="image">
				<description>Logo</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Path),,logo.png]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),2)</visible>
			</control>
			<control type="label">
				<description>Episode Number</description>
				<left>10</left>
				<top>60</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(NextNumber),$LOCALIZE[20359] [COLOR=blue]-[/COLOR] ]</label>
				<textcolor>selected</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Episode Name</description>
				<left>10</left>
				<top>80</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(NextTitle)]</label>
				<textcolor>selected</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Next air date/time</description>
				<left>10</left>
				<top>100</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(ShortTime)]$INFO[ListItem.Property(NextDate), [COLOR=blue]-[/COLOR] ]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Duration</description>
				<left>10</left>
				<top>120</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(Runtime),, $LOCALIZE[12391]]$INFO[ListItem.Property(Network), [COLOR=blue]-[/COLOR] (,)]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
		</focusedlayout>
	</include>
	<include name="backgroundfade">
		<animation effect="fade" time="450">Visible</animation>
		<animation effect="fade" time="450">Hidden</animation>
	</include>
	<include name="Window_OpenClose_Animation">
		<animation effect="fade" time="200">WindowOpen</animation>
		<animation effect="fade" time="200">WindowClose</animation>
	</include>
	<include name="dialogeffect">
		<animation effect="fade" time="200">WindowOpen</animation>
		<animation effect="fade" time="200">WindowClose</animation>
	</include>
	<include name="VisibleFadeEffect">
		<animation effect="fade" time="225">Visible</animation>
		<animation effect="fade" time="225">Hidden</animation>
	</include>
	<include name="KeyboardButton">
		<width>50</width>
		<height>50</height>
		<texturenofocus border="3">KeyboardKeyNF.png</texturenofocus>
		<texturefocus border="5">KeyboardKey.png</texturefocus>
		<align>center</align>
		<aligny>center</aligny>
		<font>font13</font>
		<focusedcolor>black</focusedcolor>
	</include>
</includes>
