<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="BigList_View_59">
		<param name="id">59</param>
		<definition>
			<control type="group">
				<include>Visible_OpenClose</include>
				<visible>Control.IsVisible($PARAM[id])</visible>
				<animation effect="slide" condition="Container.Content(episodes) + !Container.HasParent + [[!Integer.IsGreaterOrEqual(Container($PARAM[id]).CurrentItem,2) + !Container($PARAM[id]).HasPrevious] | Integer.IsLess(Container(59).NumItems,3)]" time="200" end="0,170">Conditional</animation>
				<animation effect="slide" condition="Container.Content(episodes) + Container.HasParent + [[!Integer.IsGreaterOrEqual(Container($PARAM[id]).CurrentItem,1) + !Container($PARAM[id]).HasPrevious] | Integer.IsLess(Container(59).NumItems,2)]" time="200" end="0,170">Conditional</animation>
				<control type="group">
					<animation type="Conditional" reversible="false" condition="!Container.HasParent + !Integer.IsGreaterOrEqual(Container($PARAM[id]).CurrentItem,4) + !Container($PARAM[id]).HasPrevious">
						<effect type="fade" time="150" delay="150" start="0" end="100" tween="sine" easing="inout"/>
					</animation>
					<animation type="Conditional" reversible="false" condition="!Container.HasParent + ![!Integer.IsGreaterOrEqual(Container($PARAM[id]).CurrentItem,4) + !Container($PARAM[id]).HasPrevious]">
						<effect type="slide" time="300" end="0,-305" start="0,0" tween="sine" easing="inout"/>
					</animation>
					<animation type="Conditional" reversible="false" condition="Container.HasParent + !Integer.IsGreaterOrEqual(Container($PARAM[id]).CurrentItem,3) + !Container($PARAM[id]).HasPrevious">
						<effect type="fade" time="150" delay="150" start="0" end="100" tween="sine" easing="inout"/>
					</animation>
					<animation type="Conditional" reversible="false" condition="Container.HasParent + ![!Integer.IsGreaterOrEqual(Container($PARAM[id]).CurrentItem,3) + !Container($PARAM[id]).HasPrevious]">
						<effect type="slide" time="300" end="0,-305" start="0,0" tween="sine" easing="inout"/>
					</animation>
					<left>70</left>
					<right>70</right>
					<top>-50</top>
					<!-- clearlogo -->
					<control type="image">
						<top>1</top>
						<right>0</right>
						<width>400</width>
						<height>100</height>
						<texture background="true">$VAR[ListItemClearlogo]</texture>
						<aspectratio align="right">keep</aspectratio>
					</control>
					<!-- poster -->
					<control type="group">
						<visible>
							!String.IsEmpty(Container.ShowTitle)
							| [String.Contains(Container.Folderpath,plugin.video.embycon) + [String.Contains(Container.Folderpath,media_type=season) | String.Contains(Container.Folderpath,media_type=series)]]
						</visible>
						<visible>
							[!Container.HasParent + [!String.IsEmpty(ListItemAbsolute(0).Art(tvshow.poster)) | !String.IsEmpty(ListItemAbsolute(0).Art(season.poster))]]
							| [Container.HasParent + [!String.IsEmpty(ListItemAbsolute(1).Art(tvshow.poster)) | !String.IsEmpty(ListItemAbsolute(1).Art(season.poster))]]
						</visible>
						<control type="image">
							<left>-4</left>
							<top>-4</top>
							<width>88</width>
							<height>128</height>
							<texture background="true">$VAR[IconBigList]</texture>
							<aspectratio scalediffuse="false">stretch</aspectratio>
							<bordersize>4</bordersize>
							<bordertexture border="4">items/shadow2.png</bordertexture>
						</control>
					</control>
					<!-- buttons -->
					<control type="group">
						<animation effect="slide" end="110,0" time="0" condition="[!String.IsEmpty(Container.ShowTitle) | [String.Contains(Container.Folderpath,plugin.video.embycon) + [String.Contains(Container.Folderpath,media_type=season) | String.Contains(Container.Folderpath,media_type=series)]]] + [[!Container.HasParent + !String.IsEmpty(ListItemAbsolute(0).Art(tvshow.poster))] | [Container.HasParent + !String.IsEmpty(ListItemAbsolute(1).Art(tvshow.poster))]]">Conditional</animation>
						<control type="label">
							<top>-4</top>
							<height>50</height>
							<right>400</right>
							<label>$VAR[View59Headline]</label>
							<aligny>top</aligny>
							<font>Reg37</font>
						</control>
						<control type="grouplist" id="100">
							<top>58</top>
							<height>70</height>
							<orientation>horizontal</orientation>
							<itemgap>5</itemgap>
							<onright>noop</onright>
							<onleft>900</onleft>
							<control type="button" id="101">
								<include>LightGreyButton</include>
								<label>$LOCALIZE[22083]</label>
								<onup>6666</onup>
								<ondown>$PARAM[id]</ondown>
								<onclick>RunScript(script.embuary.helper,action=playall)</onclick>
								<visible>String.StartsWith(Container.Folderpath,videodb://)</visible>
							</control>
							<control type="button" id="102">
								<include>LightGreyButton</include>
								<label>$LOCALIZE[31323]</label>
								<onup>6666</onup>
								<ondown>$PARAM[id]</ondown>
								<onclick>RunScript(script.embuary.helper,action=playall,method=shuffle)</onclick>
							</control>
							<control type="button" id="103">
								<include>LightGreyButton</include>
								<label>$LOCALIZE[31011]</label>
								<onup>6666</onup>
								<ondown>$PARAM[id]</ondown>
								<onclick>SetFocus(50)</onclick>
								<onclick condition="!String.StartsWith(ListItem.Path,plugin://plugin.video.embycon) + !Container.HasParent">RunScript(script.embuary.helper,action=jumptoshow_by_episode,dbid=$INFO[Container.ListItemAbsolute(0).DBID])</onclick>
								<onclick condition="!String.StartsWith(ListItem.Path,plugin://plugin.video.embycon) + Container.HasParent">RunScript(script.embuary.helper,action=jumptoshow_by_episode,dbid=$INFO[Container.ListItemAbsolute(1).DBID])</onclick>
								<onclick condition="String.StartsWith(ListItem.Path,plugin://plugin.video.embycon) + !Container.HasParent">RunScript(script.embuary.helper,action=goto,path='"plugin://plugin.video.embycon/?media_type=Series&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fShows%2f$INFO[Container.ListItemAbsolute(0).Property(series_id)]%2fSeasons%3fuserId%3d%7buserid%7d%26Fields%3d%7bfield_filters%7d%26format%3djson"',target=videos)</onclick>
								<onclick condition="String.StartsWith(ListItem.Path,plugin://plugin.video.embycon) + Container.HasParent">RunScript(script.embuary.helper,action=goto,path='"plugin://plugin.video.embycon/?media_type=Series&amp;mode=GET_CONTENT&amp;url=%7bserver%7d%2femby%2fShows%2f$INFO[Container.ListItemAbsolute(1).Property(series_id)]%2fSeasons%3fuserId%3d%7buserid%7d%26Fields%3d%7bfield_filters%7d%26format%3djson"',target=videos)</onclick>
								<visible>
									[String.StartsWith(Container.Folderpath,videodb://) + String.Contains(Container.Foldername,$LOCALIZE[20373]) | String.Contains(Container.Foldername,$LOCALIZE[31258])]
									| [String.Contains(Container.Folderpath,plugin.video.embycon) + [String.Contains(Container.Folderpath,media_type=season) | String.Contains(Container.Folderpath,media_type=series)]]
								</visible>
							</control>
						</control>
					</control>
				</control>
				<control id="$PARAM[id]" type="fixedlist">
					<visible>[$EXP[EpisodeViewVisible] + !Skin.HasSetting(ViewEpisodeToggle)] | Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(tvchannels)</visible>
					<animation effect="slide" time="0" end="0,-305" condition="!Container.HasParent + [Integer.IsEqual(Container($PARAM[id]).NumItems,2) | Integer.IsEqual(Container($PARAM[id]).NumItems,1)]">Conditional</animation>
					<animation effect="slide" time="0" end="0,-305" condition="Container.HasParent + [Integer.IsEqual(Container($PARAM[id]).NumItems,1)]">Conditional</animation>
					<height>100%</height>
					<onup condition="Container.Content(episodes)">100</onup>
					<onup condition="!Container.Content(episodes)">6666</onup>
					<onright condition="Control.IsVisible(17)">SetFocus(17)</onright>
					<onright condition="!Control.IsVisible(17) + Control.IsVisible(7000)">SetFocus(7000)</onright>
					<onright condition="!Control.IsVisible(17) + !Control.IsVisible(7000)">SetFocus(6666)</onright>
					<ondown>noop</ondown>
					<onleft condition="Window.IsVisible(musicplaylist)">100</onleft>
					<onleft condition="!Window.IsVisible(musicplaylist)">900</onleft>
					<defaultcontrol always="true">0</defaultcontrol>
					<focusposition>1</focusposition>
					<movement>1</movement>
					<orientation>vertical</orientation>
					<viewtype label="$LOCALIZE[537]">list</viewtype>
					<pagecontrol>17</pagecontrol>
					<include>ScrollTime</include>
					<preloaditems>4</preloaditems>
					<itemlayout height="305" width="1920">
						<control type="group">
							<left>70</left>
							<right>70</right>
							<top>122</top>
							<include content="BigListLayout">
								<param name="id">$PARAM[id]</param>
								<param name="mainlabel">$PARAM[mainlabel]</param>
								<param name="sublabel">$PARAM[sublabel]</param>
								<param name="thumblabel">$PARAM[thumblabel]</param>
							</include>
						</control>
					</itemlayout>
					<focusedlayout height="305" width="1920">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<right>70</right>
							<top>122</top>
							<include content="BigListLayout">
								<param name="id">$PARAM[id]</param>
								<param name="mainlabel">$PARAM[mainlabel]</param>
								<param name="sublabel">$PARAM[sublabel]</param>
								<param name="thumblabel">$PARAM[thumblabel]</param>
								<param name="focused" value="true"/>
							</include>
						</control>
					</focusedlayout>
				</control>
			</control>
		</definition>
	</include>
</includes>