<window type="dialog">
	<defaultcontrol always="true">9500</defaultcontrol>
	<backgroundcolor>0</backgroundcolor>
	<controls>
		<control type="image">
			<include>Dimensions_Fullscreen</include>
			<aspectratio align="center">scale</aspectratio>
			<texture colordiffuse="$INFO[Window(home).Property(NextAiredInfo.ImageColor)]" background="true">$INFO[Window(home).Property(NextAiredInfo.ImageFilter)]</texture>
			<visible>!Skin.HasSetting(low.power) + Skin.HasSetting(home.blur)</visible>
			<fadetime>600</fadetime>
		</control>
		<control type="image">
			<include>Dimensions_Fullscreen</include>
			<animation effect="fade" start="100" end="75" time="0" condition="true">Conditional</animation>
			<aspectratio align="center">scale</aspectratio>
			<texture colordiffuse="$VAR[ColourTextFlags]">common/screen-overlay-shard.png</texture>
			<animation effect="fade" start="100" end="75" time="0" condition="true">Conditional</animation>
			<visible>!Skin.HasSetting(low.power) + Skin.HasSetting(home.blur)</visible>
		</control>
		<control id="8308" type="image">
			<include>Dimensions_Fullscreen</include>
			<colordiffuse>DialogFanartFade</colordiffuse>
			<texture background="true">$VAR[NextAiredFanart]</texture>
			<visible>!Skin.HasSetting(home.blur) | Skin.HasSetting(low.power)</visible>
		</control>
		<control type="image">
			<include>Dimensions_Fullscreen</include>
			<colordiffuse>DialogFanartFade</colordiffuse>
			<texture background="true">special://skin/extras/backgrounds/kodi.jpg</texture>
			<visible>Substring(Control.GetLabel(8308),empty.png)</visible>
		</control>
		<include>Furniture_NowPlaying</include>
		<include>Furniture_HeaderEmby</include>
		<include>Furniture_EmbyClock</include>
		<control type="group">
			<include condition="!Skin.HasSetting(low.power)">Animation.Common</include>
			<include condition="Skin.HasSetting(low.power)">Animation.Common.Lowpower</include>
			<include condition="!Skin.HasSetting(low.power)">Animation.Common.Overlay</include>
			<include condition="Skin.HasSetting(low.power)">Animation.Common.Overlay.Lowpower</include>
			<control type="image">
				<left>10</left>
				<top>99</top>
				<width>1900</width>
				<height>51</height>
				<texture colordiffuse="$VAR[CommunityRatingColour]">common/white.png</texture>
			</control>
			<control type="grouplist">
				<left>NewSidePad</left>
				<right>NewSidePad</right>
				<top>150</top>
				<height>760</height>
				<itemgap>0</itemgap>
				<orientation>horizontal</orientation>
				<include name="NextAiredListGroupParam">
					<param name="id" value="200" />
					<param name="onleft" value="206" />
					<param name="onright" value="201" />
				</include>
				<include name="NextAiredListGroupParam">
					<param name="id" value="201" />
					<param name="onleft" value="200" />
					<param name="onright" value="202" />
				</include>
				<include name="NextAiredListGroupParam">
					<param name="id" value="202" />
					<param name="onleft" value="201" />
					<param name="onright" value="203" />
				</include>
				<include name="NextAiredListGroupParam">
					<param name="id" value="203" />
					<param name="onleft" value="202" />
					<param name="onright" value="204" />
				</include>
				<include name="NextAiredListGroupParam">
					<param name="id" value="204" />
					<param name="onleft" value="203" />
					<param name="onright" value="205" />
				</include>
				<include name="NextAiredListGroupParam">
					<param name="id" value="205" />
					<param name="onleft" value="204" />
					<param name="onright" value="206" />
				</include>
				<include name="NextAiredListGroupParam">
					<param name="id" value="206" />
					<param name="onleft" value="205" />
					<param name="onright" value="200" />
				</include>
			</control>
			<control type="grouplist">
				<description>Weekday labels</description>
						<left>10</left>
						<top>98</top>
						<width>1900</width>
						<height>51</height>
				<itemgap>0</itemgap>
				<orientation>Horizontal</orientation>
				<control type="button">
					<label>[B]$INFO[Window(home).Property(NextAired.200.Wday)]$INFO[Container(200).NumItems, (,)][/B]</label>
					<label2>[COLOR=$VAR[EmbyMenuTextColourHighlight]]$INFO[Window(Home).Property(NextAired.200.Date)][/COLOR]</label2>
					<include>TVGuideWeekdayButton</include>
					<animation effect="fade" start="100" end="65" time="0" condition="!StringCompare(System.Date(ddd),$LOCALIZE[41])">Conditional</animation>
					<enable>IntegerGreaterThan(Container(200).NumItems,0)</enable>
				</control>
				<control type="button">
					<label>[B]$INFO[Window(home).Property(NextAired.201.Wday)]$INFO[Container(201).NumItems, (,)][/B]</label>
					<label2>[COLOR=$VAR[EmbyMenuTextColourHighlight]]$INFO[Window(Home).Property(NextAired.201.Date)][/COLOR]</label2>
					<include>TVGuideWeekdayButton</include>
					<animation effect="fade" start="100" end="65" time="0" condition="!StringCompare(System.Date(ddd),$LOCALIZE[42])">Conditional</animation>
					<enable>IntegerGreaterThan(Container(201).NumItems,0)</enable>
				</control>
				<control type="button">
					<label>[B]$INFO[Window(home).Property(NextAired.202.Wday)]$INFO[Container(202).NumItems, (,)][/B]</label>
					<label2>[COLOR=$VAR[EmbyMenuTextColourHighlight]]$INFO[Window(Home).Property(NextAired.202.Date)][/COLOR]</label2>
					<include>TVGuideWeekdayButton</include>
					<animation effect="fade" start="100" end="65" time="0" condition="!StringCompare(System.Date(ddd),$LOCALIZE[43])">Conditional</animation>
					<enable>IntegerGreaterThan(Container(202).NumItems,0)</enable>
				</control>
				<control type="button">
					<label>[B]$INFO[Window(home).Property(NextAired.203.Wday)]$INFO[Container(203).NumItems, (,)][/B]</label>
					<label2>[COLOR=$VAR[EmbyMenuTextColourHighlight]]$INFO[Window(Home).Property(NextAired.203.Date)][/COLOR]</label2>
					<include>TVGuideWeekdayButton</include>
					<animation effect="fade" start="100" end="65" time="0" condition="!StringCompare(System.Date(ddd),$LOCALIZE[44])">Conditional</animation>
					<enable>IntegerGreaterThan(Container(203).NumItems,0)</enable>
				</control>
				<control type="button">
					<label>[B]$INFO[Window(home).Property(NextAired.204.Wday)]$INFO[Container(204).NumItems, (,)][/B]</label>
					<label2>[COLOR=$VAR[EmbyMenuTextColourHighlight]]$INFO[Window(Home).Property(NextAired.204.Date)][/COLOR]</label2>
					<include>TVGuideWeekdayButton</include>
					<animation effect="fade" start="100" end="65" time="0" condition="!StringCompare(System.Date(ddd),$LOCALIZE[45])">Conditional</animation>
					<enable>IntegerGreaterThan(Container(204).NumItems,0)</enable>
				</control>
				<control type="button">
					<label>[B]$INFO[Window(home).Property(NextAired.205.Wday)]$INFO[Container(205).NumItems, (,)][/B]</label>
					<label2>[COLOR=$VAR[EmbyMenuTextColourHighlight]]$INFO[Window(Home).Property(NextAired.205.Date)][/COLOR]</label2>
					<include>TVGuideWeekdayButton</include>
					<animation effect="fade" start="100" end="65" time="0" condition="!StringCompare(System.Date(ddd),$LOCALIZE[46])">Conditional</animation>
					<enable>IntegerGreaterThan(Container(205).NumItems,0)</enable>
				</control>
				<control type="button">
					<label>[B]$INFO[Window(home).Property(NextAired.206.Wday)]$INFO[Container(206).NumItems, (,)][/B]</label>
					<label2>[COLOR=$VAR[EmbyMenuTextColourHighlight]]$INFO[Window(Home).Property(NextAired.206.Date)][/COLOR]</label2>
					<include>TVGuideWeekdayButton</include>
					<animation effect="fade" start="100" end="65" time="0" condition="!StringCompare(System.Date(ddd),$LOCALIZE[47])">Conditional</animation>
					<enable>IntegerGreaterThan(Container(206).NumItems,0)</enable>
				</control>
			</control>
			<control type="group">
				<left>40</left>
				<top>210</top>
				<width>1880</width>
				<height>45</height>
				<control type="label" id="91211">
					<label>$VAR[NextAiredLabel]</label>
					<width>1</width>
					<height>1</height>
					<left>-1000</left>
				</control>
				<control type="image" id="89122">
					<top>781</top>
					<left>0</left>
					<width>228</width>
					<height>64</height>
					<texture fallback="E.png">$VAR[NextAiredLogo]</texture>
					<aspectratio align="center" aligny="center">keep</aspectratio>
					<visible>!IsEmpty(Control.GetLabel(91211))</visible>
				</control>
				<control type="image">
					<top>781</top>
					<right>40</right>
					<width>228</width>
					<height>64</height>
					<texture>$VAR[NextAiredStudio]</texture>
					<aspectratio aligny="center" align="right">keep</aspectratio>
					<visible>!IsEmpty(Control.GetLabel(91211))</visible>
				</control>
				<control type="button">
					<left>273</left>
					<width>1880</width>
					<top>773</top>
					<align>left</align>
					<aligny>top</aligny>
					<font>HomeWidgetLabelFont</font>
					<textoffsetx>0</textoffsetx>
					<label>$VAR[NextAiredLabel]</label>
					<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
					<texturenofocus>-</texturenofocus>
					<texturefocus>-</texturefocus>
				</control>
			</control>
		</control>
	</controls>
</window>
