<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">996</defaultcontrol>
    <include>DialogOpenClose</include>
    <coordinates>
        <system>1</system>
    </coordinates>
    <controls>
        <include>DimBG</include>
        <control type="group">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <include content="WindowClosingButton">
                <param name="id" value="0"/>
                <param name="x" value="617"/>
                <param name="y" value="-24"/>
            </include>
            <control type="image" id="999">
                <posx>0</posx>
                <posy>-11</posy>
                <width>667</width>
                <height>1103</height>
                <texture border="90">common/bg_dialog.png</texture>
            </control>
            <control type="image">
                <posx>45</posx>
                <posy>0</posy>
                <width>577</width>
                <height>79</height>
                <texture>list/bg_facade_nofocus_top.png</texture>
            </control>
            <control type="grouplist" id="996">
                <posx>45</posx>
                <posy>79</posy>
                <width>577</width>
                <height max="923">auto</height>
                <itemgap>0</itemgap>
                <pagecontrol>60</pagecontrol>
                <onright>60</onright>
                <control type="button" id="1000">
                    <posx>0</posx>
                    <posy>0</posy>
                    <align>center</align>
                    <textoffsetx>30</textoffsetx>
                    <include>LeftMenuButton</include>
                </control>
                <control type="button" id="2001">
                    <posx>0</posx>
                    <posy>0</posy>
                    <align>center</align>
                    <textoffsetx>30</textoffsetx>
                    <include>LeftMenuButton</include>
                    <label>Extended Info</label>
                    <visible>System.HasAddon(script.extendedinfo)</visible>
                    <visible>Container.Content(movies)|Container.Content(tvshows)|Container.Content(Actors)|Container.Content(Directors)|Container.Content(Artists)</visible>
                    <onclick condition="Container.Content(Actors) | Container.Content(Directors) | Container.Content(Artists)">RunScript(script.extendedinfo,info=extendedactorinfo,name=$INFO[ListItem.Label])</onclick>
                    <onclick condition="Container.Content(Movies)">RunScript(script.extendedinfo,info=extendedinfo,dbid=$INFO[ListItem.DBID],name=$INFO[ListItem.Title])</onclick>
                    <onclick condition="Container.Content(tvshows)">RunScript(script.extendedinfo,info=extendedtvinfo,name=$INFO[ListItem.Title],dbid=$INFO[ListItem.DBID])</onclick>
                    <!--<onclick condition="Container.Content(Seasons) + !String.IsEmpty(ListItem.Season)">RunScript(script.extendedinfo,info=seasoninfo,tvshow=$INFO[ListItem.TVShowTitle],season=$INFO[ListItem.Season])</onclick>-->
                </control>
                <control type="button" id="9325">
                    <!-- ArtWork Downloader Solo Mode-->
                    <posx>0</posx>
                    <posy>0</posy>
                    <align>center</align>
                    <textoffsetx>30</textoffsetx>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[31511]</label>
                    <onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader, mediatype=tvshow, dbid=$INFO[ListItem.DBID])</onclick>
                    <onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader, mediatype=movie, dbid=$INFO[ListItem.DBID])</onclick>
                    <onclick condition="Container.Content(musicvideos)">XBMC.RunScript(script.artwork.downloader, mediatype=musicvideos, dbid=$INFO[ListItem.DBID])</onclick>
                    <onclick>SetFocus(51)</onclick>
                    <visible>System.HasAddon(script.artwork.downloader) + [Container.Content(tvshows) | Container.Content(movies) | Container.Content(musicvideos)]</visible>
                    <visible>!Skin.HasSetting(plexbmc)</visible>
                </control>
                <control type="button" id="9326">
                    <!-- ArtWork Downloader Gui Mode-->
                    <posx>0</posx>
                    <posy>0</posy>
                    <align>center</align>
                    <textoffsetx>30</textoffsetx>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[31512]</label>
                    <onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=tvshow, dbid=$INFO[ListItem.DBID])</onclick>
                    <onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=movie, dbid=$INFO[ListItem.DBID])</onclick>
                    <onclick condition="Container.Content(musicvideos)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=musicvideo, dbid=$INFO[ListItem.DBID])</onclick>
                    <onclick>SetFocus(51)</onclick>
                    <visible>System.HasAddon(script.artwork.downloader) + [Container.Content(tvshows) | Container.Content(movies) | Container.Content(musicvideos)]</visible>
                    <visible>!Skin.HasSetting(plexbmc)</visible>
                </control>
            </control>
            <control type="scrollbar" id="60">
                <posx>591</posx>
                <posy>77</posy>
                <height>923</height>
                <showonepage>false</showonepage>
                <include>VerticalScroller</include>
                <onleft>996</onleft>
                <onright>996</onright>
            </control>
        </control>
    </controls>
</window>
