<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- HeaderBar -->
	<include name="HeaderBar">
		<param name="id">10</param>
		<param name="auto_hide">true</param>
		<param name="hide_header">false</param>
		<param name="header_label">$VAR[ContainerContentPrefix]$VAR[ContainerContent][LIGHT]$VAR[ContainerCountLabel,[COLOR text_header_sublabel]  |  ,[/COLOR]][/LIGHT]</param>
		<param name="content">HeaderDefault</param>
		<definition>
			<!-- Top bar -->
			<control type="group">
				<animation effect="slide" start="0,0" end="0,-80"  time="500" delay="100" condition="[String.IsEmpty(Window(home).Property(ShowHeader)) | Window.IsVisible(busydialognocancel)] + !ControlGroup(6666).HasFocus + !ControlGroup(6667).HasFocus + [[Container($PARAM[id]).HasPrevious + !Integer.IsEqual(Container($PARAM[id]).CurrentItem,1) + $PARAM[auto_hide]] | [$PARAM[hide_header]]]" tween="sine" easing="inout">Conditional</animation>
				<control type="group">
					<include>Animation_ScrollbarIsVisible</include>
					<visible>!$EXP[InfoDialogActive]</visible>
					<control type="image">
						<top>0</top>
						<left>0</left>
						<right>0</right>
						<height>58</height>
						<texture>special://skin/extras/themes/$VAR[SkinTheme]/header.png</texture>
						<aspectratio>stretch</aspectratio>
						<visible>true</visible>
					</control>
				</control>
				<control type="image">
					<top>0</top>
					<left>0</left>
					<right>0</right>
					<height>68</height>
					<texture colordiffuse="header_shadow" border="2">common/gradient.png</texture>
					<aspectratio>stretch</aspectratio>
					<visible>$EXP[InfoDialogActive]</visible>
					<animation effect="slide" start="0,0" end="-8,0"  time="0" condition="Control.IsVisible(17)">Conditional</animation>
				</control>
				<control type="grouplist">
					<left>20</left>
					<height>58</height>
					<width>1920</width>
					<top>0</top>
					<orientation>horizontal</orientation>
					<itemgap>15</itemgap>
					<control type="label">
						<font>Material24</font>
						<label>&#xf04d;</label>
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<visible>!Window.IsVisible(loginscreen) + !Window.Is(home)</visible>
					</control>
					<control type="image">
						<animation effect="slide" end="0,19" time="0" condition="true">Conditional</animation>
						<height>20</height>
						<width>20</width>
						<texture colordiffuse="$VAR[AccentColor]">common/embuary_sign.png</texture>
						<aspectratio aligny="center">keep</aspectratio>
						<visible>Window.Is(home) | Window.IsVisible(loginscreen)</visible>
					</control>
					<control type="label">
						<animation effect="slide" end="-5,20" time="0" condition="true">Conditional</animation>
						<height>17</height>
						<width>auto</width>
						<font>Med17</font>
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<label>$VAR[HeaderCustomDeviceName]</label>
						<aligny>center</aligny>
						<visible>Window.Is(home) | Window.IsVisible(loginscreen)</visible>
					</control>
					<control type="label">
						<width>520</width>
						<scroll>true</scroll>
						<label>$PARAM[header_label][LIGHT][COLOR text_header_sublabel]$INFO[control.getlabel(10),  |  ][/COLOR][/LIGHT]</label>
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<visible>[Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(videos) | Container.Content(files) | Container.Content(episodes)] + !String.IsEqual(control.getlabel(10),$LOCALIZE[16100]) + Window.IsVisible(MyVideoNav.xml) + Control.IsEnabled(10) + !String.IsEmpty(Control.getLabel(10)) + !$EXP[InfoDialogActive]</visible>
					</control>
					<control type="label">
						<include content="ParamWidth" condition="$EXP[InfoDialogActive]">
							<param name="width" value="80%"/>
						</include>
						<width>520</width>
						<scroll>true</scroll>
						<label>$PARAM[header_label]</label>
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<visible>![[Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(videos) | Container.Content(files) | Container.Content(episodes)] + !String.IsEqual(control.getlabel(10),$LOCALIZE[16100]) + Window.IsVisible(MyVideoNav.xml) + Control.IsEnabled(10) + !String.IsEmpty(Control.getLabel(10)) + !$EXP[InfoDialogActive]]</visible>
					</control>
				</control>
				<control type="grouplist" id="6666">
					<visible>!Window.IsVisible(loginscreen) + !$EXP[InfoDialogActive]</visible>
					<defaultcontrol always="true">6600</defaultcontrol>
					<centerleft>50%</centerleft>
					<height>58</height>
					<width>1300</width>
					<top>0</top>
					<align>center</align>
					<orientation>horizontal</orientation>
					<itemgap>20</itemgap>
					<ondown>SetFocus($PARAM[id])</ondown>
					<onleft>900</onleft>
					<onright>6667</onright>
					<onback condition="Window.IsVisible(addonsettings)">1100</onback>
					<include>$PARAM[content]</include>
				</control>
				<control type="grouplist" id="6667">
					<include>Animation_ScrollbarIsVisible</include>
					<top>0</top>
					<height>58</height>
					<right>20</right>
					<orientation>horizontal</orientation>
					<defaultcontrol always="true">6668</defaultcontrol>
					<itemgap>15</itemgap>
					<align>right</align>
					<onleft>6666</onleft>
					<ondown>SetFocus($PARAM[id])</ondown>
					<onback condition="Window.IsVisible(addonsettings)">1100</onback>
					<!-- buttons -->
					<control type="button" id="6668">
						<font>Material24</font>
						<include>HeaderButton</include>
						<label>&#xf349;</label>
						<include>SearchAction</include>
						<visible>!Window.IsVisible(loginscreen) + !$EXP[InfoDialogActive]</visible>
						<visible>!Window.IsVisible(1115)</visible>
					</control>
					<control type="button" id="6669">
						<font>Material24</font>
						<label>&#xf236;</label>
						<include>HeaderButton</include>
						<onclick>SetFocus(4000)</onclick>
						<visible>!Window.IsVisible(loginscreen) + !$EXP[InfoDialogActive]</visible>
						<visible>[
							Window.IsVisible(videos)
							| Window.IsVisible(music)
							| Window.IsVisible(MyPVRChannels.xml)
							| Window.IsVisible(MyPVRrecordings.xml)
							| Window.IsVisible(MyPVRTimers.xml)
							| Window.IsVisible(MyPVRSearch.xml)
							| Window.IsVisible(programs)
							| Window.IsVisible(pictures)
							| Window.IsVisible(addonbrowser)
							| Window.IsVisible(eventlog)
							]
							+ !Window.IsVisible(1114)
							+ !Skin.HasSetting(KioskMode)
							+ !Window.IsVisible(favourites)
						</visible>
					</control>
					<control type="button" id="6670">
						<font>Material24</font>
						<label>&#xf56c;</label>
						<include>HeaderButton</include>
						<onclick>SetFocus(4100)</onclick>
						<visible>!Window.IsVisible(loginscreen) + !$EXP[InfoDialogActive]</visible>
						<visible>Integer.IsGreater(Container(4100).NumItems,1) + !Skin.HasSetting(KioskMode)</visible>
					</control>
					<control type="button" id="6672">
						<font>Material24</font>
						<label>&#xf279;</label>
						<include>HeaderButton</include>
						<onclick condition="Integer.IsGreater(Playlist.Length(video),1) + !Integer.IsGreater(Playlist.Length(music),1)">ActivateWindow(videoplaylist)</onclick>
						<onclick condition="!Integer.IsGreater(Playlist.Length(video),1) + Integer.IsGreater(Playlist.Length(music),1)">ActivateWindow(musicplaylist)</onclick>
						<visible>!Window.IsVisible(loginscreen) + !$EXP[InfoDialogActive]</visible>
						<visible>[
							[!VideoPlayer.Content(livetv) + Integer.IsGreater(Playlist.Length(video),1)]
							| Integer.IsGreater(Playlist.Length(music),1)
							]
							+ !Window.IsVisible(MyPlaylist.xml)
						</visible>
					</control>
					<control type="button" id="6671">
						<font>Material22</font>
						<label>&#xf454;</label>
						<include>HeaderButton</include>
						<onclick>ActivateWindow(playercontrols)</onclick>
						<visible>!Window.IsVisible(loginscreen) + !$EXP[InfoDialogActive]</visible>
						<visible>[Player.HasMedia + !Player.HasGame] | System.HasMediaAudioCD | System.HasMediaDVD</visible>
					</control>
					<control type="button" id="6620">
						<font>Material24</font>
						<label>&#xfa23;</label>
						<include>HeaderButton</include>
						<onclick>fullscreen</onclick>
						<visible>!Window.IsVisible(loginscreen) + !$EXP[InfoDialogActive]</visible>
						<visible>Player.HasMedia</visible>
					</control>
					<!-- info -->
					<control type="label">
						<font>Material24</font>
						<label>&#xf40d;</label>
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<visible>Player.HasMedia + !Player.HasGame + !Player.Paused</visible>
					</control>
					<control type="label">
						<font>Material24</font>
						<label>&#xf3e6;</label>
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<visible>Player.HasMedia + !Player.HasGame + Player.Paused</visible>
					</control>
					<control type="label">
						<font>Material24</font>
						<label>&#xf75e;</label>
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<visible>Player.Muted</visible>
					</control>
					<control type="label">
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<label>$INFO[Weather.Temperature]</label>
						<visible>!Skin.HasSetting(HideHeaderWeather) + !String.IsEmpty(Weather.Temperature) + !String.Contains(Weather.Temperature,$LOCALIZE[503]) + !String.IsEqual(Weather.fanartcode,na) + Weather.IsFetched</visible>
					</control>
					<control type="label">
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<label>$INFO[System.Time]</label>
					</control>
					<control type="group">
						<visible>!Window.IsVisible(loginscreen)</visible>
						<animation effect="slide" end="0,10" time="0" condition="true">Conditional</animation>
						<height>38</height>
						<width>38</width>
						<control type="group">
							<visible>String.IsEmpty(Window(Home).Property(emby_sync))</visible>
							<control type="image">
								<height>38</height>
								<width>38</width>
								<texture colordiffuse="thumb_background_fallback_secondary">common/avatar_diffuse.png</texture>
							</control>
							<control type="image">
								<height>38</height>
								<width>38</width>
								<texture diffuse="common/avatar_diffuse.png">$VAR[UserAvatar]</texture>
								<aspectratio scalediffuse="false">stretch</aspectratio>
							</control>
						</control>
						<control type="group">
							<visible>!String.IsEmpty(Window(Home).Property(emby_sync))</visible>
							<control type="image">
								<height>38</height>
								<width>38</width>
								<texture colordiffuse="$VAR[AccentColor]">common/avatar_diffuse.png</texture>
							</control>
							<control type="label">
								<animation effect="fade" start="20" time="1000" condition="true" pulse="true">Conditional</animation>
								<font>Material24</font>
								<label>&#xf4e6;</label>
								<height>38</height>
								<width>38</width>
								<align>center</align>
								<include content="HeaderButton">
									<param name="color" value="text_white"/>
								</include>
							</control>
						</control>
					</control>
				</control>
			</control>
			<!-- Currently playing -->
			<control type="group">
				<visible>[
					Window.IsVisible(home)
					| Window.IsVisible(1120)
					| Window.IsVisible(1121)
					| Window.IsVisible(1122)
					| Window.IsVisible(1123)
					| Window.IsVisible(1124)
					| Window.IsVisible(1125)
					| Window.IsVisible(1126)
					| Window.IsVisible(1130)
					| Window.IsVisible(1131)
					| Window.IsVisible(1114)
					| Window.IsVisible(1132)
					| Window.IsVisible(MyPVRGuide.xml)
					| Window.IsVisible(settings)
					| Window.IsVisible(favourites)
					]
					+ Player.HasMedia
					+ !Player.HasGame
					+ !Window.IsVisible(extendedprogressdialog)
					+ !Window.IsVisible(fullscreeninfo)
					+ !Window.IsVisible(fullscreenvideo)
					+ !Window.IsVisible(visualisation)
					+ !Window.IsVisible(addonsettings)
					+ !$EXP[InfoDialogActive]
				</visible>
				<animation effect="slide" start="0,0" end="0,58"  time="500" tween="sine" easing="inout">Hidden</animation>
				<animation effect="slide" start="0,58" end="0,0"  time="500" tween="sine" easing="inout">Visible</animation>
				<animation effect="slide" start="0,0" end="0,80"  time="500" delay="100" condition="!ControlGroup(6666).HasFocus + !ControlGroup(6667).HasFocus + [[Container($PARAM[id]).HasPrevious + !Integer.IsEqual(Container($PARAM[id]).CurrentItem,1) + $PARAM[auto_hide]] | [$PARAM[hide_header]]]" tween="sine" easing="inout">Conditional</animation>
				<control type="image">
					<height>61</height>
					<bottom>0</bottom>
					<left>0</left>
					<right>0</right>
					<texture colordiffuse="footerbar">common/white.jpg</texture>
					<aspectratio>stretch</aspectratio>
					<visible>false</visible>
				</control>
				<control type="image">
					<height>58</height>
					<bottom>0</bottom>
					<left>0</left>
					<right>0</right>
					<texture>special://skin/extras/themes/$VAR[SkinTheme]/header.png</texture>
					<aspectratio>stretch</aspectratio>
					<visible>true</visible>
				</control>
				<control type="grouplist">
					<left>20</left>
					<height>58</height>
					<width>1920</width>
					<bottom>0</bottom>
					<orientation>horizontal</orientation>
					<itemgap>15</itemgap>
					<control type="image">
						<animation effect="slide" end="0,10" time="0" condition="true">Conditional</animation>
						<height>38</height>
						<width>28</width>
						<texture>$VAR[PlayerIcon]</texture>
						<aspectratio>keep</aspectratio>
						<visible>!String.IsEmpty(Player.Art(tvshow.poster)) | !String.IsEmpty(Player.Art(poster))</visible>
					</control>
					<control type="image">
						<animation effect="slide" end="0,10" time="0" condition="true">Conditional</animation>
						<height>38</height>
						<width>58</width>
						<texture>$VAR[PlayerIcon]</texture>
						<aspectratio>keep</aspectratio>
						<visible>String.IsEmpty(Player.Art(tvshow.poster)) + String.IsEmpty(Player.Art(poster))</visible>
					</control>
					<control type="label">
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<label>$VAR[PlayerFullLabel]</label>
						<visible>Player.HasMedia</visible>
					</control>
				</control>
				<control type="grouplist">
					<include>Animation_ScrollbarIsVisible</include>
					<bottom>0</bottom>
					<height>58</height>
					<width>400</width>
					<right>20</right>
					<orientation>horizontal</orientation>
					<itemgap>20</itemgap>
					<align>right</align>
					<control type="label">
						<include content="HeaderButton">
							<param name="color" value="text_header_mainlabel"/>
						</include>
						<label>$VAR[PlayerTimeLabels]</label>
					</control>
				</control>
				<control type="progress">
					<bottom>56</bottom>
					<left>0</left>
					<right>0</right>
					<height>3</height>
					<reveal>true</reveal>
					<info>Player.Progress</info>
					<texturebg colordiffuse="grey">common/white.jpg</texturebg>
					<lefttexture></lefttexture>
					<midtexture colordiffuse="$VAR[PlayerAccentColor]">common/white.jpg</midtexture>
					<righttexture></righttexture>
					<overlaytexture></overlaytexture>
					<visible>Player.HasMedia + !VideoPlayer.HasEpg</visible>
				</control>
				<control type="progress">
					<bottom>56</bottom>
					<left>0</left>
					<right>0</right>
					<height>3</height>
					<reveal>true</reveal>
					<info>PVR.EpgEventProgress</info>
					<texturebg colordiffuse="grey">common/white.jpg</texturebg>
					<lefttexture></lefttexture>
					<midtexture colordiffuse="$VAR[PlayerAccentColor]">common/white.jpg</midtexture>
					<righttexture></righttexture>
					<overlaytexture></overlaytexture>
					<visible>Player.HasMedia + VideoPlayer.HasEpg</visible>
				</control>
			</control>
			<!-- ScrollLetter -->
			<include condition="Window.IsMedia + !$EXP[InfoDialogActive]">ScrollSortLetter</include>
		</definition>
	</include>
	<!-- Defaults -->
	<include name="HeaderDefault">
		<control type="button" id="6600">
			<include>HeaderButton</include>
			<label>$LOCALIZE[31000]</label>
			<onclick>Dialog.Close(all,true)</onclick>
			<onclick>ActivateWindow(home)</onclick>
			<visible>!Window.Is(home)</visible>
		</control>
		<control type="button" id="6605">
			<include>HeaderButton</include>
			<label>$LOCALIZE[31252]</label>
			<onclick>ActivateWindow(1124)</onclick>
			<visible>Window.IsVisible(MyPVRGuide.xml) | Window.IsVisible(MyPVRChannels.xml) | Window.IsVisible(MyPVRTimers.xml) | Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(MyPVRSearch.xml)</visible>
		</control>
		<control type="button" id="6602">
			<include>HeaderButton</include>
			<label>$LOCALIZE[31180]</label>
			<onclick>ActivateWindow(videos,library://video/movies/titles.xml/,return)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,videodb://movies)
				| [Window.IsVisible(1126) + String.IsEqual(Window(home).Property(RecommendedType),movie)]
				| [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://movies/)]
				]
				+ Library.HasContent(Movies)
				+ !Window.IsVisible(favourites)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6614">
			<include>HeaderButton</include>
			<label>$LOCALIZE[31179]</label>
			<onclick>ActivateWindow(videos,library://video/tvshows/titles.xml/,return)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,videodb://tvshows)
				| [Window.IsVisible(1126) + String.IsEqual(Window(home).Property(RecommendedType),tvshow)]
				| [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://tvshows/)]
				| Window.IsVisible(1132)
				]
				+ Library.HasContent(tvshows)
				+ !Window.IsVisible(favourites)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6621">
			<include>HeaderButton</include>
			<label>$LOCALIZE[31017]</label>
			<onclick>ClearProperty(RecommendedTag,homne)</onclick>
			<include>ForceReloadAction</include>
			<onclick condition="String.IsEqual(Container.FolderPath,library://video/movies/) | Container.Content(movies) | Container.Content(sets) | [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://movies/)] | [Window.IsVisible(1126) + String.IsEqual(Window(home).Property(RecommendedType),movie)]">SetProperty(RecommendedType,movie,home)</onclick>
			<onclick condition="String.IsEqual(Container.FolderPath,library://video/tvshows/) | Container.Content(tvshows) | Window.IsVisible(1132) | [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://tvshows/)] | [Window.IsVisible(1126) + String.IsEqual(Window(home).Property(RecommendedType),tvshow)]">SetProperty(RecommendedType,tvshow,home)</onclick>
			<onclick>ActivateWindow(1126)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,videodb://movies)
				| String.StartsWith(Container.FolderPath,videodb://tvshows)
				| Window.IsVisible(1126)
				| [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://movies/)]
				| [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://tvshows/)]
				| Window.IsVisible(1132)
				]
				+ Library.HasContent(Movies)
				+ !Window.IsVisible(favourites)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6603">
			<include>HeaderButton</include>
			<label>$LOCALIZE[31169]</label>
			<onclick condition="!Window.IsActive(videos)">ActivateWindow(videos,library://video/movies/sets.xml/,return)</onclick>
			<onclick condition="Window.IsActive(videos)">Container.Update(library://video/movies/sets.xml/)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,videodb://movies)
				| [Window.IsVisible(1126) + String.IsEqual(Window(home).Property(RecommendedType),movie)]
				| [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://movies/)]
				]
				+ Library.HasContent(MovieSets)
				+ !Window.IsVisible(favourites)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6613">
			<include>HeaderButton</include>
			<label>$LOCALIZE[135]</label>
			<include>ForceReloadAction</include>
			<onclick condition="String.IsEqual(Container.FolderPath,library://video/movies/) | Container.Content(movies) | Container.Content(sets) | [Window.IsVisible(1126) + String.IsEqual(Window(home).Property(RecommendedType),movie)]">SetProperty(ListGenres,plugin://script.embuary.helper/?info=getgenre&amp;type=movie,home)</onclick>
			<onclick condition="String.IsEqual(Container.FolderPath,library://video/tvshows/) | Container.Content(tvshows) | Window.IsVisible(1132) | [Window.IsVisible(1126) + String.IsEqual(Window(home).Property(RecommendedType),tvshow)]">SetProperty(ListGenres,plugin://script.embuary.helper/?info=getgenre&amp;type=tvshow,home)</onclick>
			<onclick>ActivateWindow(1114)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,videodb://movies)
				| String.StartsWith(Container.FolderPath,videodb://tvshows)
				| Window.IsVisible(1126)
				| [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://movies/)]
				| [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://tvshows/)]
				| Window.IsVisible(1132)
				]
				+ !Window.IsVisible(favourites)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6615">
			<include>HeaderButton</include>
			<label>$LOCALIZE[31154]</label>
			<onclick>ActivateWindow(1132,return)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,videodb://tvshows)
				| [Window.IsVisible(1126) + String.IsEqual(Window(home).Property(RecommendedType),tvshow)]
				| [Window.IsVisible(1114) + String.Contains(Window(home).Property(ListGenres),videodb://tvshows/)]
				| Window.IsVisible(1132)
				]
				+ Library.HasContent(tvshows)
				+ System.HasAddon(script.embuary.info)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6616">
			<include>HeaderButton</include>
			<label>$LOCALIZE[133]</label>
			<onclick>ActivateWindow(music,musicdb://artists/,return)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,musicdb://)
				| String.IsEqual(Container.FolderPath,special://musicplaylists/)
				]
				+ Library.HasContent(music)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6617">
			<include>HeaderButton</include>
			<label>$LOCALIZE[132]</label>
			<onclick>ActivateWindow(music,musicdb://albums/,return)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,musicdb://)
				| String.IsEqual(Container.FolderPath,special://musicplaylists/)
				]
				+ Library.HasContent(music)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6618">
			<include>HeaderButton</include>
			<label>$LOCALIZE[134]</label>
			<onclick>ActivateWindow(music,musicdb://songs/,return)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,musicdb://)
				| String.IsEqual(Container.FolderPath,special://musicplaylists/)
				]
				+ Library.HasContent(music)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6619">
			<include>HeaderButton</include>
			<label>$LOCALIZE[136]</label>
			<onclick>ActivateWindow(music,special://musicplaylists/,return)</onclick>
			<visible>[
				String.StartsWith(Container.FolderPath,musicdb://)
				| String.IsEqual(Container.FolderPath,special://musicplaylists/)
				]
				+ Library.HasContent(music)
				+ !$EXP[IsPlugin]
			</visible>
		</control>
		<control type="button" id="6601">
			<include>HeaderButton</include>
			<label>$LOCALIZE[1036]</label>
			<onclick>ActivateWindow(favourites)</onclick>
			<visible>!Window.Is(favourites)</visible>
		</control>
		<control type="button" id="6606">
			<include>HeaderButton</include>
			<label>$LOCALIZE[19141]: $INFO[Control.GetLabel(29)]</label>
			<onclick>SendClick(28)</onclick>
			<visible>[Window.IsVisible(MyPVRChannels.xml)]</visible>
		</control>
		<control type="button" id="6608">
			<include>HeaderButton</include>
			<width>auto</width>
			<textcolor>panel_textcolor</textcolor>
			<focusedcolor>$VAR[AccentColor]</focusedcolor>
			<label>$LOCALIZE[31111]</label>
			<onclick>SetFocus(4000)</onclick>
			<visible>Window.IsVisible(weather) + !Skin.HasSetting(KioskMode)</visible>
		</control>
	</include>
</includes>