skin.pellucid/xml/View_Albums.xml

333 lines
18 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<includes>
<!--Album browser-->
<include name="musicalbum">
<control type="group">
<visible>$EXP[isMusicAlbum] + !$EXP[isMusicArtistCatalogue]</visible>
<control type="image">
<visible>control.hasfocus(9998) | control.hasfocus(9123)</visible>
<include>dimensionsFullscreen</include>
<texture fallback="colors/black.png">$INFO[container(9998).listitem.art(fanart)]</texture>
<colordiffuse>FF555555</colordiffuse>
<aspectratio>scale</aspectratio>
<fadetime>250</fadetime>
</control>
<control type="group" id="9125">
<visible>$EXP[isMusicAlbum] + !$EXP[isMusicArtistCatalogue] + !Skin.HasSetting(disableRecentAlbums)</visible>
<animation type="Conditional" condition="!controlgroup(9125).hasfocus">
<effect type="slide" start="0,0" end="0,-200" time="200"/>
<effect type="fade" start="100" end="0" time="200"/>
</animation>
<animation type="Conditional" condition="controlgroup(9125).hasfocus">
<effect type="slide" start="0,-200" end="0,0" time="200" delay="400"/>
<effect type="fade" start="0" end="100" time="200" delay="350"/>
</animation>
<!--quick link selector-->
<control type="group">
<posx>col-5-begin</posx>
<posy>170</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>16-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture border="24">masks/menuBar.png</texture>
<colordiffuse>77000000</colordiffuse>
</control>
<control type="grouplist" id="9202">
<posx>0</posx>
<posy>0</posy>
<orientation>horizontal</orientation>
<itemgap>0</itemgap>
<onleft>9000</onleft>
<ondown>9998</ondown>
<onback>9000</onback>
<control type="button" id="506">
<description>Search</description>
<width>1-col</width>
<texturenofocus></texturenofocus>
<texturefocus>masks/circle.png</texturefocus>
<textoffsetx>0</textoffsetx>
<align>center</align>
<focusedcolor>black</focusedcolor>
<font>symbolLarge</font>
<label></label>
<onclick>Runscript(script.quickfind,media=albums)</onclick>
</control>
<control type="button" id="4000">
<animation type="Conditional" condition="!String.IsEqual(skin.string(musicQuickLinkValue),special://skin/extras/playlists/recentAlbums.xsp)">
<effect type="fade" start="100" end="33" time="200"/>
</animation>
<label>31180</label>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff" border="24">UIControls/button.png</texturefocus>
<width>3-col</width>
<font>thumbTitle</font>
<align>center</align>
<textoffsetx>0</textoffsetx>
<onclick>Skin.SetString(musicQuickLinkValue,special://skin/extras/playlists/recentAlbums.xsp)</onclick>
<ondown>control.setfocus(9998,0)</ondown>
</control>
<control type="button" id="4001">
<animation type="Conditional" condition="!String.IsEqual(skin.string(musicQuickLinkValue),special://skin/extras/playlists/topAlbums.xsp)">
<effect type="fade" start="100" end="33" time="200"/>
</animation>
<label>31187</label>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff" border="24">UIControls/button.png</texturefocus>
<width>3-col</width>
<font>thumbTitle</font>
<align>center</align>
<textoffsetx>0</textoffsetx>
<onclick>Skin.SetString(musicQuickLinkValue,special://skin/extras/playlists/topAlbums.xsp)</onclick>
<ondown>control.setfocus(9998,0)</ondown>
</control>
<control type="button" id="4002">
<animation type="Conditional" condition="!String.IsEqual(skin.string(musicQuickLinkValue),special://skin/extras/playlists/randomAlbums.xsp)">
<effect type="fade" start="100" end="33" time="200"/>
</animation>
<label>31181</label>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff">UIControls/button.png</texturefocus>
<font>thumbTitle</font>
<align>center</align>
<textoffsetx>0</textoffsetx>
<onclick>Skin.SetString(musicQuickLinkValue,special://skin/extras/playlists/randomAlbums.xsp)</onclick>
<ondown>control.setfocus(9998,0)</ondown>
</control>
<control type="button" id="3222">
<description>Sort by</description>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff" border="24">UIControls/button.png</texturefocus>
<font>thumbTitle</font>
<width>4-col</width>
<align>center</align>
<textoffsetx>0</textoffsetx>
<label>$LOCALIZE[31008]: $INFO[Container.SortMethod]</label>
<onclick>Container.NextSortMethod</onclick>
<onclick>Control.setfocus(54,0,absolute)</onclick>
<onclick>Control.setfocus(3222)</onclick>
</control>
<control type="togglebutton" id="3223">
<description>Sort direction</description>
<focusedcolor>black</focusedcolor>
<color>textActive</color>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff">masks/circle.png</texturefocus>
<alttexturefocus colordiffuse="FFFFFFFF">masks/circle.png</alttexturefocus>
<alttexturenofocus></alttexturenofocus>
<textoffsetx>0</textoffsetx>
<width>1-col</width>
<align>center</align>
<font>symbolLarge</font>
<label></label>
<altlabel></altlabel>
<onclick>Container.SetSortDirection</onclick>
<onclick>Control.setfocus(54,0,absolute)</onclick>
<onclick>Control.setfocus(3223)</onclick>
</control>
</control>
</control>
<!--quick links-->
<control type="panel" id="9998">
<posx>90</posx>
<posy>288</posy>
<width>24-col</width>
<height>11-row</height>
<onup>9202</onup>
<ondown>54</ondown>
<onleft>9000</onleft>
<onback>9000</onback>
<orientation>horizontal</orientation>
<onclick>activatewindow(music,musicdb://albums/$INFO[listitem.DBID]/,return)</onclick>
<onclick>Control.SetFocus(50)</onclick>
<itemlayout width="352" height="5-col-gutter">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>324</width>
<height>324</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/albumThumb_2.png">colors/black.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>324</width>
<height>324</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/albumThumb_2.png" fallback="colors/black.png">$INFO[ListItem.Art(thumb)]</texture>
<colordiffuse>88ffffff</colordiffuse>
</control>
<control type="label">
<visible>!controlgroup(9000).hasfocus</visible>
<posx>12</posx>
<posy>328</posy>
<width>300</width>
<height>2-row</height>
<aligny>center</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>[B]$INFO[ListItem.Title][/B][CR]$INFO[ListItem.artist]</label>
</control>
</itemlayout>
<focusedlayout width="352" height="5-col-gutter">
<control type="group">
<include>focusThumb</include>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>324</width>
<height>324</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/albumThumb_2.png">colors/black.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>324</width>
<height>324</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/albumThumb_2.png" fallback="colors/black.png">$INFO[ListItem.Art(thumb)]</texture>
<bordertexture infill="false" diffuse="masks/albumThumb_2.png">colors/white.png</bordertexture>
<bordersize>6</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="label">
<visible>!controlgroup(9000).hasfocus</visible>
<posx>12</posx>
<posy>328</posy>
<width>276</width>
<height>2-row</height>
<aligny>center</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<scroll>false</scroll>
<label>[B]$INFO[ListItem.Title][/B][CR]$INFO[ListItem.artist] - $INFO[listitem.year]</label>
</control>
</control>
</focusedlayout>
<content>$INFO[skin.string(musicQuickLinkValue)]</content>
</control>
</control>
<!--all albums-->
<control type="group" id="9124">
<animation type="Conditional" condition="controlgroup(9124).hasfocus | controlgroup(8000).hasfocus | controlgroup(9000).hasfocus | Skin.HasSetting(disableRecentAlbums)">
<effect type="slide" start="0,0" end="0,-576" tween="sine" time="400"/>
</animation>
<control type="label">
<visible>!controlgroup(9000).hasfocus + $EXP[isMusicAlbum] + !$EXP[isMusicArtistCatalogue]</visible>
<posx>col-1-begin</posx>
<posy>760</posy>
<width>12-col</width>
<height>2-row</height>
<aligny>center</aligny>
<font>menuTitle</font>
<textcolor>textActive</textcolor>
<label>$LOCALIZE[31223]</label>
</control>
<control type="panel" id="54">
<visible>$EXP[isMusicAlbum]</visible>
<posx>90</posx>
<posy>864</posy>
<width>1800</width>
<height>23-row</height>
<onleft>9000</onleft>
<onright>60</onright>
<onup>9998</onup>
<onback>9998</onback>
<pagecontrol>60</pagecontrol>
<scrolltime tween="sine">250</scrolltime>
<itemlayout width="293" height="360">
<control type="image">
<visible>!ListItem.IsParentFolder</visible>
<posx>0</posx>
<posy>0</posy>
<width>4-col-gutter</width>
<height>4-col-gutter</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/albumThumb.png">colors/black.png</texture>
<colordiffuse>FFFFFFFF</colordiffuse>
</control>
<control type="image">
<visible>!ListItem.IsParentFolder</visible>
<posx>0</posx>
<posy>0</posy>
<width>4-col-gutter</width>
<height>4-col-gutter</height>
<aspectratio>stretch</aspectratio>
<texture fallback="colors/black.png" diffuse="masks/albumThumb.png">$INFO[ListItem.Art(thumb)]</texture>
<colordiffuse>88FFFFFF</colordiffuse>
</control>
<control type="textbox">
<visible>String.IsEmpty(listitem.title)</visible>
<posx>24</posx>
<posy>3-row</posy>
<width>228</width>
<height>6-row</height>
<font>largeTitle</font>
<wrapmultiline>true</wrapmultiline>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
<control type="textbox">
<visible>!controlgroup(9000).hasfocus</visible>
<posx></posx>
<posy>276</posy>
<width>264</width>
<height>60</height>
<align>center</align>
<aligny>top</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>[B]$INFO[ListItem.Title][/B][CR]$INFO[ListItem.artist]</label>
</control>
</itemlayout>
<focusedlayout width="4-col" height="360">
<control type="group">
<include>focusThumb</include>
<control type="image">
<visible>!ListItem.IsParentFolder</visible>
<posx>0</posx>
<posy>0</posy>
<width>4-col-gutter</width>
<height>4-col-gutter</height>
<aspectratio>stretch</aspectratio>
<texture fallback="colors/black.png" diffuse="masks/albumThumb.png">$INFO[ListItem.Art(thumb)]</texture>
<bordertexture infill="false" diffuse="masks/albumThumb.png">colors/white.png</bordertexture>
<bordersize>6</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="textbox">
<visible>String.IsEmpty(listitem.title)</visible>
<posx>24</posx>
<posy>3-row</posy>
<width>228</width>
<height>6-row</height>
<font>largeTitle</font>
<wrapmultiline>true</wrapmultiline>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
<control type="textbox">
<visible>!controlgroup(9000).hasfocus</visible>
<posx></posx>
<posy>276</posy>
<width>264</width>
<height>60</height>
<align>center</align>
<aligny>top</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>[B]$INFO[ListItem.Title][/B][CR]$INFO[ListItem.artist]</label>
</control>
</control>
</focusedlayout>
</control>
</control>
</control>
</include>
</includes>