<?xml version="1.0"?>
<includes>
	<include name="leftMenuInitSlide">
		<animation effect="slide" start="-74" end="0" time="400">Visible</animation>
		<animation effect="slide" start="0" end="-74" time="400">Hidden</animation>
		<animation effect="slide" start="0" end="-104" time="0" condition="Skin.String(SectionType,playqueue) + [Player.HasAudio | Player.HasVideo]">Conditional</animation>
	</include>
	<include name="leftMenuSlide">
		<animation effect="slide" start="0" end="246" time="500" condition="ControlGroup(1300).HasFocus()">Conditional</animation>
		<animation effect="slide" start="0" end="-246" time="500" condition="ControlGroup(1300).HasFocus()">WindowClose</animation>
		<animation effect="slide" start="0" end="-246" time="500" condition="ControlGroup(1300).HasFocus() + Container.PlexContent(Secondary)">Conditional</animation>
	</include>
	<include name="leftMenuSlideHome">
		<animation effect="slide" start="0" end="317" time="500" condition="ControlGroup(1300).HasFocus()">Conditional</animation>
		<animation effect="slide" start="0" end="-317" time="500" condition="ControlGroup(1300).HasFocus()">WindowClose</animation>
		<animation effect="slide" start="0" end="-317" time="500" condition="ControlGroup(1300).HasFocus() + Container.PlexContent(Secondary)">Conditional</animation>
	</include>
	<include name="leftMenuClockSlideHome">
		<animation effect="slide" start="0" end="390" time="500" condition="ControlGroup(1300).HasFocus()">Conditional</animation>
		<animation effect="slide" start="0" end="-390" time="500" condition="ControlGroup(1300).HasFocus()">WindowClose</animation>
		<animation effect="slide" start="0" end="-390" time="500" condition="ControlGroup(1300).HasFocus() + Container.PlexContent(Secondary)">Conditional</animation>
	</include>
	<include name="rightSideSlide">
		<include>leftMenuSlide</include>
		<animation effect="fade" start="100" end="50" time="300" condition="ControlGroup(1300).HasFocus()">Conditional</animation>
	</include>
	<include name="leftMenuBg">
		<control type="group">
			<posy>0</posy>
			<!-- Background -->
			<control type="image">
				<posx>-253</posx>
				<height>720</height>
				<width>254</width>
				<include>Black</include>
				<animation type="Conditional" condition="true">
					<effect type="fade" start="0" end="75"/>
				</animation>
			</control>
			<control type="image">
				<posx>0</posx>
				<width>74</width>
				<height>720</height>
				<include>Black</include>
			</control>
			<control type="image">
				<posy>498</posy>
				<posx>74</posx>
				<width>16</width>
				<height>32</height>
				<aspectratio>scale</aspectratio>
				<texture>arrow-big.png</texture>
				<colordiffuse>FF000000</colordiffuse>
				<visible>!Control.IsVisible(41)</visible>
			</control>
			<!--><control type="image">
				<posy>41</posy>
				<posx>25</posx>
				<width>24</width>
				<height>24</height>
				<aspectratio>keep</aspectratio>
				<texture>left-menu-filters-icon.png</texture>
				<colordiffuse>FF999999</colordiffuse>
				<visible>!Container.PlexContent(Movie) + !Container.PlexContent(Episode) + !Container.PlexContent(Clip) + !Container.PlexContent(Channel) + !Control.IsVisible(998)</visible>
			</control>-->
			<control type="image">
				<posy>680</posy>
				<posx>30</posx>
				<width>12</width>
				<height>18</height>
				<aspectratio>scale</aspectratio>
				<texture flipx="true">left-menu-indicator-arrow.png</texture>
				<animation effect="rotate" end="-180" center="36,689" time="500" condition="ControlGroup(1300).HasFocus">Conditional</animation>
				<visible>[!Container.PlexContent(Albums) | [Container.PlexContent(Albums) + !IsEmpty(Container.Property(primaryFilterActivated))]] + !Container.PlexContent(Songs) + !Container.PlexContent(Seasons) + [!Container.PlexContent(Episodes) | [Container.PlexContent(Episodes) + !IsEmpty(Container.Property(primaryFilterActivated)) + IsEmpty(Container.Property(PlexPreplay))]] + ![Container.PlexContent(Channel) + [ListItem.Type(clip) | ListItem.Type(episode)]] + ![Control.IsVisible(88)]</visible>
			</control>
		</control>
	</include>
	<include name="leftMenuBgSettings">
		<control type="group">
			<posy>0</posy>
			<!-- Background -->
			<control type="image">
				<posx>-253</posx>
				<height>720</height>
				<width>254</width>
				<include>Black</include>
				<animation type="Conditional" condition="true">
					<effect type="fade" start="0" end="75"/>
				</animation>
			</control>
			<control type="image">
				<posx>0</posx>
				<width>74</width>
				<height>720</height>
				<include>Black</include>
			</control>
			<control type="image">
				<posy>498</posy>
				<posx>74</posx>
				<width>16</width>
				<height>32</height>
				<aspectratio>scale</aspectratio>
				<texture>arrow-big.png</texture>
				<colordiffuse>FF000000</colordiffuse>
			</control>
		</control>
	</include>
	<include name="leftMenuBgHome">
		<control type="group">
			<posy>0</posy>
			<!-- Background -->
			<control type="image">
				<posx>-324</posx>
				<height>720</height>
				<width>325</width>
				<include>Black</include>
				<animation type="Conditional" condition="true">
					<effect type="fade" start="0" end="75"/>
				</animation>
			</control>
			<control type="image">
				<posx>0</posx>
				<width>74</width>
				<height>720</height>
				<include>Black</include>
				<animation type="Conditional" condition="ControlGroup(1300).HasFocus()">
					<effect type="fade" start="0" time="300" end="75"/>
				</animation>
				<animation type="Conditional" condition="!ControlGroup(1300).HasFocus()">
					<effect type="fade" start="75" time="200" end="0"/>
				</animation>
			</control>
			<!--><control type="image">
				<posy>498</posy>
				<posx>74</posx>
				<width>16</width>
				<height>32</height>
				<aspectratio>scale</aspectratio>
				<texture>arrow-big.png</texture>
				<colordiffuse>FF000000</colordiffuse>
			</control>-->
			<control type="image">
				<posy>41</posy>
				<posx>25</posx>
				<width>24</width>
				<height>24</height>
				<aspectratio>keep</aspectratio>
				<texture>left-menu-filters-icon.png</texture>
				<colordiffuse>FF999999</colordiffuse>
				<visible>Container.PlexContent(Movies) | Container.PlexContent(TVShows)</visible>
			</control>
			<control type="image">
				<posy>680</posy>
				<posx>30</posx>
				<width>12</width>
				<height>18</height>
				<aspectratio>scale</aspectratio>
				<texture flipx="true">left-menu-indicator-arrow.png</texture>
				<animation effect="rotate" end="-180" center="36,689" time="500" condition="ControlGroup(1300).HasFocus">Conditional</animation>
				<visible>!ControlGroup(5000).HasFocus</visible>
			</control>
		</control>
	</include>
	<include name="leftMenuTitle">
		<textoffsety>5</textoffsety>
		<textoffsetx>20</textoffsetx>
		<font>Regular-26</font>
		<height>55</height>
		<textcolor>FFCCCCCC</textcolor>
		<shadowcolor>black</shadowcolor>
		<texturenofocus>-</texturenofocus>
		<animation effect="fade" start="100" end="100" time="0" condition="true">Conditional</animation>
		<align>right</align>
		<width>253</width>
	</include>
	<include name="leftMenuSpacing">
		<height>45</height>
	</include>
	<include name="leftMenuFormat">
		<width>250</width>
		<height>24</height>
		<align>right</align>
		<textoffsety>5</textoffsety>
		<textoffsetx>34</textoffsetx>
		<font>Regular-17</font>
		<shadowcolor>ff222222</shadowcolor>
		<textcolor>FFCCCCCC</textcolor>
		<focusedcolor>orangeLight</focusedcolor>
		<texturefocus>-</texturefocus>
		<texturenofocus>-</texturenofocus>
		<scroll>true</scroll>
		<animation type="Conditional" condition="true">
			<effect type="fade" start="0" end="100"/>
		</animation>
	</include>
	<include name="leftSubMenuClearFilters">
		<width>220</width>
		<height>26</height>
		<align>left</align>
		<textoffsety>5</textoffsety>
		<textoffsetx>10</textoffsetx>
		<font>Bold-17</font>
		<shadowcolor>ff222222</shadowcolor>
		<textcolor>white</textcolor>
		<focusedcolor>orangeLight</focusedcolor>
		<texturefocus>bg-b-clear-subfilters-s.png</texturefocus>
		<texturenofocus>-</texturenofocus>
		<animation type="Conditional" condition="true">
			<effect type="fade" start="0" end="100"/>
		</animation>
	</include>
	<include name="leftMenuClearFilters">
		<width>250</width>
		<height>26</height>
		<align>right</align>
		<textoffsety>5</textoffsety>
		<textoffsetx>0</textoffsetx>
		<font>Bold-17</font>
		<shadowcolor>ff222222</shadowcolor>
		<textcolor>white</textcolor>
		<focusedcolor>orangeLight</focusedcolor>
		<texturefocus>bg-b-clear-filters-s.png</texturefocus>
		<texturenofocus>-</texturenofocus>
		<animation type="Conditional" condition="true">
			<effect type="fade" start="0" end="100"/>
		</animation>
	</include>
	<include name="leftMenuFormatPreplay">
		<width>230</width>
		<height>24</height>
		<align>right</align>
		<textoffsety>5</textoffsety>
		<textoffsetx>0</textoffsetx>
		<font>Regular-26</font>
		<shadowcolor>ff222222</shadowcolor>
		<textcolor>FFCCCCCC</textcolor>
		<focusedcolor>orangeLight</focusedcolor>
		<texturefocus>-</texturefocus>
		<texturenofocus>-</texturenofocus>
		<animation type="Conditional" condition="true">
			<effect type="fade" start="0" end="100"/>
		</animation>
	</include>
	<include name="leftMenuFilterRadioButton">
		<description>default radio button</description>
		<textureradiofocus>left-menu-ticked-icon.png</textureradiofocus>
		<textureradionofocus>-</textureradionofocus>
		<align>right</align>
		<aligny>center</aligny>
		<pulseonselect>false</pulseonselect>
		<radioheight>14</radioheight>
		<radiowidth>20</radiowidth>
	</include>
	<include name="leftSubMenuRadioButton">
		<width>185</width>
		<height>26</height>
		<align>left</align>
		<aligny>center</aligny>
		<textoffsetx>10</textoffsetx>
		<font>Regular-17</font>
		<shadowcolor>ff222222</shadowcolor>
		<textcolor>FFCCCCCC</textcolor>
		<focusedcolor>orangeLight</focusedcolor>
		<texturefocus border="5">black-bottom-grey.png</texturefocus>
		<texturenofocus border="5">-</texturenofocus>
		<radioposx>191</radioposx>
		<radioheight>26</radioheight>
	</include>
	<include name="leftMenuSortingButton">
		<description>sorting radio button</description>
		<textureorderascending>arrow-big-up-orange.png</textureorderascending>
		<textureorderdescending flipy="true">arrow-big-up-orange.png</textureorderdescending>
		<align>right</align>
		<aligny>center</aligny>
		<pulseonselect>false</pulseonselect>
		<radioheight>14</radioheight>
		<radiowidth>16</radiowidth>
		<radioposy>6</radioposy>
	</include>
	<!-- buttons -->
	<include name="leftMenuBarIcon">
		<width>74</width>
		<height>30</height>
		<colordiffuse>FF999999</colordiffuse>
	</include>
	<include name="leftMenuPreplayButton">
		<width>74</width>
		<height>30</height>
		<onleft>1300</onleft>
		<onright>-</onright>
	</include>
	<include name="leftMenuBarButton">
		<width>74</width>
		<height>30</height>
		<onleft condition="!IsEmpty(Container.Property(PlexFilter))">1300</onleft>
		<onright>777</onright>
	</include>
	<include name="leftBarButtonFilters">
		<texturefocus>left-menu-filters-icon-s.png</texturefocus>
		<texturenofocus>left-menu-filters-icon-u.png</texturenofocus>
		<onclick>Control.SetFocus(1300)</onclick>
		<include>leftMenuBarButton</include>
	</include>
	<include name="leftBarButtonPlay">
		<texturefocus>b-pp-play-s2.png</texturefocus>
		<texturenofocus>b-pp-play2.png</texturenofocus>
		<onclick>Plex.PlayAll()</onclick>
		<include>leftMenuBarButton</include>
	</include>
	<include name="leftBarButtonShuffle">
		<texturefocus>left-menu-shuffle-icon-s2.png</texturefocus>
		<texturenofocus>left-menu-shuffle-icon-u2.png</texturenofocus>
		<onclick>Plex.ShuffleAll()</onclick>
		<include>leftMenuBarButton</include>
	</include>
	<include name="leftBarButtonAudio">
		<texturefocus>b-pp-audio-s2.png</texturefocus>
		<texturenofocus>b-pp-audio2.png</texturenofocus>
		<onright>XBMC.NextItem</onright>
		<onleft>XBMC.PrevItem</onleft>
		<onclick>ActivateWindow(10205)</onclick>
		<include>leftMenuBarButton</include>
		<onfocus>Skin.SetString(DialogPos,audiostreampicker)</onfocus>
		<onunfocus>Skin.Reset(DialogPos)</onunfocus>
	</include>
	<include name="leftBarButtonSubtitles">
		<texturefocus>b-pp-subtitles-s.png</texturefocus>
		<texturenofocus>b-pp-subtitles.png</texturenofocus>
		<onright>XBMC.NextItem</onright>
		<onleft>XBMC.PrevItem</onleft>
		<onclick>ActivateWindow(10204)</onclick>
		<include>leftMenuBarButton</include>
		<onfocus>Skin.SetString(DialogPos,subtitlestreampicker)</onfocus>
		<onunfocus>Skin.Reset(DialogPos)</onunfocus>
	</include>
	<include name="leftBarButtonExtras">
		<texturefocus>b-pp-extras-s.png</texturefocus>
		<texturenofocus>b-pp-extras.png</texturenofocus>
		<onright>XBMC.NextItem</onright>
		<onleft>XBMC.PrevItem</onleft>
		<onclick>SetFocus(3)</onclick>
		<include>leftMenuBarButton</include>
	</include>
	<include name="leftBarButtonRate">
		<texturefocus>b-pp-rate-s.png</texturefocus>
		<texturenofocus>b-pp-rate.png</texturenofocus>
		<onright>XBMC.NextItem</onright>
		<onleft>XBMC.PrevItem</onleft>
		<onclick>ActivateWindow(10200,$INFO[ListItem(0).Path])</onclick>
		<include>leftMenuBarButton</include>
		<onfocus>Skin.SetString(DialogPos,rate)</onfocus>
		<onunfocus>Skin.Reset(DialogPos)</onunfocus>
	</include>
	<include name="leftBarButtonRecommend">
		<texturefocus>b-pp-recommend-s.png</texturefocus>
		<texturenofocus>b-pp-recommend.png</texturenofocus>
		<onup>105</onup>
		<ondown>107</ondown>
		<include>leftMenuBarButton</include>
		<visible>!IsEmpty(ListItem(0).Property(canRecommend))</visible>
		<onfocus>Skin.SetString(DialogPos,recommend)</onfocus>
		<onunfocus>Skin.Reset(DialogPos)</onunfocus>
	</include>
	<include name="leftBarButtonShare">
		<texturefocus>b-pp-share-s.png</texturefocus>
		<texturenofocus>b-pp-share.png</texturenofocus>
		<onright>XBMC.NextItem</onright>
		<onleft>XBMC.PrevItem</onleft>
		<include>leftMenuBarButton</include>
		<visible>!IsEmpty(ListItem(0).Property(canShare))</visible>
		<onfocus>Skin.SetString(DialogPos,share)</onfocus>
		<onunfocus>Skin.Reset(DialogPos)</onunfocus>
	</include>
	<include name="leftBarButtonWatched">
		<texturefocus>b-pp-watched-s.png</texturefocus>
		<texturenofocus>b-pp-watched.png</texturenofocus>
		<onright>XBMC.NextItem</onright>
		<onleft>XBMC.PrevItem</onleft>
		<onclick>markaswatched</onclick>
		<include>leftMenuBarButton</include>
		<visible>ListItem.Status(unwatched) | ListItem.Status(inprogress)</visible>
	</include>
	<include name="leftBarButtonUnwatched">
		<texturefocus>b-pp-unwatched-s.png</texturefocus>
		<texturenofocus>b-pp-unwatched.png</texturenofocus>
		<onright>XBMC.NextItem</onright>
		<onleft>XBMC.PrevItem</onleft>
		<onclick>markasunwatched</onclick>
		<include>leftMenuBarButton</include>
		<visible>ListItem.Status(watched)</visible>
	</include>
	<include name="leftBarButtonNowPlaying">
		<texturefocus>-</texturefocus>
		<texturenofocus>-</texturenofocus>
		<onclick>fullscreen</onclick>
		<include>leftMenuBarButton</include>
		<visible>Player.HasAudio | Player.HasVideo</visible>
	</include>
	<!-- Home menu -->
	<include name="PivotMenuHome">
		<!-- Main Menu -->
		<control type="group" id="1400">
			<!-- list -->
			<control type="wraplist" id="1300">
				<description>Home Secondary Menu</description>
				<posx>0</posx>
				<posy>303</posy>
				<width>372</width>
				<height>320</height>
				<onup>1300</onup>
				<ondown>1300</ondown>
				<onleft>-</onleft>
				<onright>Dialog.Close(4998)</onright>
				<focusposition>2</focusposition>
				<scrolltime>200</scrolltime>
				<animation type="WindowOpen" condition="true" reversible="false">
					<effect type="rotatey" center="304" start="-90,455" end="0,455" time="300"/>
					<effect type="fade" start="0" end="100" time="50" delay="0"/>
				</animation>
				<animation type="WindowClose" condition="true" reversible="false">
					<effect type="rotatey" center="304" start="0,455" end="-90,455" time="300"/>
					<effect type="fade" start="100" end="0" time="230"/>
				</animation>
				<itemlayout width="600" height="50">
					<control type="label">
						<posx>372</posx>
						<posy>20</posy>
						<width>360</width>
						<height>0</height>
						<label>$INFO[ListItem.Label]</label>
						<info>ListItem.Label</info>
						<align>right</align>
						<aligny>center</aligny>
						<font>Regular-28</font>
						<textcolor>white</textcolor>
						<shadowcolor>FF333333</shadowcolor>
					</control>
				</itemlayout>
				<focusedlayout width="600" height="120">
					<control type="label">
						<posx>363</posx>
						<posy>53</posy>
						<width>353</width>
						<height>0</height>
						<info>ListItem.Label</info>
						<align>right</align>
						<aligny>center</aligny>
						<font>Bold-36</font>
						<textcolor>orange</textcolor>
						<shadowcolor>FF222222</shadowcolor>
					</control>
				</focusedlayout>
				<!-- additional menu items -->
				<content>
					<item id="8">
						<description>Switch User</description>
						<label>Switch User</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>XBMC.ActivateWindow(selectuser)</onclick>
						<visible>System.IsSignedIn + System.UserIsInHome</visible>
					</item>
					<item id="9">
						<description>Sign In</description>
						<label>Sign in</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>Plex.ActivateWindow(plexlogin)</onclick>
						<visible>!System.IsSignedIn</visible>
					</item>
					<item id="12">
						<description>Channel Directory</description>
						<label> $LOCALIZE[31952]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>Plex.ActivateWindow(1,plexserver://channeldirectory,return)</onclick>
						<textcolor>50FFFFFF</textcolor>
						<visible>!System.UserIsRestricted</visible>
					</item>
					<item id="6">
						<description>Preferences</description>
						<label>$LOCALIZE[31955]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>XBMC.ActivateWindow(appearancesettings)</onclick>
						<visible>!System.UserIsRestricted</visible>
					</item>
					<item id="101">
						<description>OE Settings Button</description>
						<label> $LOCALIZE[41000] </label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>RunAddon(service.openelec.settings)</onclick>
						<visible>System.isSystem(openelec) + !System.UserIsRestricted</visible>
					</item>
					<item id="102">
						<description>Control Global Caching</description>
						<label> $LOCALIZE[41001] </label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>XBMC.ActivateWindow(10208)</onclick>
						<visible>System.isSystem(rasplex) + !System.UserIsRestricted</visible>
					</item>
					<item id="111">
						<description>Quit</description>
						<label>$LOCALIZE[31007]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>Plex.Quit</onclick>
						<visible>!System.isSystem(openelec)</visible>
					</item>
					<item id="112">
						<description>Sleep</description>
						<label>$LOCALIZE[31960]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>Plex.Suspend</onclick>
						<visible>!System.isSystem(rasplex)</visible>
					</item>
					<item id="113">
						<description>Shut Down</description>
						<label>$LOCALIZE[31961]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>Plex.Powerdown</onclick>
						<visible>!System.UserIsRestricted | Skin.HasSetting(ShowRestrictedPowerOptions)</visible>
					</item>
					<item id="114">
						<description>Restart</description>
						<label>$LOCALIZE[31072]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>System.Exec(reboot)</onclick>
						<visible>System.isSystem(openelec) + [ !System.UserIsRestricted | Skin.HasSetting(ShowRestrictedPowerOptions) ]</visible>
					</item>
				</content>
			</control>
		</control>
	</include>
	<include name="PivotMenuHomeMinimal">
		<!-- Main Menu -->
		<control type="group" id="1400">
			<!-- list -->
			<control type="wraplist" id="1300">
				<description>Home Secondary Menu</description>
				<posx>0</posx>
				<posy>353</posy>
				<width>372</width>
				<height>220</height>
				<onup>1300</onup>
				<ondown>1300</ondown>
				<onleft>-</onleft>
				<onright>Dialog.Close(4998)</onright>
				<focusposition>1</focusposition>
				<scrolltime>200</scrolltime>
				<animation type="WindowOpen" condition="true" reversible="false">
					<effect type="rotatey" center="304" start="-90,455" end="0,455" time="300"/>
					<effect type="fade" start="0" end="100" time="50" delay="0"/>
				</animation>
				<animation type="WindowClose" condition="true" reversible="false">
					<effect type="rotatey" center="304" start="0,455" end="-90,455" time="300"/>
					<effect type="fade" start="100" end="0" time="230"/>
				</animation>
				<itemlayout width="600" height="50">
					<control type="label">
						<posx>372</posx>
						<posy>20</posy>
						<width>360</width>
						<height>0</height>
						<label>$INFO[ListItem.Label]</label>
						<info>ListItem.Label</info>
						<align>right</align>
						<aligny>center</aligny>
						<font>Regular-28</font>
						<textcolor>white</textcolor>
						<shadowcolor>FF333333</shadowcolor>
					</control>
				</itemlayout>
				<focusedlayout width="600" height="120">
					<control type="label">
						<posx>363</posx>
						<posy>53</posy>
						<width>353</width>
						<height>0</height>
						<info>ListItem.Label</info>
						<align>right</align>
						<aligny>center</aligny>
						<font>Bold-36</font>
						<textcolor>orange</textcolor>
						<shadowcolor>FF222222</shadowcolor>
					</control>
				</focusedlayout>
				<!-- additional menu items -->
				<content>
					<item id="8">
						<description>Switch User</description>
						<label>Switch User</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>XBMC.ActivateWindow(selectuser)</onclick>
						<visible>System.IsSignedIn + System.UserIsInHome</visible>
					</item>
					<item id="9">
						<description>Sign In</description>
						<label>Sign in</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>Plex.ActivateWindow(plexlogin)</onclick>
						<visible>!System.IsSignedIn</visible>
					</item>
					<item id="12">
						<description>Channel Directory</description>
						<label> $LOCALIZE[31952]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>Plex.ActivateWindow(1,plexserver://channeldirectory,return)</onclick>
						<textcolor>50FFFFFF</textcolor>
						<visible>!System.UserIsRestricted</visible>
					</item>
					<item id="6">
						<description>Preferences</description>
						<label>$LOCALIZE[31955]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>XBMC.ActivateWindow(appearancesettings)</onclick>
						<visible>!System.UserIsRestricted</visible>
					</item>
					<item id="101">
						<description>OE Settings Button</description>
						<label> $LOCALIZE[41000] </label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>RunAddon(service.openelec.settings)</onclick>
						<visible>System.isSystem(openelec) + !System.UserIsRestricted</visible>
					</item>
					<item id="102">
						<description>Control Global Caching</description>
						<label> $LOCALIZE[41001] </label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>XBMC.ActivateWindow(10208)</onclick>
						<visible>System.isSystem(rasplex) + !System.UserIsRestricted</visible>
					</item>
					<item id="112">
						<description>Sleep</description>
						<label>$LOCALIZE[31960]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>Plex.Suspend</onclick>
						<visible>!System.isSystem(rasplex)</visible>
					</item>
					<item id="114">
						<description>Restart</description>
						<label>$LOCALIZE[31072]</label>
						<onclick>Dialog.Close(4998)</onclick>
						<onclick>System.Exec(reboot)</onclick>
						<visible>System.isSystem(openelec) + [ !System.UserIsRestricted | Skin.HasSetting(ShowRestrictedPowerOptions) ]</visible>
					</item>
				</content>
			</control>
		</control>
	</include>
	<!-- Library menu -->
	<include name="LeftSideMenu">
		<control type="group" id="995">
			<visible allowhiddenfocus="false">[!Container.PlexContent(Channel) | [Container.PlexContent(Channel) + [ListItem.Type(clip) | ListItem.Type(episode) | ListItem.Type(song)]]] | [Skin.String(SectionType,playqueue) + !Player.HasAudio + Container.PlexContent(Songs)]</visible>
			<include>leftMenuInitSlide</include>
			<include>leftMenuSlide</include>
			<include>leftMenuBg</include>
			<!-- sidebar video & photos -->
			<control type="grouplist" id="998">
				<visible>Container.PlexContent(Movies) | Container.PlexContent(TVShows) | Container.PlexContent(Seasons) | Container.PlexContent(Clips) | Container.PlexContent(Episodes) | Container.PlexContent(Homemovies) | Container.PlexContent(Channel) | Container.PlexContent(Photos)</visible>
				<posy>40</posy>
				<posx>0</posx>
				<width>74</width>
				<aligny>top</aligny>
				<onup>998</onup>
				<ondown>998</ondown>
				<orientation>vertical</orientation>
				<itemgap>20</itemgap>
				<!-- Filters -->
				<control type="button" id="102">
					<texturefocus>left-menu-filters-icon-s.png</texturefocus>
					<texturenofocus>left-menu-filters-icon-u.png</texturenofocus>
					<onclick>Control.SetFocus(1300)</onclick>
					<include>leftMenuBarButton</include>
					<visible>!IsEmpty(Container.Property(PlexFilter))</visible>
				</control>
				<!-- Play All -->
				<control type="button" id="104">
					<texturefocus>b-pp-play-s2.png</texturefocus>
					<texturenofocus>b-pp-play2.png</texturenofocus>
					<onclick>Plex.PlayAll()</onclick>
					<include>leftMenuBarButton</include>
				</control>
				<!-- Shuffle All -->
				<control type="button" id="105">
					<texturefocus>left-menu-shuffle-icon-s2.png</texturefocus>
					<texturenofocus>left-menu-shuffle-icon-u2.png</texturenofocus>
					<onclick>Plex.ShuffleAll()</onclick>
					<include>leftMenuBarButton</include>
				</control>
				<!-- Now Playing -->
				<control type="button" id="106">
					<texturefocus>-</texturefocus>
					<texturenofocus>-</texturenofocus>
					<onclick>fullscreen</onclick>
					<include>leftMenuBarButton</include>
					<visible>Player.HasAudio | Player.HasVideo</visible>
				</control>
			</control>
			<!-- sidebar music -->
			<control type="grouplist" id="998">
				<visible>Container.PlexContent(Artists) | Container.PlexContent(Albums) | Container.PlexContent(Songs)</visible>
				<posy>40</posy>
				<posx>0</posx>
				<width>74</width>
				<aligny>top</aligny>
				<onup>998</onup>
				<ondown>998</ondown>
				<orientation>vertical</orientation>
				<itemgap>20</itemgap>
				<control type="button" id="101">
					<include>leftBarButtonFilters</include>
					<visible>!IsEmpty(Container.Property(PlexFilter))</visible>
				</control>
				<control type="button" id="102">
					<include>leftBarButtonPlay</include>
				</control>
				<control type="button" id="103">
					<include>leftBarButtonShuffle</include>
				</control>
				<control type="button" id="104">
					<include>leftBarButtonExtras</include>
					<visible>!IsEmpty(Container.Property(PlexExtras))</visible>
				</control>
			</control>
			<!-- sidebar preplay -->
			<control type="grouplist" id="998">
				<visible>[Container.PlexContent(Movie) | Container.PlexContent(Episode) | Container.PlexContent(Clip)] | [Container.PlexContent(Channel) + !IsEmpty(Container.Property(PlexPreplay))]</visible>
				<posy>40</posy>
				<posx>0</posx>
				<width>74</width>
				<aligny>top</aligny>
				<onup>998</onup>
				<ondown>998</ondown>
				<orientation>vertical</orientation>
				<itemgap>20</itemgap>
				<!-- Play -->
				<control type="button" id="102">
					<texturefocus>b-pp-play-s.png</texturefocus>
					<texturenofocus>b-pp-play.png</texturenofocus>
					<onright>XBMC.NextItem</onright>
					<onleft>XBMC.PrevItem</onleft>
					<onclick>Plex.PlayWith(VideoDefaultPlayer)</onclick>
					<include>leftMenuBarButton</include>
				</control>
				<!-- Audio -->
				<control type="button" id="103">
					<texturefocus>b-pp-audio-s2.png</texturefocus>
					<texturenofocus>b-pp-audio2.png</texturenofocus>
					<onright>XBMC.NextItem</onright>
					<onleft>XBMC.PrevItem</onleft>
					<onclick>ActivateWindow(10205)</onclick>
					<include>leftMenuBarButton</include>
					<onfocus>Skin.SetString(DialogPos,audiostreampicker)</onfocus>
					<onunfocus>Skin.Reset(DialogPos)</onunfocus>
				</control>
				<!-- Subtitles -->
				<control type="button" id="104">
					<texturefocus>b-pp-subtitles-s.png</texturefocus>
					<texturenofocus>b-pp-subtitles.png</texturenofocus>
					<onright>XBMC.NextItem</onright>
					<onleft>XBMC.PrevItem</onleft>
					<onclick>ActivateWindow(10204)</onclick>
					<include>leftMenuBarButton</include>
					<onfocus>Skin.SetString(DialogPos,subtitlestreampicker)</onfocus>
					<onunfocus>Skin.Reset(DialogPos)</onunfocus>
				</control>
				<!-- Extras -->
				<control type="button" id="110">
					<texturefocus>b-pp-extras-s.png</texturefocus>
					<texturenofocus>b-pp-extras.png</texturenofocus>
					<onright>XBMC.NextItem</onright>
					<onleft>XBMC.PrevItem</onleft>
					<onclick>SetFocus(30)</onclick>
					<include>leftMenuBarButton</include>
					<visible>!IsEmpty(ListItem.Property(PlexExtras))</visible>
				</control>
				<!-- Rate -->
				<control type="button" id="105">
					<texturefocus>b-pp-rate-s.png</texturefocus>
					<texturenofocus>b-pp-rate.png</texturenofocus>
					<onright>XBMC.NextItem</onright>
					<onleft>XBMC.PrevItem</onleft>
					<onclick>ActivateWindow(10200,$INFO[ListItem(0).Path])</onclick>
					<include>leftMenuBarButton</include>
					<onfocus>Skin.SetString(DialogPos,rate)</onfocus>
					<onunfocus>Skin.Reset(DialogPos)</onunfocus>
				</control>
				<!-- Recommend -->
				<!--><control type="button" id="106">
					<texturefocus>b-pp-recommend-s.png</texturefocus>
					<texturenofocus>b-pp-recommend.png</texturenofocus>
					<onup>105</onup>
					<ondown>107</ondown>
					<include>leftMenuBarButton</include>
					<visible>!IsEmpty(ListItem(0).Property(canRecommend))</visible>
					<onfocus>Skin.SetString(DialogPos,recommend)</onfocus>
					<onunfocus>Skin.Reset(DialogPos)</onunfocus>
				</control>-->
				<!-- Share -->
				<control type="button" id="107">
					<texturefocus>b-pp-share-s.png</texturefocus>
					<texturenofocus>b-pp-share.png</texturenofocus>
					<onright>XBMC.NextItem</onright>
					<onleft>XBMC.PrevItem</onleft>
					<include>leftMenuBarButton</include>
					<visible>!IsEmpty(ListItem(0).Property(canShare))</visible>
					<onfocus>Skin.SetString(DialogPos,share)</onfocus>
					<onunfocus>Skin.Reset(DialogPos)</onunfocus>
				</control>
				<!-- Watched -->
				<control type="button" id="108">
					<texturefocus>b-pp-watched-s.png</texturefocus>
					<texturenofocus>b-pp-watched.png</texturenofocus>
					<onright>XBMC.NextItem</onright>
					<onleft>XBMC.PrevItem</onleft>
					<onclick>markaswatched</onclick>
					<include>leftMenuBarButton</include>
					<visible>ListItem.Status(unwatched) | ListItem.Status(inprogress)</visible>
				</control>
				<!-- Unwatched -->
				<control type="button" id="109">
					<texturefocus>b-pp-unwatched-s.png</texturefocus>
					<texturenofocus>b-pp-unwatched.png</texturenofocus>
					<onright>XBMC.NextItem</onright>
					<onleft>XBMC.PrevItem</onleft>
					<onclick>markasunwatched</onclick>
					<include>leftMenuBarButton</include>
					<visible>ListItem.Status(watched)</visible>
				</control>
			</control>
			<!-- filters & sorting menu -->
			<control type="grouplist" id="1300">
				<animation type="Conditional" condition="!Window.IsActive(10202)" reversible="false">
					<effect type="rotatey" center="-120" start="80" end="0" time="300"/>
					<effect type="fade" start="0" end="100" time="0" delay="0"/>
				</animation>
				<animation type="Conditional" condition="Window.IsActive(10202)" reversible="false">
					<effect type="rotatey" center="-120" start="0" end="80" time="300"/>
					<effect type="fade" start="100" end="0" time="250"/>
				</animation>
				<posx>-253</posx>
				<posy>0</posy>
				<width>253</width>
				<height>720</height>
				<onup>-</onup>
				<ondown>-</ondown>
				<onright>777</onright>
				<orientation>vertical</orientation>
				<scrolltime>150</scrolltime>
				<!-- FILTERS -->
				<!-- primary filter list title -->
				<control type="label" id="19008">
					<description>Title</description>
					<posx>255</posx>
					<include>leftMenuTitle</include>
				</control>
				<!-- primary filters list -->
				<control type="grouplist" id="19000">
					<height max="1000">auto</height>
					<onup>-</onup>
					<ondown>29999</ondown>
					<onright>777</onright>
					<itemgap>0</itemgap>
				</control>
				<!-- secondary filters list title -->
				<control type="label" id="19009">
					<description>Secondary Title</description>
					<posx>255</posx>
					<include>leftMenuTitle</include>
					<label>FILTER</label>
					<visible>!IsEmpty(Container.Property(hasAdvancedFilters))</visible>
				</control>
				<!-- secondary filters list -->
				<control type="grouplist" id="19001">
					<height max="1000">auto</height>
					<onup>19000</onup>
					<ondown>32000</ondown>
					<onright>777</onright>
					<itemgap>0</itemgap>
				</control>
				<!-- SORTING -->
				<!-- sorting list title -->
				<control type="label" id="19019">
					<description>Title</description>
					<posx>255</posx>
					<include>leftMenuTitle</include>
					<label>SORT</label>
					<visible>!IsEmpty(Container.Property(hasAdvancedFilters))</visible>
				</control>
				<!-- sorting list -->
				<control type="grouplist" id="19010">
					<height max="1000">auto</height>
					<onup>19001</onup>
					<ondown>30000</ondown>
					<onright>777</onright>
					<itemgap>0</itemgap>
				</control>
			</control>
			<control type="group">
				<visible>false</visible>
				<!-- filters buttons -->
				<control type="button" id="19005">
					<textoffsetx>35</textoffsetx>
					<onup>19000</onup>
					<ondown>31000</ondown>
					<include>leftMenuClearFilters</include>
				</control>
				<control type="radiobutton" id="19006">
					<textoffsetx>35</textoffsetx>
					<include>leftMenuFormat</include>
					<include>leftMenuFilterRadioButton</include>
				</control>
				<control type="label" id="19007">
					<textoffsetx>40</textoffsetx>
					<include>leftMenuFormat</include>
					<font>Regular-14</font>
					<shadowcolor>ff222222</shadowcolor>
					<textcolor>FFFFCCCC</textcolor>
				</control>
				<!-- sorting buttons -->
				<control type="filterorderbutton" id="19011">
					<textoffsetx>35</textoffsetx>
					<include>leftMenuFormat</include>
					<include>leftMenuSortingButton</include>
				</control>
			</control>
			<include>NowPlayingSideBar</include>
		</control>
	</include>
	<!-- Settings menu -->
	<include name="LeftSideMenuSettings">
		<control type="group">
			<include>leftMenuInitSlide</include>
			<include>leftMenuBgSettings</include>
			<!-- page title -->
			<control type="group">
				<posx>100</posx>
				<posy>40</posy>
				<control type="group">
					<posy>13</posy>
					<posx>45</posx>
					<!-- menu label -->
					<control type="label">
						<width>1400</width>
						<height>0</height>
						<label>$VAR[TopBarSelectedItemStrings]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>Bold-36</font>
						<textcolor>orange</textcolor>
						<shadowcolor>ff111111</shadowcolor>
						<animation effect="fade" start="80" end="80" condition="true">Conditional</animation>
						<visible>Window.IsActive(4997)</visible>
					</control>
					<control type="label">
						<width>1400</width>
						<height>0</height>
						<label>$VAR[TopBarSelectedItemStrings]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>Bold-36</font>
						<textcolor>white</textcolor>
						<shadowcolor>ff111111</shadowcolor>
						<animation effect="fade" time="300" start="0" end="30" condition="true">Conditional</animation>
						<visible>!Window.IsActive(4997)</visible>
					</control>
				</control>
			</control>
			<control type="group">
				<animation effect="fade" start="0" end="50" time="0" condition="true">Conditional</animation>
				<control type="image">
					<posx>0</posx>
					<posy>108</posy>
					<texture>b-s-photos.png</texture>
					<visible>!Skin.String(SettingsCategory,appearance)</visible>
				</control>
				<control type="image">
					<posx>0</posx>
					<posy>108</posy>
					<texture>b-s-photos-s.png</texture>
					<visible>Skin.String(SettingsCategory,appearance)</visible>
				</control>
				<control type="image">
					<posx>0</posx>
					<posy>158</posy>
					<texture>b-s-video.png</texture>
					<visible>!Skin.String(SettingsCategory,playback)</visible>
				</control>
				<control type="image">
					<posx>0</posx>
					<posy>158</posy>
					<texture>b-s-video-s.png</texture>
					<visible>Skin.String(SettingsCategory,playback)</visible>
				</control>
				<control type="image">
					<posx>0</posx>
					<posy>208</posy>
					<texture>b-s-system.png</texture>
					<visible>!Skin.String(SettingsCategory,system)</visible>
				</control>
				<control type="image">
					<posx>0</posx>
					<posy>208</posy>
					<texture>b-s-system-s.png</texture>
					<visible>Skin.String(SettingsCategory,system)</visible>
				</control>
				<control type="image">
					<posx>0</posx>
					<posy>258</posy>
					<texture>b-s-network.png</texture>
					<visible>!Skin.String(SettingsCategory,network)</visible>
				</control>
				<control type="image">
					<posx>0</posx>
					<posy>258</posy>
					<texture>b-s-network-s.png</texture>
					<visible>Skin.String(SettingsCategory,network)</visible>
				</control>
			</control>
		</control>
	</include>
	<include name="LeftSideMenuSettings2">
		<control type="group">
			<include>leftMenuInitSlide</include>
			<include>leftMenuBgSettings</include>
			<control type="grouplist" id="997">
				<posx>0</posx>
				<posy>108</posy>
				<width>1000</width>
				<height>700</height>
				<onup>997</onup>
				<ondown>997</ondown>
				<onleft>-</onleft>
				<onright>-</onright>
				<itemgap>20</itemgap>
				<scrolltime>0</scrolltime>
				<orientation>vertical</orientation>
				<control type="button" id="902">
					<description>Appearance Settings Button</description>
					<texturefocus>b-s-photos-s.png</texturefocus>
					<texturenofocus>b-s-photos.png</texturenofocus>
					<include>leftMenuPreplayButton</include>
					<onfocus condition="!Window.IsActive(19)">XBMC.ReplaceWindow(19)</onfocus>
					<onright>Dialog.Close(4997)</onright>
					<onfocus>Skin.SetString(SettingsCategory,appearance)</onfocus>
				</control>
				<control type="button" id="901">
					<description>Playback Settings Button</description>
					<texturefocus>b-s-video-s.png</texturefocus>
					<texturenofocus>b-s-video.png</texturenofocus>
					<include>leftMenuPreplayButton</include>
					<onfocus condition="!Window.IsActive(17)">XBMC.ReplaceWindow(17)</onfocus>
					<onright>Dialog.Close(4997)</onright>
					<onfocus>Skin.SetString(SettingsCategory,playback)</onfocus>
				</control>
				<control type="button" id="903">
					<description>System Settings Button</description>
					<texturefocus>b-s-system-s.png</texturefocus>
					<texturenofocus>b-s-system.png</texturenofocus>
					<include>leftMenuPreplayButton</include>
					<onfocus condition="!Window.IsActive(16)">XBMC.ReplaceWindow(16)</onfocus>
					<onright>Dialog.Close(4997)</onright>
					<onfocus>Skin.SetString(SettingsCategory,system)</onfocus>
				</control>
				<control type="button" id="904">
					<description>Network Button</description>
					<texturefocus>b-s-network-s.png</texturefocus>
					<texturenofocus>b-s-network.png</texturenofocus>
					<include>leftMenuPreplayButton</include>
					<onfocus condition="!Window.IsActive(18)">XBMC.ReplaceWindow(18)</onfocus>
					<onright>Dialog.Close(4997)</onright>
					<onfocus>Skin.SetString(SettingsCategory,network)</onfocus>
				</control>
			</control>
		</control>
	</include>
</includes>
