<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">50</defaultcontrol>
	<onload condition="!Integer.IsGreater(Container(50).NumItems,0)">close</onload>
	<include content="PropertyIncludes">
	</include>
	<views>50</views>
	<controls>
		<control type="group">
			<visible>Integer.IsGreater(Container(50).NumItems,0)</visible>
			<!-- background -->
			<include content="Background">
				<param name="forced_visible" value="true"/>
			</include>
			<control type="group">
				<!-- Content -->
				<include>Window_OpenClose</include>
				<include content="List_View_53">
					<param name="id" value="50"/>
					<param name="mainlabel" value="$VAR[PlaylistMainLabel]"/>
					<param name="sublabel" value="$VAR[PlaylistSubLabel]"/>
					<param name="thumblabel" value="$INFO[ListItem.Title]"/>
				</include>
			</control>
			<!-- header bar -->
			<include content="HeaderBar">
				<param name="id">50</param>
				<param name="auto_hide">false</param>
				<param name="hide_header">Integer.IsGreaterOrEqual(Container(50).NumItems,8) + [Integer.IsGreaterOrEqual(Container(50).CurrentItem,5) | Container(50).HasPrevious]</param>
			</include>
			<!-- side panel -->
			<include content="SidePanel">
				<param name="onright">50</param>
			</include>
		</control>
	</controls>
</window>