<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">7</defaultcontrol>
    <menucontrol>9000</menucontrol>

    <controls>
        <control type="group">
            <posy>PosYForFifteenLinesDialog</posy>
            <include content="WindowForDialog">
                <param name="height" value="HeightForFifteenLinesDialog" />
                <param name="headerlabel" value="$INFO[ListItem.Label]" />
                <param name="icontexture" value="-" />
                <param name="animate" value="true" />
            </include>

            <include content="DefaultIconForWindowForDialog">
                <param name="visible" value="!Window.Is(pvrrecordinginfo)" />
                <param name="icontexture" value="icons/icon-television.png" />
            </include>
            
            <include content="DefaultIconForWindowForDialog">
                <param name="visible" value="Window.Is(pvrrecordinginfo)" />
                <param name="icontexture" value="icons/icon-television.png" />
            </include>
            
            <control type="list" id="49">
                <include content="MarkupForInfoListForDialog">
                    <param name="height" value="200" />
                    <param name="pagecontrol" value="60" />
                </include>
                
                <include>ItemsForInfoListInDialog</include>
                
                <content>
                    <item>
                        <visible>!String.IsEmpty(ListItem.OriginalTitle) + !StringCompare(ListItem.OriginalTitle,Listitem.Title)</visible>
                        <label>$LOCALIZE[20376]</label>
                        <label2>$INFO[ListItem.OriginalTitle]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.TVShowTitle)</visible>
                        <label>$LOCALIZE[21442]</label>
                        <label2>$INFO[ListItem.TVShowTitle]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Season)</visible>
                        <label>$LOCALIZE[20373]</label>
                        <label2>$INFO[ListItem.Season]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.EpisodeName)</visible>
                        <label>$LOCALIZE[21442]</label>
                        <label2>$INFO[ListItem.EpisodeName]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Episode)</visible>
                        <label>$LOCALIZE[20359]</label>
                        <label2>$INFO[ListItem.Episode]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.ChannelName)</visible>
                        <label>$LOCALIZE[19148]</label>
                        <label2>$INFO[ListItem.ChannelName]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <label>$LOCALIZE[552]</label>
                        <label2>$INFO[ListItem.StartDate]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <label>$LOCALIZE[555]</label>
                        <label2>$INFO[ListItem.StartTime] - $INFO[ListItem.EndTime]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Year)</visible>
                        <label>$LOCALIZE[562]</label>
                        <label2>$INFO[ListItem.Year]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Premiered) + !Window.IsActive(pvrguideinfo)</visible>
                        <label>$LOCALIZE[20416]</label>
                        <label2>$INFO[ListItem.Premiered]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Duration)</visible>
                        <label>$LOCALIZE[180]</label>
                        <label2>$INFO[ListItem.Duration]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Genre)</visible>
                        <label>$LOCALIZE[515]</label>
                        <label2>$INFO[ListItem.Genre]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Studio)</visible>
                        <label>$LOCALIZE[572]</label>
                        <label2>$INFO[ListItem.Studio]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Writer)</visible>
                        <label>$LOCALIZE[20417]</label>
                        <label2>$INFO[ListItem.Writer]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.Director)</visible>
                        <label>$LOCALIZE[20339]</label>
                        <label2>$INFO[ListItem.Director]</label2>
                        <onclick>Noop</onclick>
                    </item>
                    <item>
                        <visible>!String.IsEmpty(ListItem.MPAA)</visible>
                        <label>$LOCALIZE[20074]</label>
                        <label2>$INFO[ListItem.MPAA]</label2>
                        <onclick>Noop</onclick>
                    </item>
                </content>
            </control>
            
            <control type="scrollbar" id="60">
                <include content="MarkupForScrollbarForDialog">
                    <param name="posy" value="80" />
                    <param name="height" value="200" />
                </include>
                <onleft>9000</onleft>
            </control>
            
            <include content="HorizontalDialogListOfContentMediaFlag">
                <param name="posx" value="560" />
                <param name="posy" value="290" />
            </include>

            <include content="TextboxForDialog">
                <param name="textboxid" value="41" />
                <param name="scrollbarid" value="61" />
                <param name="posy" value="360" />
                <param name="height" value="320" />
                <param name="label" value="$INFO[ListItem.Plot]" />
                <param name="onleft" value="9000" />
            </include>
            
            <control type="grouplist" id="9000">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="520" />
                    <param name="height" value="160" />
                </include>
                <onright>61</onright>

                <control type="label" id="2">
                    <visible>!Window.Is(pvrguideinfo) + !Window.Is(pvrrecordinginfo)</visible>
                    <height>120</height>
                </control>
                <control type="label" id="3">
                    <visible>Window.Is(pvrrecordinginfo)</visible>
                    <height>80</height>
                </control>
                <control type="button" id="4">
                    <description>Find Similar Button</description>
                    <visible>Window.Is(pvrguideinfo)</visible>
                    <label>$LOCALIZE[19003]</label>
                </control>
                <control type="button" id="5">
                    <description>Switch to Channel Button</description>
                    <visible>Window.Is(pvrguideinfo)</visible>
                    <label>$LOCALIZE[19165]</label>
                </control>
                <control type="button" id="8">
                    <description>Play Recording Button</description>
                    <visible>Window.Is(pvrrecordinginfo)</visible>
                    <label>$LOCALIZE[19687]</label>
                </control>
                <control type="button" id="6">
                    <description>Record Button</description>
                    <visible>Window.Is(pvrguideinfo)</visible>
                </control>
                <control type="button" id="7">
                    <description>Ok/Close Button</description>
                    <label>$LOCALIZE[31915]</label>
                </control>
            </control>
        </control>
    </controls>
</window>
