<?xml version="1.0" encoding="utf-8"?>
<window type="dialog">
    <defaultcontrol always="true">9000</defaultcontrol>
    <include>DialogOpenClose</include>
    <controls>
        <include>DimBG</include>
        <control type="group">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <control type="group">
                <!-- default group -->
                <visible>![Window.IsVisible(script-ExtendedInfo Script-DialogInfo.xml)|Window.IsVisible(script-ExtendedInfo Script-DialogVideoInfo.xml)]</visible>
                <posy>-4</posy>
                <include content="WindowClosingButton">
                    <param name="id" value="0"/>
                    <param name="x" value="1737"/>
                    <param name="y" value="21"/>
                </include>
                <control type="image">
                    <posx>133</posx>
                    <posy>25</posy>
                    <width>1654</width>
                    <height>1036</height>
                    <texture border="84">common/bg_dialog.png</texture>
                </control>
                <control type="label">
                    <animation effect="slide" start="0,0" end="0,-12" time="0" condition="!String.IsEmpty(ListItem.EpisodeName)">Conditional</animation>
                    <posx>223</posx>
                    <posy>104</posy>
                    <width>1474</width>
                    <height>36</height>
                    <font>InfoTitleFont</font>
                    <textcolor>MainColor</textcolor>
                    <align>center</align>
                    <info>ListItem.Label</info>
                </control>
                <control type="label">
                    <posx>223</posx>
                    <posy>114</posy>
                    <width>1474</width>
                    <align>center</align>
                    <font>InfoTitleSubFont</font>
                    <textcolor>AlternateColor</textcolor>
                    <label>$INFO[ListItem.EpisodeName]</label>
                </control>
                <control type="image">
                    <posx>178</posx>
                    <posy>73</posy>
                    <width>1564</width>
                    <height>90</height>
                    <texture border="3">list/bg_facade_nofocus_top.png</texture>
                </control>
                <control type="image">
                    <posx>1309</posx>
                    <posy>163</posy>
                    <width>2</width>
                    <height>848</height>
                    <texture>list/bg_facade_vertical.png</texture>
                </control>
                <control type="image">
                    <posx>1309</posx>
                    <posy>163</posy>
                    <height>848</height>
                    <width>375</width>
                    <texture flipx="true">list/bg_strip_horizontal_left.png</texture>
                    <colordiffuse>90ffffff</colordiffuse>
                </control>
                <control type="group">
                    <posx>178</posx>
                    <posy>163</posy>
                    <!-- INFO -->
                    <control type="image">
                        <posx>1142</posx>
                        <posy>438</posy>
                        <width>410</width>
                        <height>413</height>
                        <aspectratio>keep</aspectratio>
                        <include>PosterThumb</include>
                        <include>ThumbBorder</include>
                    </control>
                    <control type="label">
                        <posx>45</posx>
                        <posy>0</posy>
                        <width>1041</width>
                        <height>71</height>
                        <font>InfoDetailsFont</font>
                        <textcolor>AlternateColor</textcolor>
                        <label>$INFO[ListItem.Genre]</label>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1131</width>
                        <height>73</height>
                        <texture border="3">list/bg_facade_nofocus_top.png</texture>
                    </control>
                    <control type="label">
                        <posx>45</posx>
                        <posy>73</posy>
                        <width>1041</width>
                        <height>71</height>
                        <font>InfoDetailsFont</font>
                        <textcolor>MainColor</textcolor>
                        <label>$INFO[ListItem.StartTime,, / ]$INFO[ListItem.EndTime]</label>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>73</posy>
                        <width>1131</width>
                        <height>73</height>
                        <texture border="3">list/bg_facade_nofocus_top.png</texture>
                    </control>
                    <control type="label">
                        <posx>45</posx>
                        <posy>146</posy>
                        <width>1041</width>
                        <height>71</height>
                        <font>InfoDetailsFont</font>
                        <textcolor>AlternateColor</textcolor>
                        <label>$INFO[ListItem.Duration]</label>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>146</posy>
                        <width>1131</width>
                        <height>73</height>
                        <texture border="3">list/bg_facade_nofocus_top.png</texture>
                    </control>
                    <control type="textbox">
                        <posx>45</posx>
                        <posy>250</posy>
                        <width>1041</width>
                        <height>560</height>
                        <textcolor>MainColor</textcolor>
                        <label>$INFO[ListItem.Plot]</label>
                        <pagecontrol>6060</pagecontrol>
                    </control>
                    <control type="scrollbar" id="6060">
                        <visible>Skin.HasSetting(ManualScroll)</visible>
                        <posx>1100</posx>
                        <posy>250</posy>
                        <height>560</height>
                        <include>VerticalScroller</include>
                        <onleft>9000</onleft>
                        <onright>9000</onright>
                    </control>
                </control>
                <!--SIDE MENU-->
                <control type="grouplist" id="9000">
                    <posx>1309</posx>
                    <posy>163</posy>
                    <width>433</width>
                    <height>438</height>
                    <itemgap>0</itemgap>
                    <onup>9000</onup>
                    <ondown>9000</ondown>
                    <onleft>6060</onleft>
                    <onright>9000</onright>
                    <control type="button" id="122">
                        <label>Extended Info</label>
                        <visible>System.HasAddon(script.extendedinfo)</visible>
                        <onclick>Action(Close)</onclick>
                        <onclick>dialog.close(all,true)</onclick>
                        <onclick>RunScript(script.extendedinfo,info=extendedinfo,name=$INFO[ListItem.Title])</onclick>
                        <include>RightDialogButton</include>
                    </control>
                    <control type="button" id="4">
                        <description>Find similar</description>
                        <label>19003</label>
                        <visible>Window.IsActive(PVRGuideInfo)</visible>
                        <include>RightDialogButton</include>
                    </control>
                    <control type="button" id="5">
                        <description>Switch to Channel</description>
                        <label>19165</label>
                        <visible>Window.IsActive(PVRGuideInfo)</visible>
                        <include>RightDialogButton</include>
                    </control>
                    <control type="button" id="8">
                        <description>Play recording</description>
                        <label>19687</label>
                        <visible>Window.IsActive(PVRGuideInfo)</visible>
                        <include>RightDialogButton</include>
                    </control>
                    <control type="button" id="6">
                        <description>Record</description>
                        <label>-</label>
                        <visible>Window.IsActive(PVRGuideInfo)</visible>
                        <include>RightDialogButton</include>
                    </control>
                    <control type="button" id="7">
                        <description>OK</description>
                        <label>186</label>
                        <include>RightDialogButton</include>
                    </control>
                </control>
            </control>
        </control>
    </controls>
</window>
