<?xml version="1.0"?>
<includes>
	<!-- common -->
	<include name="ChannelSelectedBorder">
		<control type="image">
			<posx>12</posx>
			<posy>12</posy>
			<width>168</width>
			<height>168</height>
			<include>Border</include>
		</control>
	</include>
	<include name="ChannelThumb">
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>192</width>
			<height>192</height>
			<include>Shadow</include>
		</control>
		<control type="image">
			<description>Poster image</description>
			<posx>13</posx>
			<posy>13</posy>
			<width>166</width>
			<height>166</height>
			<texture background="true">default-square-small.png</texture>
		</control>
		<control type="image">
			<description>Poster image</description>
			<posx>13</posx>
			<posy>13</posy>
			<width>166</width>
			<height>166</height>
			<texture background="true" diffuse="mask-square.png">$INFO[ListItem.Art(thumb)]</texture>
			<aspectratio scalediffuse="false" align="center" aligny="top">scale</aspectratio>
		</control>
	</include>
	<include name="ChannelLabel">
		<posy>185</posy>
		<posx>20</posx>
		<width>150</width>
		<height>20</height>
		<align>left</align>
		<aligny>center</aligny>
		<label>$INFO[ListItem.Label]</label>
		<font>Regular-16</font>
		<shadowcolor>ff222222</shadowcolor>
	</include>
	<include name="ChannelServer">
		<control type="label">
			<posy>202</posy>
			<posx>20</posx>
			<width>150</width>
			<height>20</height>
			<align>left</align>
			<aligny>center</aligny>
			<label>$INFO[ListItem.Property(serverName)]</label>
			<font>Regular-13</font>
			<textcolor>FF999999</textcolor>
			<shadowcolor>FF222222</shadowcolor>
		</control>
	</include>
	<include name="ChannelTypeIcon">
		<control type="image">
			<posx>69r</posx>
			<posy>137</posy>
			<width>36</width>
			<height>36</height>
			<texture>round-small.png</texture>
			<colordiffuse>FF000000</colordiffuse>
			<aspectratio scalediffuse="false" align="center" aligny="top">keep</aspectratio>
			<animation effect="fade" start="0" end="30" time="0" condition="true">Conditional</animation>
			<visible>ListItem.Type(video) | ListItem.Type(music) | ListItem.Type(photos)</visible>
		</control>
		<control type="image">
			<posx>60r</posx>
			<posy>146</posy>
			<width>18</width>
			<height>18</height>
			<texture>icon-video.png</texture>
			<aspectratio scalediffuse="false" align="center" aligny="top">keep</aspectratio>
			<animation effect="fade" start="0" end="100" time="0" condition="true">Conditional</animation>
			<visible>ListItem.Type(video)</visible>
		</control>
		<control type="image">
			<posx>60r</posx>
			<posy>146</posy>
			<width>18</width>
			<height>18</height>
			<texture>icon-music.png</texture>
			<aspectratio scalediffuse="false" align="center" aligny="top">keep</aspectratio>
			<animation effect="fade" start="0" end="100" time="0" condition="true">Conditional</animation>
			<visible>ListItem.Type(music)</visible>
		</control>
		<control type="image">
			<posx>60r</posx>
			<posy>146</posy>
			<width>18</width>
			<height>18</height>
			<texture>icon-photo.png</texture>
			<aspectratio scalediffuse="false" align="center" aligny="top">keep</aspectratio>
			<animation effect="fade" start="0" end="100" time="0" condition="true">Conditional</animation>
			<visible>ListItem.Type(photos)</visible>
		</control>
	</include>
	<include name="ChannelThumbCard">
		<control type="image">
			<posx>13</posx>
			<posy>170</posy>
			<width>166</width>
			<height>56</height>
			<include>Card</include>
			<animation effect="fade" start="0" end="20" time="400" condition="true">Conditional</animation>
		</control>
	</include>
	<include name="ChannelContentThumb">
		<control type="group">
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>148</width>
				<height>148</height>
				<include>Shadow</include>
			</control>
			<control type="image">
				<description>Poster image</description>
				<posx>13</posx>
				<posy>13</posy>
				<width>122</width>
				<height>122</height>
				<texture background="true">default-square-small.png</texture>
			</control>
			<control type="image">
				<description>Poster image</description>
				<posx>13</posx>
				<posy>13</posy>
				<width>122</width>
				<height>122</height>
				<texture background="true" diffuse="mask-square.png">$INFO[ListItem.Art(thumb)]</texture>
				<aspectratio scalediffuse="false" align="center" aligny="top">scale</aspectratio>
			</control>
		</control>
	</include>
	<!-- left bg's -->
	<include name="ChannelPlotBG">
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>356</width>
			<height>720</height>
			<include>Black</include>
			<animation effect="fade" start="0" end="20" time="0" condition="true">Conditional</animation>
			<visible>true</visible>
		</control>
		<control type="group">
			<control type="image">
				<posy>385</posy>
				<posx>0</posx>
				<width>356</width>
				<height>263</height>
				<include>Black</include>
				<animation effect="fade" start="0" end="50" time="0" condition="true">Conditional</animation>
			</control>
			<control type="image">
				<posx>355</posx>
				<posy>500</posy>
				<include>ArrowBlack</include>
				<animation effect="fade" start="0" end="60" time="0" condition="true">Conditional</animation>
			</control>
		</control>
	</include>
	<include name="ChannelPlot">
		<control type="group">
			<!-- dummy plot -->
			<control type="textbox">
				<posx>100</posx>
				<posy>410</posy>
				<width>230</width>
				<height>205</height>
				<include>Plot</include>
				<visible>IsEmpty(Container.ShowPlot)</visible>
			</control>
			<!-- plot -->
			<control type="textbox">
				<posx>100</posx>
				<posy>410</posy>
				<width>230</width>
				<height>205</height>
				<include>Plot</include>
				<label>$INFO[Container.ShowPlot]</label>
			</control>
		</control>
	</include>
	<include name="ChannelIcon">
		<control type="group">
			<posx>85</posx>
			<posy>112</posy>
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>256</width>
				<height>256</height>
				<aspectratio scalediffuse="true" align="center">stretch</aspectratio>
				<texture background="true" border="40">shadow.png</texture>
			</control>
			<control type="image">
				<description>Parent thumb</description>
				<posx>13</posx>
				<posy>13</posy>
				<width>230</width>
				<height>230</height>
				<texture background="true" diffuse="photos-icon-mask.png">$INFO[Container.FolderThumb]</texture>
				<aspectratio scalediffuse="false" align="center" aligny="top">scale</aspectratio>
			</control>
		</control>
	</include>
	<include name="ChannelDirectoryPlot">
		<control type="group">
			<!-- plot -->
			<control type="textbox">
				<posx>100</posx>
				<posy>410</posy>
				<width>230</width>
				<height>205</height>
				<label>$INFO[ListItem.Plot]</label>
			</control>
		</control>
	</include>
	<include name="ChannelDirectoryIcon">
		<control type="group">
			<posx>85</posx>
			<posy>112</posy>
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>256</width>
				<height>256</height>
				<include>Shadow</include>
			</control>
			<control type="image">
				<description>Channel Icon</description>
				<posx>13</posx>
				<posy>13</posy>
				<width>230</width>
				<height>230</height>
				<fadetime>200</fadetime>
				<texture background="true" diffuse="mask-square.png">$INFO[ListItem.Art(thumb)]</texture>
				<aspectratio scalediffuse="false" align="center" aligny="top">scale</aspectratio>
			</control>
		</control>
	</include>
	<!-- views -->
	<!-- channel directory -->
	<include name="ChannelsDirectory">
		<control type="group" id="777">
			<visible>Window.IsActive(1) + !IsEmpty(Container.SecondTitle)</visible>
			<include>FadeDialog</include>
			<control type="group">
				<posx>-74</posx>
				<include>ChannelPlotBG</include>
				<include>ChannelDirectoryPlot</include>
				<include>ChannelDirectoryIcon</include>
			</control>
			<!-- main list -->
			<control type="panel" id="74">
				<viewtype label="ChannelsDirectory">panel</viewtype>
				<visible>Window.IsActive(1) + !IsEmpty(Container.SecondTitle)</visible>
				<posy>56</posy>
				<posx>293</posx>
				<width>1100</width>
				<height>645</height>
				<onup>74</onup>
				<ondown>74</ondown>
				<onright>74</onright>
				<onleft>9100</onleft>
				<orientation>vertical</orientation>
				<itemlayout width="196" height="216">
					<include>ChannelThumb</include>
					<control type="label">
						<include>ChannelLabel</include>
						<textcolor>white</textcolor>
					</control>
				</itemlayout>
				<focusedlayout width="196" height="216">
					<include>ChannelThumb</include>
					<control type="label">
						<include>ChannelLabel</include>
						<textcolor>orangeLight</textcolor>
					</control>
					<include>ChannelSelectedBorder</include>
				</focusedlayout>
			</control>
		</control>
	</include>
	<!-- top level of any channels section -->
	<include name="Channels">
		<control type="group" id="777">
			<visible>Container.PlexContent(Channels)</visible>
			<include>FadeDialog</include>
			<include>rightSideSlide</include>
			<!-- main list -->
			<control type="panel" id="70">
				<viewtype label="Channels">panel</viewtype>
				<visible>Container.PlexContent(Channels)</visible>
				<posy>18</posy>
				<posx>28</posx>
				<width>1300</width>
				<height>680</height>
				<onup>70</onup>
				<ondown>70</ondown>
				<onright>70</onright>
				<onleft>70</onleft>
				<orientation>vertical</orientation>
				<itemlayout width="206" height="228">
					<include>ChannelThumbCard</include>
					<include>ChannelThumb</include>
					<control type="label">
						<include>ChannelLabel</include>
						<textcolor>white</textcolor>
					</control>
					<include>ChannelServer</include>
					<include>ChannelTypeIcon</include>
				</itemlayout>
				<focusedlayout width="206" height="228">
					<include>ChannelThumbCard</include>
					<include>ChannelThumb</include>
					<control type="label">
						<include>ChannelLabel</include>
						<textcolor>orangeLight</textcolor>
					</control>
					<include>ChannelServer</include>
					<include>ChannelTypeIcon</include>
					<include>ChannelSelectedBorder</include>
				</focusedlayout>
			</control>
		</control>
	</include>
	<!-- inside channels -->
	<!-- Generic Channel view, a temporary throw-in-all -->
	<include name="Channel">
		<control type="group">
			<visible>Container.PlexContent(Channel) + !Window.IsActive(501)</visible>
			<include>FadeDialog</include>
			<!-- main list -->
			<control type="group" id="777">
				<control type="panel" id="99">
					<viewtype label="ChannelGeneric">panel</viewtype>
					<visible>Container.PlexContent(Channel) + !Window.IsActive(501)</visible>
					<onup>99</onup>
					<ondown>99</ondown>
					<onright>Container.NextViewMode</onright>
					<onleft>998</onleft>
					<orientation>vertical</orientation>
					<posx>28</posx>
					<posy>28</posy>
					<animation effect="slide" start="0" end="70" time="0" condition="ListItem.Type(episode) | ListItem.Type(clip)">Conditional</animation>
					<width>1300</width>
					<height>660</height>
					<!-- generic square thumb -->
					<itemlayout condition="!ListItem.Type(episode) + !ListItem.Type(clip)" width="153" height="164">
						<include>PhotoThumbCard</include>
						<include>ChannelContentThumb</include>
						<control type="label">
							<include>PhotoLabel</include>
							<textcolor>white</textcolor>
						</control>
					</itemlayout>
					<focusedlayout condition="!ListItem.Type(episode) + !ListItem.Type(clip)" width="153" height="164">
						<include>PhotoThumbCard</include>
						<include>ChannelContentThumb</include>
						<control type="label">
							<include>PhotoLabel</include>
							<textcolor>orangeLight</textcolor>
						</control>
						<include>SelectedBorder</include>
					</focusedlayout>
					<!-- episode layout -->
					<itemlayout condition="ListItem.Type(episode) | ListItem.Type(clip)" width="234" height="162">
						<include>EpisodeThumbCard</include>
						<include>EpisodeThumb</include>
						<control type="label">
							<include>EpisodeTitle</include>
							<textcolor>white</textcolor>
						</control>
						<include>EpisodeDate</include>
					</itemlayout>
					<focusedlayout condition="ListItem.Type(episode) | ListItem.Type(clip)" width="250" height="165">
						<include>EpisodeThumbCard</include>
						<include>EpisodeThumb</include>
						<control type="label">
							<include>EpisodeTitle</include>
							<textcolor>orangeLight</textcolor>
						</control>
						<include>EpisodeDate</include>
						<include>EpisodeSelectedBorder</include>
					</focusedlayout>
				</control>
			</control>
		</control>
	</include>
	<include name="_Channel">
		<control type="group">
			<visible>Container.PlexContent(Channel)</visible>
			<include>FadeDialog</include>
			<!--><include>rightSideSlide</include>
			<include>ChannelPlotBG</include>
			<include>ChannelPlot</include>
			<include>ChannelIcon</include>-->
			<!-- main list -->
			<control type="group" id="777">
				<control type="panel" id="71">
					<viewtype label="ChannelVideo">panel</viewtype>
					<visible>Container.PlexContent(Channel)</visible>
					<onup>71</onup>
					<ondown>71</ondown>
					<onright>71</onright>
					<onleft>9100</onleft>
					<orientation>vertical</orientation>
					<posx>28</posx>
					<posy>28</posy>
					<width>1300</width>
					<height>665</height>
					<itemlayout width="153" height="165">
						<include>PhotoThumbCard</include>
						<include>ChannelContentThumb</include>
						<control type="label">
							<include>PhotoLabel</include>
							<textcolor>white</textcolor>
						</control>
					</itemlayout>
					<focusedlayout width="153" height="160">
						<include>PhotoThumbCard</include>
						<include>ChannelContentThumb</include>
						<control type="label">
							<include>PhotoLabel</include>
							<textcolor>orangeLight</textcolor>
						</control>
						<include>SelectedBorder</include>
					</focusedlayout>
				</control>
			</control>
		</control>
	</include>
	<!-- Photo Channel (MyPics.xml) -->
	<include name="ChannelPhoto">
		<control type="group">
			<visible>Container.PlexContent(Channel)</visible>
			<include>FadeDialog</include>
			<include>rightSideSlide</include>
			<include>ChannelPlotBG</include>
			<include>ChannelPlot</include>
			<include>ChannelIcon</include>
			<!-- main list -->
			<control type="group" id="777">
				<control type="panel" id="72">
					<viewtype label="ChannelPhoto">panel</viewtype>
					<visible>Container.PlexContent(Channel)</visible>
					<onup>72</onup>
					<ondown>72</ondown>
					<onright>72</onright>
					<onleft>9100</onleft>
					<orientation>vertical</orientation>
					<posx>369</posx>
					<posy>50</posy>
					<width>1000</width>
					<height>665</height>
					<itemlayout width="150" height="165">
						<include>PhotoThumbCard</include>
						<include>PhotoThumb</include>
						<control type="label">
							<include>PhotoLabel</include>
							<textcolor>white</textcolor>
						</control>
					</itemlayout>
					<focusedlayout width="150" height="160">
						<include>PhotoThumbCard</include>
						<include>PhotoThumb</include>
						<control type="label">
							<include>PhotoLabel</include>
							<textcolor>orangeLight</textcolor>
						</control>
						<include>SelectedBorder</include>
					</focusedlayout>
				</control>
			</control>
		</control>
	</include>
	<!-- Music Channel (MyMusicSongs.xml) -->
	<include name="ChannelMusic">
		<control type="group">
			<visible>Container.PlexContent(Channel) + Window.IsActive(501)</visible>
			<include>FadeDialog</include>
			<!-- main list -->
			<control type="group" id="777">
				<control type="panel" id="73">
					<viewtype label="ChannelMusic">panel</viewtype>
					<visible>Container.PlexContent(Channel) + Window.IsActive(501)</visible>
					<onup>73</onup>
					<ondown>73</ondown>
					<onright>Container.NextViewMode</onright>
					<onleft>998</onleft>
					<orientation>vertical</orientation>
					<posx>28</posx>
					<posy>28</posy>
					<animation effect="slide" start="0" end="74" time="400" condition="ListItem.Type(song)">Conditional</animation>
					<width>1200</width>
					<height>660</height>
					<!-- album -->
					<itemlayout width="144" height="164" condition="ListItem.Type(song) | ListItem.Type(album)">
						<include>PhotoThumbCard</include>
						<include>ChannelContentThumb</include>
						<control type="label">
							<include>PhotoLabel</include>
							<textcolor>white</textcolor>
						</control>
					</itemlayout>
					<focusedlayout width="144" height="164" condition="ListItem.Type(song) | ListItem.Type(album)">
						<include>PhotoThumbCard</include>
						<include>ChannelContentThumb</include>
						<control type="label">
							<include>PhotoLabel</include>
							<textcolor>orangeLight</textcolor>
						</control>
						<include>SelectedBorder</include>
					</focusedlayout>
				</control>
			</control>
		</control>
	</include>
</includes>
