<?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-bezier.png</texture>
        </control>
        <control type="group">
            <include>Dimension_UpNext</include>
            <control type="group">
                <top>-40</top>
                <height>upnext_image_h</height>
                <width>upnext_image_w</width>
                <include>Object_ItemBack</include>
                <control type="image">
                    <texture diffuse="diffuse/landscape_w356_h200.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>view_menu</left>
                <control type="grouplist">
                    <top>-20</top>
                    <width>80</width>
                    <orientation>vertical</orientation>
                    <itemgap>0</itemgap>
                    <centerleft>-180</centerleft>
                    <control type="button" id="3001">
                        <include>Defs_OSD_Button</include>
                    </control>
                    <include content="OSD_Button_Icon_Overlay">
                        <param name="icon">special://skin/extras/icons/play2.png</param>
                        <param name="visible">true</param>
                        <param name="id">3001</param>
                        <param name="groupid">5012</param>
                        <param name="vertical">true</param>
                        <param name="itemgap">0</param>
                    </include>
                    <control type="button" id="3002">
                        <include>Defs_OSD_Button</include>
                    </control>
                    <include content="OSD_Button_Icon_Overlay">
                        <param name="icon">special://skin/extras/icons/xmark.png</param>
                        <param name="visible">true</param>
                        <param name="id">3002</param>
                        <param name="groupid">5013</param>
                        <param name="vertical">true</param>
                        <param name="itemgap">0</param>
                    </include>
                </control>
            </control>
            <control type="group">
                <left>upnext_image_w</left>
                <control type="label">
                    <left>40</left>
                    <aligny>center</aligny>
                    <height>40</height>
                    <label>[COLOR=panel_fg_100]$LOCALIZE[31129][/COLOR] $INFO[Player.TimeRemaining(ss),,][COLOR=panel_fg_100] [LOWERCASE]$LOCALIZE[31130][/LOWERCASE]...[/COLOR]</label>
                    <textcolor>$VAR[ColorHighlight]</textcolor>
                    <font>font_midi_black</font>
                </control>

                <control type="group">
                    <left>40</left>
                    <top>40</top>
                    <height>40</height>
                    <control type="grouplist">
                        <orientation>horizontal</orientation>
                        <height>80</height>
                        <centertop>50%</centertop>
                        <itemgap>10</itemgap>
                        <control type="label">
                            <width>auto</width>
                            <textcolor>panel_fg_90</textcolor>
                            <label>$INFO[Window.Property(item.info.tvshowtitle)]</label>
                            <visible>!String.ISEmpty(Window.Property(item.info.tvshowtitle))</visible>
                        </control>
                        <include content="Info_Line_Divider">
                            <visible>!String.ISEmpty(Window.Property(item.info.tvshowtitle)) + !String.ISEmpty(Window.Property(item.info.episode))</visible>
                        </include>
                        <control type="label">
                            <width>auto</width>
                            <textcolor>panel_fg_90</textcolor>
                            <label>$INFO[Window.Property(item.info.season),S,]$INFO[Window.Property(item.info.episode),E,]</label>
                            <visible>!String.ISEmpty(Window.Property(item.info.episode))</visible>
                        </control>

                        <include content="Info_Line_Divider">
                            <visible>[!String.ISEmpty(Window.Property(item.info.tvshowtitle)) | !String.ISEmpty(Window.Property(item.info.episode))] + !String.ISEmpty(Window.Property(item.info.title))</visible>
                        </include>
                        <control type="label">
                            <width>auto</width>
                            <textcolor>panel_fg_90</textcolor>
                            <label>$INFO[Window.Property(item.info.title)]</label>
                            <visible>!String.ISEmpty(Window.Property(item.info.title))</visible>
                        </control>
                    </control>
                </control>

                <control type="group">
                    <left>40</left>
                    <top>80</top>
                    <height>40</height>
                    <itemgap>10</itemgap>
                    <control type="grouplist">
                        <orientation>horizontal</orientation>
                        <height>80</height>
                        <centertop>50%</centertop>
                        <itemgap>10</itemgap>
                        <control type="label">
                            <width>auto</width>
                            <textcolor>panel_fg_90</textcolor>
                            <label>$INFO[Window.Property(item.info.aired)]</label>
                            <visible>!String.ISEmpty(Window.Property(item.info.aired))</visible>
                        </control>
                        <include content="Info_Line_Divider">
                            <visible>!String.ISEmpty(Window.Property(item.info.aired)) + !String.ISEmpty(Window.Property(item.info.rating))</visible>
                        </include>
                        <control type="label">
                            <width>auto</width>
                            <textcolor>panel_fg_90</textcolor>
                            <label>$INFO[Window.Property(item.info.rating)]</label>
                            <visible>!String.ISEmpty(Window.Property(item.info.rating))</visible>
                        </control>
                    </control>
                </control>
            </control>
        </control>
    </controls>
</window>