<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="2600">
	<defaultcontrol always="true">9100</defaultcontrol>
	<menucontrol>9000</menucontrol>
	<allowoverlay>yes</allowoverlay>
	<background>0</background>
	<onload>SetProperty(cfa_ignore_set,True,home)</onload>
	<controls>
		<include condition="!Skin.HasSetting(lights.out)">GlobalBackground</include>
		<control type="group">
			<include>Furniture_NowPlaying</include>
			<include>Furniture_EmbyClock</include>
			<include>Furniture_HeaderEmby</include>
		</control>
		<control type="group">
			<include condition="!Skin.HasSetting(low.power)">Animation.Common</include><include condition="Skin.HasSetting(low.power)">Animation.Common.Lowpower</include>
			<control type="grouplist">
				<posy>PosterPad</posy>
				<left>SidePad</left>
				<right>SidePad</right>
				<height>PosterH</height>
				<orientation>horizontal</orientation>
				<itemgap>10</itemgap>
				<control type="group">
					<width>285</width>
					<control type="image">
						<width>100%</width>
						<height>100%</height>
						<texture colordiffuse="$VAR[EmbyMenuColourHighlight]">common/box.png</texture>
					</control>
					<control type="multiimage" description="Fanart">
						<visible>!Skin.HasSetting(weather.hidefanart)</visible>
						<width>100%</width>
						<height>100%</height>
						<fadetime>600</fadetime>
						<timeperimage>12000</timeperimage>
						<randomize>true</randomize>
						<aspectratio>scale</aspectratio>
						<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
						<imagepath background="true">$VAR[WeatherFanart]$INFO[Window(Weather).Property(Current.FanartCode)]$VAR[DefWeatherFanart]</imagepath>
					</control>
					<control type="image">
						<centertop>35%</centertop>
						<centerleft>50%</centerleft>
						<width>285</width>
						<height>285</height>
						<aspectratio align="center" aligny="center">keep</aspectratio>
						<texture>$VAR[WeatherIconVar]$INFO[Window.Property(Current.FanartCode)]$VAR[DefWeatherIconExt]</texture>
					</control>
					<control type="label">
						<top>20</top>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Small</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">19030</label>
					</control>
					<control type="label">
						<centertop>65%</centertop>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>EpisodeNumber</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="N/A">$INFO[Window(Weather).Property(Current.Temperature),[B],[/B]°]</label>
					</control>
					<control type="textbox">
						<top>78%</top>
						<height>130</height>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Tiny</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Current.Condition),,[CR]]$INFO[Window(Weather).Property(Current.FeelsLike),$LOCALIZE[402] ,°[CR]]$INFO[Window(Weather).Property(Current.Humidity),, $LOCALIZE[406][CR]]$INFO[Window(Weather).Property(Current.Wind)]</label>
					</control>
				</control>
				<control type="group">
					<width>285</width>
					<control type="image">
						<width>100%</width>
						<height>100%</height>
						<texture colordiffuse="$VAR[EmbyMenuColourHighlight]">common/box.png</texture>
					</control>
					<control type="multiimage" description="Fanart">
						<visible>!Skin.HasSetting(weather.hidefanart)</visible>
						<width>100%</width>
						<height>100%</height>
						<fadetime>600</fadetime>
						<timeperimage>12000</timeperimage>
						<randomize>true</randomize>
						<aspectratio>scale</aspectratio>
						<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
						<imagepath background="true">$VAR[WeatherFanart]$INFO[Window(Weather).Property(Day0.FanartCode)]$VAR[DefWeatherFanart]</imagepath>
					</control>
					<control type="image">
						<centertop>35%</centertop>
						<centerleft>50%</centerleft>
						<width>285</width>
						<height>285</height>
						<aspectratio align="center" aligny="center">keep</aspectratio>
						<texture>$VAR[WeatherIconVar]$INFO[Window(weather).Property(Day0.FanartCode)]$VAR[DefWeatherIconExt]</texture>
					</control>
					<control type="label">
						<top>20</top>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Small</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$LOCALIZE[33006]</label>
					</control>
					<control type="label">
						<centertop>65%</centertop>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>LargeBold</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="N/A">$INFO[Window(Weather).Property(Day0.HighTemp),[B],[/B]°]$INFO[Window(Weather).Property(Day0.LowTemp),  ,°]</label>
					</control>
					<control type="textbox">
						<top>78%</top>
						<height>130</height>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Tiny</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Day0.Outlook)]</label>
					</control>
				</control>
				<control type="group">
					<width>285</width>
					<control type="image">
						<width>100%</width>
						<height>100%</height>
						<texture colordiffuse="$VAR[EmbyMenuColourHighlight]">common/box.png</texture>
					</control>
					<control type="multiimage" description="Fanart">
						<visible>!Skin.HasSetting(weather.hidefanart)</visible>
						<width>100%</width>
						<height>100%</height>
						<fadetime>600</fadetime>
						<timeperimage>12000</timeperimage>
						<randomize>true</randomize>
						<aspectratio>scale</aspectratio>
						<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
						<imagepath background="true">$VAR[WeatherFanart]$INFO[Window(Weather).Property(Day1.FanartCode)]$VAR[DefWeatherFanart]</imagepath>
					</control>
					<control type="image">
						<centertop>35%</centertop>
						<centerleft>50%</centerleft>
						<width>285</width>
						<height>285</height>
						<aspectratio align="center" aligny="center">keep</aspectratio>
						<texture>$VAR[WeatherIconVar]$INFO[Window(weather).Property(Day1.FanartCode)]$VAR[DefWeatherIconExt]</texture>
					</control>
					<control type="label">
						<top>20</top>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Small</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$LOCALIZE[33007]</label>
					</control>
					<control type="label">
						<centertop>65%</centertop>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>LargeBold</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="N/A">$INFO[Window(Weather).Property(Day1.HighTemp),[B],[/B]°]$INFO[Window(Weather).Property(Day1.LowTemp),  ,°]</label>
					</control>
					<control type="textbox">
						<top>78%</top>
						<height>130</height>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Tiny</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Day1.Outlook)]</label>
					</control>
				</control>
				<control type="group">
					<width>285</width>
					<control type="image">
						<width>100%</width>
						<height>100%</height>
						<texture colordiffuse="$VAR[EmbyMenuColourHighlight]">common/box.png</texture>
					</control>
					<control type="multiimage" description="Fanart">
						<visible>!Skin.HasSetting(weather.hidefanart)</visible>
						<width>100%</width>
						<height>100%</height>
						<fadetime>600</fadetime>
						<timeperimage>12000</timeperimage>
						<randomize>true</randomize>
						<aspectratio>scale</aspectratio>
						<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
						<imagepath background="true">$VAR[WeatherFanart]$INFO[Window(Weather).Property(Day2.FanartCode)]$VAR[DefWeatherFanart]</imagepath>
					</control>
					<control type="image">
						<centertop>35%</centertop>
						<centerleft>50%</centerleft>
						<width>285</width>
						<height>285</height>
						<aspectratio align="center" aligny="center">keep</aspectratio>
						<texture>$VAR[WeatherIconVar]$INFO[Window(weather).Property(Day2.FanartCode)]$VAR[DefWeatherIconExt]</texture>
					</control>
					<control type="label">
						<top>20</top>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Small</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Day2.Title)]</label>
					</control>
					<control type="label">
						<centertop>65%</centertop>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>LargeBold</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="N/A">$INFO[Window(Weather).Property(Day2.HighTemp),[B],[/B]°]$INFO[Window(Weather).Property(Day2.LowTemp),  ,°]</label>
					</control>
					<control type="textbox">
						<top>78%</top>
						<height>130</height>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Tiny</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Day2.Outlook)]</label>
					</control>
				</control>
				<control type="group">
					<width>285</width>
					<control type="image">
						<width>100%</width>
						<height>100%</height>
						<texture colordiffuse="$VAR[EmbyMenuColourHighlight]">common/box.png</texture>
					</control>
					<control type="multiimage" description="Fanart">
						<visible>!Skin.HasSetting(weather.hidefanart)</visible>
						<width>100%</width>
						<height>100%</height>
						<fadetime>600</fadetime>
						<timeperimage>12000</timeperimage>
						<randomize>true</randomize>
						<aspectratio>scale</aspectratio>
						<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
						<imagepath background="true">$VAR[WeatherFanart]$INFO[Window(Weather).Property(Day3.FanartCode)]$VAR[DefWeatherFanart]</imagepath>
					</control>
					<control type="image">
						<centertop>35%</centertop>
						<centerleft>50%</centerleft>
						<width>285</width>
						<height>285</height>
						<aspectratio align="center" aligny="center">keep</aspectratio>
						<texture>$VAR[WeatherIconVar]$INFO[Window(weather).Property(Day3.FanartCode)]$VAR[DefWeatherIconExt]</texture>
					</control>
					<control type="label">
						<top>20</top>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Small</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Day3.Title)]</label>
					</control>
					<control type="label">
						<centertop>65%</centertop>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>LargeBold</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="N/A">$INFO[Window(Weather).Property(Day3.HighTemp),[B],[/B]°]$INFO[Window(Weather).Property(Day3.LowTemp),  ,°]</label>
					</control>
					<control type="textbox">
						<top>78%</top>
						<height>130</height>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Tiny</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Day3.Outlook)]</label>
					</control>
				</control>
				<control type="group">
					<width>285</width>
					<control type="image">
						<width>100%</width>
						<height>100%</height>
						<texture colordiffuse="$VAR[EmbyMenuColourHighlight]">common/box.png</texture>
					</control>
					<control type="multiimage" description="Fanart">
						<visible>!Skin.HasSetting(weather.hidefanart)</visible>
						<width>100%</width>
						<height>100%</height>
						<fadetime>600</fadetime>
						<timeperimage>12000</timeperimage>
						<randomize>true</randomize>
						<aspectratio>scale</aspectratio>
						<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
						<imagepath background="true">$VAR[WeatherFanart]$INFO[Window(Weather).Property(Day4.FanartCode)]$VAR[DefWeatherFanart]</imagepath>
					</control>
					<control type="image">
						<centertop>35%</centertop>
						<centerleft>50%</centerleft>
						<width>285</width>
						<height>285</height>
						<aspectratio align="center" aligny="center">keep</aspectratio>
						<texture>$VAR[WeatherIconVar]$INFO[Window(weather).Property(Day4.FanartCode)]$VAR[DefWeatherIconExt]</texture>
					</control>
					<control type="label">
						<top>20</top>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Small</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Day4.Title)]</label>
					</control>
					<control type="label">
						<centertop>65%</centertop>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>LargeBold</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="N/A">$INFO[Window(Weather).Property(Day4.HighTemp),[B],[/B]°]$INFO[Window(Weather).Property(Day4.LowTemp),  ,°]</label>
					</control>
					<control type="textbox">
						<top>78%</top>
						<height>130</height>
						<left>20</left>
						<right>20</right>
						<align>center</align>
						<font>Tiny</font>
						<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
						<label fallback="161">$INFO[Window(Weather).Property(Day4.Outlook)]</label>
					</control>
				</control>
			</control>
		</control>
		<control type="button" id="9100" description="Fake Button">
			<visible allowhiddenfocus="true">false</visible>
			<onleft>9000</onleft>
			<onright>9000</onright>
			<onup>9000</onup>
			<ondown>9000</ondown>
			<onclick>SetFocus(9000)</onclick>
		</control>
		<control type="spincontrolex" id="3">
			<textoffsetx>30</textoffsetx>
			<description>Location Select</description>
			<visible allowhiddenfocus="true">false</visible>
		</control>
		<control type="group">
			<include>Animation.FadeIn</include>
			<include>Animation.FadeOut</include>
			<visible>ControlGroup(9000).HasFocus()</visible>
			<include>GlobalOverlay</include>
		</control>
		<include condition="Skin.HasSetting(fags.out)">CerberosSmoke</include>
		<control type="group">
			<include>Def9000SideBladeLeft</include>
			<control type="grouplist" id="9000">
				<onback condition="Window.IsVisible(MyPVRGuide.xml) + Control.IsVisible(10)">ActivateWindow(home)</onback>
				<top>115</top>
				<width>455</width>
				<height>1080</height>
				<onleft>9100</onleft>
				<onright>9100</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<onback>50</onback>
				<itemgap>0</itemgap>
				<animation effect="slide" start="-455,0" end="0,0" time="400" tween="quadratic" easing="out">Visible</animation>
				<control type="label" id="200">
					<height>42</height>
					<textoffsetx>5</textoffsetx>
					<font>settingsheader</font>
					<label>31881</label>
					<textcolor>$VAR[EmbyMenuColourHighlight]</textcolor>
					<aligny>center</aligny>
				</control>
				<!-- Weather Options -->
				<control type="button" id="9008" description="Weather Location">
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>35500</label>
					<label2>$INFO[Weather.Location]</label2>
					<onclick>Weather.LocationNext</onclick>
				</control>
				<control type="button" id="9001">
					<description>Select weather icons</description>
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>31804</label>
					<onclick>RunScript(script.image.resource.select,property=weathericons&amp;type=resource.images.weathericons)</onclick>
					<visible>System.HasAddon(script.image.resource.select)</visible>
				</control>
				<control type="button" id="9004" description="Set Weather Fanart">
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>31143</label>
					<onclick>RunScript(script.image.resource.select,property=weatherfanart&amp;type=resource.images.weatherfanart)</onclick>
					<enable>System.HasAddon(script.image.resource.select)</enable>
				</control>
				<control type="button" id="9009" description="Use Default Weather Fanart">
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>31812</label>
					<onclick>Skin.SetPath(weatherfanart,http://aeon-nox-background-packs.googlecode.com/svn/trunk/weather-fanart/default/)</onclick>
				</control>
				<control type="radiobutton" id="9002" description="Show weather overlay">
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>31234</label>
					<enable>!IsEmpty(Skin.String(weatherfanart.path))</enable>
					<selected>!Skin.HasSetting(weather.hidefanart)</selected>
					<onclick>Skin.ToggleSetting(weather.hidefanart)</onclick>
				</control>
				<control type="button" id="9003" description="Weather Settings">
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>$LOCALIZE[5]</label>
					<onclick>activatewindow(WeatherSettings)</onclick>
				</control>
				<control type="button" id="2099">
					<description>Update</description>
					<align>left</align>
					<label>31114</label>
					<include>DefContextButtonBlade</include>
					<onclick>FullScreen</onclick>
					<visible>Player.HasMedia</visible>
				</control>
			</control>
		</control>
	</controls>
</window>