<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- Move/TVShow -->
	<include name="VideoInfoLayout">
		<!-- Background -->
		<include>Background</include>
		<!-- Dialog -->
		<control type="grouplist" id="500">
			<include>Window_OpenClose</include>
			<width>100%</width>
			<height>100%</height>
			<orientation>vertical</orientation>
			<usecontrolcoords>true</usecontrolcoords>
			<include>ScrollTime</include>
			<itemgap>-80</itemgap>
			<pagecontrol>17</pagecontrol>
			<!-- Meta -->
			<control type="group">
				<top>90</top>
				<height>480</height>
				<!-- poster -->
				<include condition="!VideoPlayer.Content(episodes)">MetaVideoPoster</include>
				<!-- thumb -->
				<include condition="VideoPlayer.Content(episodes)">MetaVideoThumbnail</include>
				<!-- Meta -->
				<control type="group">
					<control type="group">
						<visible>!VideoPlayer.Content(episodes)</visible>
						<top>-5</top>
						<left>370</left>
						<right>70</right>
						<height>500</height>
						<control type="label">
							<right>440</right>
							<height>60</height>
							<label>$INFO[VideoPlayer.Title]</label>
							<font>Reg37</font>
							<aligny>top</aligny>
						</control>
						<!-- meta -->
						<control type="group">
							<top>60</top>
							<right>440</right>
							<height>40</height>
							<include>PlayerVideoInfos</include>
						</control>
						<!-- buttons -->
						<control type="list" id="100">
							<include>FocusBounce</include>
							<top>88</top>
							<height>130</height>
							<width>100%</width>
							<orientation>horizontal</orientation>
							<defaultcontrol always="true">0</defaultcontrol>
							<onright>noop</onright>
							<onleft>900</onleft>
							<ondown>200</ondown>
							<itemlayout height="130" width="146">
								<include content="IconMenu">
									<param name="id" value="100"/>
								</include>
							</itemlayout>
							<focusedlayout height="130" width="146">
								<include content="IconMenu">
									<param name="id" value="100"/>
									<param name="focused" value="true"/>
								</include>
							</focusedlayout>
							<content>
								<item>
									<visible>String.IsEmpty(VideoPlayer.Plot)</visible>
									<label>$LOCALIZE[15067]</label>
									<property name="icon">&#xf5ad;</property>
									<onclick>close</onclick>
								</item>
								<item>
									<visible>!String.IsEmpty(VideoPlayer.Plot)</visible>
									<label>$LOCALIZE[207]</label>
									<property name="icon">&#xf9a9;</property>
									<onclick>RunScript(script.embuary.helper,action=textviewer,header='$ESCVAR[TinyInfoDialogHeadline]',message='$ESCVAR[TinyInfoDialogPlot]')</onclick>
								</item>
								<item>
									<visible>System.HasAddon(script.embuary.info) + VideoPlayer.Content(movies)</visible>
									<label>TMDb</label>
									<property name="icon">&#xF64E;</property>
									<onclick>RunScript(script.embuary.info,call=movie,query='$ESCINFO[VideoPlayer.Title]',year=$INFO[VideoPlayer.Year])</onclick>
								</item>
								<item>
									<visible>System.HasAddon(script.embuary.info) + VideoPlayer.Content(episodes) + !String.IsEmpty(VideoPlayer.TVShowTitle)</visible>
									<label>TMDb</label>
									<property name="icon">&#xF64E;</property>
									<onclick>RunScript(script.embuary.info,call=tv,query=$INFO[VideoPlayer.TVShowTitle])</onclick>
								</item>
							</content>
						</control>
						<!-- genre -->
						<control type="group">
							<top>209</top>
							<include content="MetaGenre">
								<param name="visible" value="!VideoPlayer.Content(episodes)"/>
								<param name="type" value="VideoPlayer"/>
							</include>
						</control>
						<!-- plot -->
						<control type="textbox">
							<top>246</top>
							<width>100%</width>
							<height max="135">auto</height>
							<align>justify</align>
							<aligny>top</aligny>
							<label>$INFO[VideoPlayer.Tagline,[B],[/B][CR]]$INFO[VideoPlayer.Plot]</label>
							<font>Light24</font>
							<autoscroll>false</autoscroll>
						</control>
						<!-- video meta-->
						<control type="group">
							<top>390</top>
							<height>40</height>
							<include>MetaPlayerMediaInfo</include>
						</control>
					</control>
					<control type="group">
						<visible>VideoPlayer.Content(episodes)</visible>
						<top>-5</top>
						<left>524</left>
						<right>70</right>
						<height>500</height>
						<control type="label">
							<right>440</right>
							<height>60</height>
							<label>$INFO[VideoPlayer.TvShowTitle]</label>
							<font>Reg37</font>
							<aligny>top</aligny>
							<visible>VideoPlayer.Content(episodes)</visible>
						</control>
						<control type="label">
							<top>50</top>
							<right>440</right>
							<height>60</height>
							<label>$VAR[PlayerSeasonEpisode]$INFO[VideoPlayer.Title]</label>
							<font>Reg37</font>
							<aligny>top</aligny>
						</control>
						<!-- meta -->
						<control type="group">
							<top>110</top>
							<right>440</right>
							<height>40</height>
							<include>PlayerVideoInfos</include>
						</control>
						<!-- buttons -->
						<control type="list" id="100">
							<include>FocusBounce</include>
							<top>138</top>
							<height>130</height>
							<width>100%</width>
							<orientation>horizontal</orientation>
							<defaultcontrol always="true">0</defaultcontrol>
							<onright>noop</onright>
							<onleft>900</onleft>
							<ondown>200</ondown>
							<itemlayout height="130" width="146">
								<include content="IconMenu">
									<param name="id" value="100"/>
								</include>
							</itemlayout>
							<focusedlayout height="130" width="146">
								<include content="IconMenu">
									<param name="id" value="100"/>
									<param name="focused" value="true"/>
								</include>
							</focusedlayout>
							<content>
								<item>
									<visible>String.IsEmpty(VideoPlayer.Plot)</visible>
									<label>$LOCALIZE[15067]</label>
									<property name="icon">&#xf5ad;</property>
									<onclick>close</onclick>
								</item>
								<item>
									<visible>!String.IsEmpty(VideoPlayer.Plot)</visible>
									<label>$LOCALIZE[207]</label>
									<property name="icon">&#xf9a9;</property>
									<onclick>RunScript(script.embuary.helper,action=textviewer,header='$ESCVAR[TinyInfoDialogHeadline]',message='$ESCVAR[TinyInfoDialogPlot]')</onclick>
								</item>
								<item>
									<visible>System.HasAddon(script.embuary.info) + !String.IsEmpty(VideoPlayer.TVShowTitle)</visible>
									<label>TMDb</label>
									<property name="icon">&#xF64E;</property>
									<onclick>RunScript(script.embuary.info,call=tv,query='$ESCINFO[VideoPlayer.TVShowTitle]')</onclick>
								</item>
							</content>
						</control>
						<!-- plot -->
						<control type="textbox">
							<top>261</top>
							<width>100%</width>
							<height max="135">auto</height>
							<align>justify</align>
							<aligny>top</aligny>
							<label>$INFO[VideoPlayer.Tagline,[B],[/B][CR]]$INFO[VideoPlayer.Plot]</label>
							<font>Light24</font>
							<autoscroll>false</autoscroll>
						</control>
						<!-- video meta-->
						<control type="group">
							<top>405</top>
							<height>40</height>
							<include>MetaPlayerMediaInfo</include>
						</control>
					</control>
					<!-- logo -->
					<include>MetaPlayerClearlogo</include>
				</control>
			</control>
			<!-- Cast -->
			<include content="CastWidget">
				<param name="visible" value="[!String.IsEmpty(VideoPlayer.Cast) | !String.IsEmpty(Container(2000).ListItem.Cast)] + [Container(200).IsUpdating | Integer.IsGreater(Container(200).NumItems,0)]"/>
				<param name="id" value="200"/>
				<param name="onup" value="100"/>
				<param name="ondown" value="300"/>
				<param name="content" value="$VAR[PlayerCastContent]"/>
			</include>
			<!-- Media Info -->
			<include content="VideoMediaInfo">
				<param name="id" value="300"/>
				<param name="onup" value="200"/>
				<param name="ondown" value="noop"/>
			</include>
		</control>
		<!-- header bar -->
		<include content="HeaderBar">
			<param name="id">500</param>
		</include>
	</include>
	<!-- MediaInfo -->
	<include name="VideoMediaInfo">
		<control type="group">
			<height>350</height>
			<control type="button" id="$PARAM[id]">
				<include>NoTextures</include>
				<top>25</top>
				<left>45</left>
				<right>70</right>
				<height>87</height>
				<font>Med23</font>
				<align>left</align>
				<aligny>center</aligny>
				<textcolor>text_white</textcolor>
				<focusedcolor>$VAR[AccentColor]</focusedcolor>
				<label>$LOCALIZE[544]</label>
				<onclick>noop</onclick>
				<onup>$PARAM[onup]</onup>
				<ondown>$PARAM[ondown]</ondown>
				<onleft>900</onleft>
			</control>
			<control type="grouplist">
				<left>70</left>
				<right>70</right>
				<top>94</top>
				<itemgap>5</itemgap>
				<orientation>vertical</orientation>
				<usecontrolcoords>true</usecontrolcoords>
				<control type="label">
					<height>30</height>
					<wrapmultiline>false</wrapmultiline>
					<font>Reg20</font>
					<aligny>bottom</aligny>
					<label>[B]$LOCALIZE[21800]:[/B]    $INFO[Player.FileName]</label>
					<visible>!String.IsEmpty(Player.FileName)</visible>
				</control>
				<control type="label">
					<height>30</height>
					<wrapmultiline>false</wrapmultiline>
					<font>Reg20</font>
					<aligny>bottom</aligny>
					<label>[B]$LOCALIZE[573]:[/B]    $INFO[Player.Folderpath]</label>
					<visible>!String.IsEmpty(Player.Folderpath)</visible>
				</control>
				<control type="label">
					<height>30</height>
					<wrapmultiline>false</wrapmultiline>
					<font>Reg20</font>
					<aligny>bottom</aligny>
					<label>[B]$LOCALIZE[291]:[/B][UPPERCASE]    $VAR[PlayerResolution]$INFO[VideoPlayer.VideoCodec, ,]$INFO[VideoPlayer.VideoAspect, ,AR][/UPPERCASE]</label>
					<visible>!String.IsEmpty(VideoPlayer.VideoResolution) + [String.IsEqual(VideoPlayer.StereoscopicMode,mono) | String.IsEmpty(VideoPlayer.StereoscopicMode)]</visible>
				</control>
				<control type="label">
					<height>30</height>
					<wrapmultiline>false</wrapmultiline>
					<font>Reg20</font>
					<aligny>bottom</aligny>
					<label>[B]$LOCALIZE[291]:[/B][UPPERCASE]    $VAR[PlayerResolution]$INFO[VideoPlayer.VideoCodec, ,]$INFO[VideoPlayer.VideoAspect, ,AR][/UPPERCASE]$INFO[VideoPlayer.StereoscopicMode,  [UPPERCASE][B]$LOCALIZE[36501]:[/B][/UPPERCASE]  ]</label>
					<visible>!String.IsEmpty(VideoPlayer.VideoResolution) + String.IsEqual(VideoPlayer.StereoscopicMode,mono)</visible>
				</control>
				<control type="label">
					<height>30</height>
					<wrapmultiline>false</wrapmultiline>
					<font>Reg20</font>
					<aligny>bottom</aligny>
					<label>[B]$LOCALIZE[292]:[/B][UPPERCASE]    $INFO[Window(home).Property(VideoPlayer.AudioLanguage.1),, ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.1),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.1),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.2),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.2),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.2),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.3),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.3),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.3),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.4),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.4),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.4),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.5),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.5),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.5),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.6),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.6),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.6),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.7),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.7),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.7),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.8),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.8),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.8),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.9),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.9),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.9),, ]$INFO[Window(home).Property(VideoPlayer.AudioLanguage.10),| , ]$INFO[Window(home).Property(VideoPlayer.AudioChannels.10),,ch ]$INFO[Window(home).Property(VideoPlayer.AudioCodec.10),, ][/UPPERCASE]</label>
					<visible>!String.IsEmpty(Window(home).Property(VideoPlayer.AudioLanguage.1))</visible>
				</control>
				<control type="label">
					<height>30</height>
					<wrapmultiline>false</wrapmultiline>
					<font>Reg20</font>
					<aligny>bottom</aligny>
					<label>[B]$LOCALIZE[459]:[/B][UPPERCASE]    $INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.1),, ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.2),| , ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.3),| , ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.4),| , ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.5),| , ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.6),| , ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.7),| , ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.8),| , ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.9),| , ]$INFO[Window(home).Property(VideoPlayer.SubtitleLanguage.10),| , ][/UPPERCASE]</label>
					<visible>!String.IsEmpty(Window(home).Property(VideoPlayer.SubtitleLanguage.1))</visible>
				</control>
			</control>
		</control>
	</include>
	<!-- PVR -->
	<include name="VideoPVRInfoLayout">
		<!-- Background -->
		<include>Background</include>
		<!-- info -->
		<control type="group">
			<include>Window_OpenClose</include>
			<include>FullscreenDimensions</include>
			<control type="group">
				<top>90</top>
				<height>950</height>
				<!-- thumb -->
				<include condition="String.IsEmpty(Skin.String(EPGar))">MetaVideoThumbnail</include>
				<include condition="String.IsEqual(Skin.String(EPGar),2to3)">MetaVideoPoster</include>
				<include condition="String.IsEqual(Skin.String(EPGar),4to3)">MetaVideo4to3Thumbnail</include>
				<!-- meta -->
				<control type="group">
					<include condition="String.IsEqual(Skin.String(EPGar),2to3)" content="ParamLeft">
						<param name="left" value="370"/>
					</include>
					<include condition="!String.IsEqual(Skin.String(EPGar),2to3)" content="ParamLeft">
						<param name="left" value="524"/>
					</include>
					<top>-5</top>
					<right>70</right>
					<height>920</height>
					<control type="label">
						<height>50</height>
						<label>$INFO[VideoPlayer.Title]</label>
						<font>Reg37</font>
						<aligny>top</aligny>
						<visible>!String.IsEmpty(VideoPlayer.Title)</visible>
					</control>
					<control type="label">
						<height>50</height>
						<label>$INFO[VideoPlayer.ChannelName]</label>
						<font>Reg37</font>
						<aligny>top</aligny>
						<visible>String.IsEmpty(VideoPlayer.Title)</visible>
					</control>
					<control type="label">
						<top>50</top>
						<height>60</height>
						<label fallback="-">$VAR[PlayerEpisodeName]</label>
						<font>Reg37</font>
						<aligny>top</aligny>
					</control>
					<!-- meta -->
					<control type="group">
						<top>110</top>
						<height>40</height>
						<include>PlayerVideoInfos</include>
					</control>
					<!-- flags -->
					<control type="group">
						<top>150</top>
						<include content="MetaFlags">
							<param name="type" value="PVRFlags"/>
						</include>
					</control>
					<!-- buttons -->
					<control type="list" id="100">
						<top>198</top>
						<height>130</height>
						<width>100%</width>
						<orientation>horizontal</orientation>
						<defaultcontrol always="true">0</defaultcontrol>
						<onright>noop</onright>
						<onleft>900</onleft>
						<onup>6666</onup>
						<include>FocusBounce</include>
						<itemlayout height="130" width="146">
							<include content="IconMenu">
								<param name="id" value="100"/>
							</include>
						</itemlayout>
						<focusedlayout height="130" width="146">
							<include content="IconMenu">
								<param name="id" value="100"/>
								<param name="focused" value="true"/>
							</include>
						</focusedlayout>
						<content>
							<item>
								<visible>PVR.CanRecordPlayingChannel</visible>
								<label>$VAR[RecToggleLabel]</label>
								<property name="icon">&#xf44a;</property>
								<property name="color">$VAR[RecToggleColor]</property>
								<onclick>Action(record)</onclick>
							</item>
							<item>
								<visible>!String.IsEmpty(VideoPlayer.Plot)</visible>
								<label>$LOCALIZE[207]</label>
								<property name="icon">&#xf9a9;</property>
								<onclick>RunScript(script.embuary.helper,action=textviewer,header='$ESCINFO[VideoPlayer.Title]',message='$ESCVAR[TinyInfoDialogPlot]')</onclick>
							</item>
						</content>
					</control>
					<!-- genre -->
					<control type="group">
						<top>319</top>
						<include content="MetaGenre">
							<param name="type" value="VideoPlayer"/>
						</include>
					</control>
					<!-- plot -->
					<control type="textbox">
						<top>356</top>
						<width>100%</width>
						<height max="600">auto</height>
						<align>justify</align>
						<aligny>top</aligny>
						<label fallback="31156">$VAR[PVRPlot]</label>
						<font>Light24</font>
						<autoscroll>false</autoscroll>
					</control>
				</control>
			</control>
		</control>
		<!-- header bar -->
		<include content="HeaderBar">
			<param name="id">500</param>
		</include>
	</include>
</includes>
