<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">49</defaultcontrol>
    <menucontrol>9000</menucontrol>
    <onload>ClearProperty(summary,home)</onload>
    <onload>RunScript(script.extendedinfo,info=trackinfo,artistname=$INFO[ListItem.Artist],trackname=$INFO[ListItem.Title])</onload>
    <controls>
        <!-- <include>DimBG</include> -->
        <include>TopBar</include>
        <control type="group">
            <include>FacadeFadeDialogs2ndLevelCondition</include>
            <include>Icon_Fade</include>
            <control type="group">
                <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="660,0" condition="[ControlGroup(9000).HasFocus()|Control.HasFocus(8999)|Control.HasFocus(9060)]">conditional</animation>
                <include>DialogOpenClose</include>
                <control type="image">
                    <posx>-760</posx>
                    <posy>150</posy>
                    <width>2930</width>
                    <height>876</height>
                    <include>DialogTransparency</include>
                    <texture border="150,40,150,40">$VAR[Theme.Color]/common/bg_dialog.png</texture>
                </control>
                <control type="image">
                    <posx>100</posx>
                    <posy>142</posy>
                    <width>1720</width>
                    <height>217</height>
                    <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
                </control>
                <control type="image">
                    <posx>100</posx>
                    <posy>862</posy>
                    <width>1720</width>
                    <height>172</height>
                    <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
                </control>
                <control type="label">
                    <posx>TextMargin</posx>
                    <posy>183</posy>
                    <width>1800</width>
                    <height>105</height>
                    <align>center</align>
                    <font>InfoTitleFont</font>
                    <include>TextColor_MainColor</include>
                    <label>$INFO[ListItem.TrackNumber,,. ]$INFO[ListItem.Title]</label>
                </control>
                <control type="image">
                    <include>ConditionWhite</include>
                    <description>Rating value</description>
                    <posx>867</posx>
                    <posy>270</posy>
                    <height>37</height>
                    <width>185</width>
                    <aspectratio align="left">keep</aspectratio>
                    <texture fallback="white/badges/rating0.png">white/badges/$INFO[ListItem.StarRating]</texture>
                </control>
                <control type="image">
                    <include>ConditionBlack</include>
                    <description>Rating value</description>
                    <posx>867</posx>
                    <posy>270</posy>
                    <height>37</height>
                    <width>185</width>
                    <aspectratio align="left">keep</aspectratio>
                    <texture fallback="black/badges/rating0.png">black/badges/$INFO[ListItem.StarRating]</texture>
                </control>
                <control type="group">
                    <!-- CDART -->
                    <visible>!Skin.HasSetting(plexbmc)</visible>
                    <visible>Skin.HasSetting(EnableCdArt)+!IsEmpty(ListItem.Thumb)</visible>
                    <control type="image">
                        <posx>79</posx>
                        <posy>631</posy>
                        <width>430</width>
                        <height>430</height>
                        <texture background="true" diffuse="white/common/cdart_diffuse.png">$INFO[Skin.String(MusicPath)]$INFO[ListItem.Artist]/$INFO[ListItem.Album]/cdart.png</texture>
                        <aspectratio align="center" aligny="center">keep</aspectratio>
                        <include>Animation_ViewsCDart</include>
                    </control>
                </control>
                <control type="image">
                    <posx>25</posx>
                    <posy>343</posy>
                    <width>538</width>
                    <height>538</height>
                    <include>SquareThumb</include>
                    <include>ThumbBorder</include>
                </control>
                <!--SONG INFO-->
                <control type="group" id="4900">
                    <visible>![Control.HasFocus(500)|
                        ControlGroup(5000).HasFocus]</visible>
                    <include>VisibleFadeEffectDelay</include>
                    <control type="panel" id="49">
                        <posx>545</posx>
                        <posy>318</posy>
                        <width>1375</width>
                        <height>312</height>
                        <onleft>9000</onleft>
                        <onright>60</onright>
                        <onup>49</onup>
                        <ondown>6060</ondown>
                        <pagecontrol>60</pagecontrol>
                        <itemlayout height="78" width="1375">
                            <control type="label">
                                <include>ConditionWhite</include>
                                <posx>TextMargin</posx>
                                <posy>0</posy>
                                <height>78</height>
                                <width>1255</width>
                                <font>FacadeListMainFont</font>
                                <include>TextColor_MainColor</include>
                                <label>[COLOR=AlternateColor_white]$INFO[ListItem.Label,, ][/COLOR]$INFO[ListItem.Label2]</label>
                            </control>
                            <control type="label">
                                <include>ConditionBlack</include>
                                <posx>TextMargin</posx>
                                <posy>0</posy>
                                <height>78</height>
                                <width>1255</width>
                                <font>FacadeListMainFont</font>
                                <include>TextColor_MainColor</include>
                                <label>[COLOR=AlternateColor_black]$INFO[ListItem.Label,, ][/COLOR]$INFO[ListItem.Label2]</label>
                            </control>
                        </itemlayout>
                        <focusedlayout height="78" width="1375">
                            <control type="group">
                                <include>ButtonWideFocusAnimation</include>
                                <control type="image">
                                    <posx>0</posx>
                                    <posy>0</posy>
                                    <height>78</height>
                                    <width>1375</width>
                                    <texture border="1">$VAR[Theme.Color]/list/bg_facade_focus.png</texture>
                                </control>
                                <control type="label">
                                    <include>ConditionWhite</include>
                                    <posx>TextMargin</posx>
                                    <posy>0</posy>
                                    <height>78</height>
                                    <width>1255</width>
                                    <font>FacadeListMainFont</font>
                                    <include>TextColor_MainColor</include>
                                    <label>[COLOR=AlternateColor_white]$INFO[ListItem.Label,, ][/COLOR]$INFO[ListItem.Label2]</label>
                                </control>
                                <control type="label">
                                    <include>ConditionBlack</include>
                                    <posx>TextMargin</posx>
                                    <posy>0</posy>
                                    <height>78</height>
                                    <width>1255</width>
                                    <font>FacadeListMainFont</font>
                                    <include>TextColor_MainColor</include>
                                    <label>[COLOR=AlternateColor_black]$INFO[ListItem.Label,, ][/COLOR]$INFO[ListItem.Label2]</label>
                                </control>
                            </control>
                        </focusedlayout>
                        <content>
                            <item>
                                <label>$LOCALIZE[557]:</label>
                                <label2>$INFO[ListItem.Artist]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.Artist)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[558]:</label>
                                <label2>$INFO[ListItem.Album]$INFO[listitem.discnumber, - $LOCALIZE[427] ]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.Album)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[515]:</label>
                                <label2>$INFO[ListItem.Genre]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.Genre)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[562]:</label>
                                <label2>$INFO[ListItem.Year]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.Year)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[554]:</label>
                                <label2>$INFO[ListItem.TrackNumber]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.TrackNumber)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[427]:</label>
                                <label2>$INFO[ListItem.discnumber]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.discnumber)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[180]:</label>
                                <label2>$INFO[ListItem.Duration]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.Duration)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[21899]:</label>
                                <label2>$INFO[ListItem.Property(Album_Label)]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.Property(Album_Label))</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[567]:</label>
                                <label2>$INFO[ListItem.PlayCount]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.PlayCount)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[568]:</label>
                                <label2>$INFO[ListItem.LastPlayed]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.LastPlayed)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[573]:</label>
                                <label2>$INFO[ListItem.Path]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.Path)</visible>
                            </item>
                            <item>
                                <label>$LOCALIZE[21800]:</label>
                                <label2>$INFO[ListItem.FileName]</label2>
                                <onclick>noop</onclick>
                                <visible>!IsEmpty(ListItem.FileName)</visible>
                            </item>
                        </content>
                    </control>
                    <control type="scrollbar" id="60">
                        <posx>1886</posx>
                        <posy>318</posy>
                        <height>312</height>
                        <include>VerticalScroller</include>
                        <onleft>49</onleft>
                        <onright>9000</onright>
                    </control>
                    <control type="image">
                        <posx>520</posx>
                        <posy>645</posy>
                        <width>1375</width>
                        <height>1</height>
                        <texture border="150,0,150,0">$VAR[Theme.Color]/list/bg_facade_separator.png</texture>
                    </control>
                    <control type="group">
                        <posx>545</posx>
                        <posy>660</posy>
                        <control type="textbox" id="4">
                            <description>Description</description>
                            <posx>TextMargin</posx>
                            <posy>10</posy>
                            <width>1255</width>
                            <height>210</height>
                            <font>InfoPlotFont</font>
                            <include>TextColor_MainColor</include>
                            <pagecontrol>6060</pagecontrol>
                            <label fallback="161">$INFO[ListItem.Comment]</label>
                        </control>
                        <control type="scrollbar" id="6060">
                            <visible>Skin.HasSetting(ManualScroll)</visible>
                            <posx>1341</posx>
                            <posy>10</posy>
                            <height>210</height>
                            <include>VerticalScroller</include>
                            <onleft>49</onleft>
                            <onright>49</onright>
                            <ondown>9001</ondown>
                        </control>
                    </control>
                </control>
                <!--SUMMARY EXTENDENDINFO-->
                <control type="group" id="5000">
                    <visible>Control.HasFocus(500)|ControlGroup(5000).HasFocus</visible>
                    <include>VisibleFadeEffectDelay</include>
                    <control type="button" id="5001">
                        <description>dummy for mouse navigation</description>
                        <posx>0</posx>
                        <posy>213</posy>
                        <width>1920</width>
                        <height>785</height>
                        <onclick>noop</onclick>
                        <onleft>9000</onleft>
                        <onright>5600</onright>
                        <texturenofocus>-</texturenofocus>
                        <texturefocus>-</texturefocus>
                    </control>
                    <control type="group">
                        <posx>545</posx>
                        <posy>318</posy>
                        <control type="textbox">
                            <description>Description</description>
                            <posx>TextMargin</posx>
                            <posy>20</posy>
                            <width>1255</width>
                            <height>538</height>
                            <font>InfoPlotFont</font>
                            <include>TextColor_MainColor</include>
                            <pagecontrol>5600</pagecontrol>
                            <label fallback="161">$INFO[Window(home).Property(summary)]</label>
                        </control>
                        <control type="scrollbar" id="5600">
                            <visible>Skin.HasSetting(ManualScroll)</visible>
                            <posx>1341</posx>
                            <posy>20</posy>
                            <height>538</height>
                            <include>VerticalScroller</include>
                            <onleft>9000</onleft>
                            <onright>5600</onright>
                            <ondown>9001</ondown>
                        </control>
                    </control>
                </control>
                <control type="grouplist" id="9001">
                    <posx>TextMargin</posx>
                    <posy>903</posy>
                    <width>1800</width>
                    <height>90</height>
                    <itemgap>30</itemgap>
                    <aligny>bottom</aligny>
                    <align>center</align>
                    <orientation>horizontal</orientation>
                    <onup>49</onup>
                    <ondown>9001</ondown>
                    <onleft>9001</onleft>
                    <onright>9001</onright>
                    <control type="button" id="11">
                        <include>ButtonFocusAnimation</include>
                        <label>$LOCALIZE[222]</label>
                    </control>
                    <control type="button" id="10">
                        <include>ButtonFocusAnimation</include>
                        <label>$LOCALIZE[186]</label>
                    </control>
                </control>
            </control>
            <!-- SIDE MENU -->
            <control type="group">
                <include>LeftMenu</include>
                <control type="grouplist" id="9000">
                    <include>LeftMenuButtonGroup</include>
                    <onright>49</onright>
                    <ondown>9000</ondown>
                    <onback>49</onback>
                    <control type="label" id="7965">
                        <include>LeftMenuTitleLabel</include>
                        <label>$LOCALIZE[33061]</label>
                    </control>
                    <control type="button" id="14">
                        <include>LeftMenuButton</include>
                        <label>$LOCALIZE[563] -</label>
                        <onclick>DecreaseRating</onclick>
                    </control>
                    <control type="button" id="15">
                        <include>LeftMenuButton</include>
                        <label>$LOCALIZE[563] +</label>
                        <onclick>IncreaseRating</onclick>
                    </control>
                    <control type="button" id="500">
                        <visible>System.HasAddon(script.extendedinfo)</visible>
                        <description>Summary ExtendedInfo</description>
                        <include>LeftMenuButton</include>
                        <label>20037</label>
                        <onright>5001</onright>
                    </control>
                    <control type="button" id="12">
                        <include>LeftMenuButton</include>
                        <label>$LOCALIZE[558]</label>
                    </control>
                    <control type="button" id="13">
                        <include>LeftMenuButton</include>
                        <label>$LOCALIZE[13405]</label>
                    </control>
                </control>
                <include>LeftMenuScroller</include>
            </control>
        </control>
    </controls>
</window>
