<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">3001</defaultcontrol>
    <onload>Dialog.Close(fullscreeninfo,true)</onload>
    <onload>Dialog.Close(videoosd,true)</onload>
    <include>Animation_FadeIn</include>
    <controls>
        <control type="image">
            <height>400</height>
            <texture>common/dim-top.png</texture>
        </control>
        <control type="group">
            <include>Dimension_UpNext</include>
            <control type="group">
                <width>upnext_image_w</width>
                <include content="Object_PosterBack">
                    <param name="pad" value="-20" />
                </include>
                <control type="image">
                    <texture diffuse="diffuse/landscape_w284_h160.png">$INFO[Window().Property(item.art.thumb)]</texture>
                    <aspectratio scalediffuse="false">scale</aspectratio>
                </control>



                
                <control type="progress" id="3014">
                    <bottom>0</bottom>
                    <height>8</height>
                </control>
            </control>
            <control type="group">
                <left>upnext_image_w</left>
                <control type="label">
                    <left>40</left>
                    <aligny>center</aligny>
                    <height>40</height>
                    <label>Next Episode in [COLOR $INFO[Window.Property(settings.color)]]$INFO[Player.TimeRemaining,,][/COLOR] seconds...</label>
                    <textcolor>panel_fg_100</textcolor>
                    <font>font_mainlabel</font>
                </control>

                <control type="group">
                    <left>44</left>
                    <top>40</top>
                    <height>40</height>
                    <control type="group">
                        <centertop>50%</centertop>
                        <height>80</height>
                        <control type="image">
                            <aspectratio align="left">keep</aspectratio>
                            <texture colordiffuse="panel_fg_90">flags/quality/info.png</texture>
                            <centertop>52%</centertop>
                            <width>37</width>
                            <height>24</height>
                        </control>
                        <control type="grouplist">
                            <left>47</left>
                            <orientation>horizontal</orientation>
                            <height>80</height>
                            <itemgap>10</itemgap>
                            <include content="Info_Line_Label">
                                <param name="font" value="font_mini_bold" />
                                <param name="label" value="$INFO[Window.Property(item.info.tvshowtitle)]" />
                                <param name="textcolor" value="panel_fg_90" />
                                <param name="visible" value="!String.IsEmpty(Window.Property(item.info.tvshowtitle))" />
                            </include>
                            <include content="Info_Line_Label">
                                <param name="font" value="font_mini_bold" />
                                <param name="label" value="$INFO[Window.Property(item.info.season),S,]$INFO[Window.Property(item.info.episode),E,]" />
                                <param name="textcolor" value="panel_fg_90" />
                                <param name="visible" value="!String.IsEmpty(Window.Property(item.info.season))" />
                            </include>
                            <include content="Info_Line_Label">
                                <param name="font" value="font_mini_bold" />
                                <param name="label" value="$INFO[Window.Property(item.info.title)]" />
                                <param name="textcolor" value="panel_fg_90" />
                                <param name="visible" value="!String.IsEmpty(Window.Property(item.info.title))" />
                            </include>
                            <include content="Info_Line_Label">
                                <param name="font" value="font_mini_bold" />
                                <param name="label" value="$INFO[Window.Property(item.info.aired)]" />
                                <param name="textcolor" value="panel_fg_90" />
                                <param name="visible" value="!String.IsEmpty(Window.Property(item.info.aired))" />
                            </include>
                            <include content="Info_Line_Label">
                                <param name="font" value="font_mini_bold" />
                                <param name="label" value="$INFO[Window.Property(item.info.rating)]" />
                                <param name="textcolor" value="panel_fg_90" />
                                <param name="visible" value="!String.IsEmpty(Window.Property(item.info.rating))" />
                            </include>
                        </control>
                    </control>
                </control>



                <control type="group">
                    <height>70</height>
                    <bottom>0</bottom>
                    <control type="grouplist">
                        <itemgap>-60</itemgap>
                        <orientation>horizontal</orientation>
                        <height>256</height>
                        <centertop>50%</centertop>
                        <include content="Object_Info_Button">
                            <param name="id" value="3001" />
                            <param name="groupid" value="5012" />
                            <param name="sliceid" value="5112" />
                            <param name="label" value="Watch Now" />
                            <param name="icon" value="special://skin/extras/icons/play3.png" />
                            <param name="visible" value="true" />
                        </include>
						<include content="Object_Info_Button">
                            <param name="id" value="3003" />
                            <param name="groupid" value="5013" />
                            <param name="sliceid" value="5113" />
                            <param name="label" value="Skip Outro" />
                            <param name="icon" value="special://skin/extras/icons/play3.png" />
                            <param name="visible" value="true" />
                        </include>
                        <include content="Object_Info_Button">
                            <param name="id" value="3002" />
                            <param name="groupid" value="5014" />
                            <param name="sliceid" value="5114" />
                            <param name="label" value="Close" />
                            <param name="icon" value="special://skin/extras/icons/disabled.png" />
                            <param name="visible" value="true" />
                            <onclick>SetFocus(3013)</onclick>
                            <onclick>Action(Select)</onclick>
                        </include>
                    </control>
                </control>
            </control>
        </control>
        <include content="Object_Hidden_Button">
            <param name="id" value="3013" />
        </include>
    </controls>
</window>
