<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol>50</defaultcontrol>
    <menucontrol>9051</menucontrol>
    <onload>SetProperty(Window.HasSettings,True,home)</onload>
    <onload>ClearProperty(MediaMenu,Home)</onload>
    <onunload>ClearProperty(MediaMenu,Home)</onunload>
    <onunload>ClearProperty(Window.HasSettings,Home)</onunload>
    <allowoverlay>no</allowoverlay>
    <views>50,51,501,502</views>
    <controls>
        <include>CommonBackground</include>
        <control type="group">
            <description>Recordings group</description>
            <visible>Control.IsVisible(50)</visible>
            <include>VisibleFadeEffect</include>
            <include>Animation.Common</include>
            <top>180</top>
            <left>90</left>
            <control type="group">
                <visible>Integer.IsGreater(Container(50).NumItems,0)</visible>
                <control type="image">
                    <width>1140</width>
                    <height>120</height>
                    <visible>Control.HasFocus(50)</visible>
                    <animation effect="fade" time="320" delay="200">Visible</animation>
                    <animation effect="fade" time="50">Hidden</animation>
                    <texture colordiffuse="FocusColor" border="5">listselect_fo.png</texture>
                    <animation effect="slide" end="0,120" time="300" tween="cubic" easing="inout" condition="Integer.IsGreater(Container(50).Row,5)">Conditional</animation>
                    <animation effect="slide" end="0,120" time="300" tween="cubic" easing="inout" condition="Integer.IsGreater(Container(50).Row,4)">Conditional</animation>
                    <animation effect="slide" end="0,120" time="300" tween="cubic" easing="inout" condition="Integer.IsGreater(Container(50).Row,3)">Conditional</animation>
                    <animation effect="slide" end="0,120" time="300" tween="cubic" easing="inout" condition="Integer.IsGreater(Container(50).Row,2)">Conditional</animation>
                    <animation effect="slide" end="0,120" time="300" tween="cubic" easing="inout" condition="Integer.IsGreater(Container(50).Row,1)">Conditional</animation>
                    <animation effect="slide" end="0,120" time="300" tween="cubic" easing="inout" condition="Integer.IsGreater(Container(50).Row,0)">Conditional</animation>
                </control>
            </control>
            <control type="panel" id="50">
                <width>1140</width>
                <height>840</height>
                <onleft>SetProperty(MediaMenu,True,home)</onleft>
                <onleft>SetFocus(9050)</onleft>
                <onright>72</onright>
                <onup>50</onup>
                <ondown>50</ondown>
                <viewtype label="535">list</viewtype>
                <pagecontrol>60</pagecontrol>
                <scrolltime tween="quadratic">200</scrolltime>
                <itemlayout height="120" width="1140">
                    <control type="image">
                        <left>10</left>
                        <top>10</top>
                        <width>100</width>
                        <height>100</height>
                        <aspectratio scalediffuse="false">keep</aspectratio>
                        <texture background="true" diffuse="diffuse/list-icon.png">$INFO[ListItem.Icon]</texture>
                    </control>
                    <control type="label">
                        <left>135</left>
                        <top>0</top>
                        <width>960</width>
                        <height>120</height>
                        <font>font30</font>
                        <selectedcolor>SelectedColor</selectedcolor>
                        <label>$INFO[ListItem.Label]</label>
                    </control>
                    <control type="label">
                        <left>100</left>
                        <width>960</width>
                        <height>120</height>
                        <font>font15</font>
                        <align>right</align>
                        <selectedcolor>SelectedColor</selectedcolor>
                        <label>$INFO[ListItem.Label2]</label>
                    </control>
                    <include content="OverlayList">
                        <param name="OverlayListLeft" value="1071" />
                        <param name="OverlayListTop" value="44" />
                    </include>
                </itemlayout>
                <focusedlayout height="120" width="1140">
                    <control type="image">
                        <left>10</left>
                        <top>10</top>
                        <width>100</width>
                        <height>100</height>
                        <aspectratio scalediffuse="false">keep</aspectratio>
                        <texture background="true" diffuse="diffuse/list-icon.png">$INFO[ListItem.Icon]</texture>
                    </control>
                    <control type="label">
                        <left>135</left>
                        <top>0</top>
                        <width>960</width>
                        <height>120</height>
                        <font>font30</font>
                        <label>$INFO[ListItem.Label]</label>
                    </control>
                    <control type="label">
                        <left>100</left>
                        <width>960</width>
                        <height>120</height>
                        <font>font15</font>
                        <align>right</align>
                        <label>$INFO[ListItem.Label2]</label>
                    </control>
                    <include content="OverlayList">
                        <param name="OverlayListLeft" value="1071" />
                        <param name="OverlayListTop" value="44" />
                    </include>
                </focusedlayout>
            </control>
            <control type="grouplist">
                <left>1176</left>
                <itemgap>15</itemgap>
                <control type="image">
                    <width>570</width>
                    <height>321</height>
                    <aspectratio align="center" aligny="center" scalediffuse="false">keep</aspectratio>
                    <texture background="true" diffuse="diffuse/pvr-recordings.png">$INFO[ListItem.Art(thumb)]</texture>
                    <fadetime>IconCrossfadeTime</fadetime>
                   <visible>!String.IsEmpty(ListItem.Art(thumb))</visible>
                </control>
               <control type="textbox">
                    <description>Title</description>
                    <width>570</width>
                    <height>50</height>
                    <font>font14_textbox</font>
                    <label>$INFO[ListItem.Season,S,]$INFO[ListItem.Episode,E,]  [COLOR=NormalTextColor]$INFO[ListItem.EpisodeName][/COLOR]</label>
                    <include>AutoscrollDefault</include>
                </control>
                
                <control type="textbox">
                    <description>Description</description>
                    <visible>!String.IsEmpty(ListItem.Plot)</visible>
                    <width>570</width>
                    <height>550</height>
                    <font>font14_textbox</font>
                    <label>$INFO[ListItem.Plot]$INFO[ListItem.Date, (,)]</label>
                    <include>AutoscrollDefault</include>
                </control>
            </control>
        </control>
        <control type="scrollbar" id="60">
            <visible allowhiddenfocus="true">Control.HasFocus(60) | Container.Scrolling</visible>
            <left>1906</left>
            <top>120</top>
            <width>10</width>
            <height>960</height>
            <onleft>50</onleft>
            <onright>SetProperty(MediaMenu,True,home)</onright>
            <onright>SetFocus(9050)</onright>
            <orientation>vertical</orientation>
        </control>
        <include>Topbar</include>
        <include>PVRMediaMenu</include>
    </controls>
</window>