skin.pellucid/1080i/custom_musicPlayerFullscree...

224 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1103">
<defaultcontrol always="true">9876</defaultcontrol>
<onunload>activateWindow(music)</onunload>
<onunload>control.setfocus(50)</onunload>
<controls>
<include>globalBackground</include>
<control type="group">
<include>fadeInOut</include>
<control type="group">
<!--fanart-->
<control type="image">
<posx>0</posx>
<posy>0</posy>
<include>dimensionsFullscreen</include>
<texture fallback="special://skin/extras/backgrounds/music.jpg" border="0">$INFO[player.art(fanart)]</texture>
<aspectratio>stretch</aspectratio>
<include>kenBurnsey</include>
<colordiffuse>44ffffff</colordiffuse>
</control>
<!--visualisation-->
<control type="visualisation" id="2">
<visible>!SlideShow.IsActive</visible>
<description>visualisation</description>
<posx>0</posx>
<posy>0</posy>
<include>dimensionsFullscreen</include>
</control>
</control>
<!--Track info-->
<control type="group">
<posx>col-1-begin</posx>
<posy>row-23-begin</posy>
<animation type="Conditional" condition="control.hasfocus(6789)">
<effect type="slide" start="0,0" end="0,500" tween="sine" time="400"/>
</animation>
<animation type="conditional" condition="!StringCompare(MusicPlayer.Time,00:00)">
<effect type="slide" start="0,500" end="0,0" tween="sine" time="400"/>
</animation>
<!--coverart (or channel art if radio)-->
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>5-row</width>
<height>182</height>
<aspectratio>stretch</aspectratio>
<texture border="0">DefaultAlbumCover.png</texture>
<colordiffuse>textboxInactive</colordiffuse>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>5-row</width>
<height>182</height>
<aspectratio>stretch</aspectratio>
<texture border="6">$INFO[player.art(thumb)]</texture>
<colordiffuse>ffffffff</colordiffuse>
<bordertexture border="6">colors/white.png</bordertexture>
<bordersize>6</bordersize>
</control>
<!--track info-->
<control type="group">
<posx>182</posx>
<posy>0</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>9-col</width>
<height>71</height>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>24</posx>
<posy>0</posy>
<width>542</width>
<height>2-row</height>
<font>regularStrong</font>
<textcolor>textActive</textcolor>
<scroll>true</scroll>
<label>$INFO[MusicPlayer.Title]</label>
</control>
<control type="label">
<posx>8-col</posx>
<posy>0</posy>
<width>612</width>
<height>2-row</height>
<font>regularStrong</font>
<textcolor>textActive</textcolor>
<scroll>true</scroll>
<label>[B]$INFO[MusicPlayer.userrating,,*][/B]</label>
</control>
<control type="image">
<posx>0</posx>
<posy>2-row</posy>
<width>9-col</width>
<height>1-row</height>
<texture>colors/white.png</texture>
<colordiffuse>FFFFFFFF</colordiffuse>
</control>
<control type="label">
<posx>24</posx>
<posy>2-row</posy>
<width>612</width>
<height>1-row</height>
<font>smallStrong</font>
<textcolor>black</textcolor>
<scroll>false</scroll>
<label>[UPPERCASE][B]$INFO[MusicPlayer.artist,, ][/B]$INFO[MusicPlayer.Album, | , ]$INFO[MusicPlayer.year,(,)][/UPPERCASE]</label>
</control>
<control type="image">
<posx>0</posx>
<posy>3-row</posy>
<width>9-col</width>
<height>2-row</height>
<texture>colors/black.png</texture>
<colordiffuse>99000000</colordiffuse>
</control>
<control type="progress">
<description>Duration</description>
<posx>0</posx>
<posy>3-row</posy>
<width>9-col</width>
<height>2-row</height>
<reveal>false</reveal>
<texturebg>-</texturebg>
<lefttexture>-</lefttexture>
<midtexture border="36" colordiffuse="22FFFFFF">colors/white.png</midtexture>
<righttexture>-</righttexture>
<overlaytexture>-</overlaytexture>
<info>Player.Progress</info>
</control>
<control type="label">
<posx>24</posx>
<posy>3-row</posy>
<width>612</width>
<height>2-row</height>
<font>regularStrong</font>
<align>left</align>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<scroll>false</scroll>
<label>$INFO[MusicPlayer.time,, / ]$INFO[MusicPlayer.duration]</label>
</control>
<control type="label">
<posx>9-col-gutter</posx>
<posy>3-row</posy>
<width>612</width>
<height>2-row</height>
<font>regularStrong</font>
<align>right</align>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<scroll>false</scroll>
<label>$INFO[musicplayer.Playlistposition,$LOCALIZE[554] ]$INFO[musicplayer.Playlistlength, / ]</label>
</control>
<control type="label">
<visible>Playlist.IsRepeat | Playlist.IsRepeatOne</visible>
<posx>5-col-gutter</posx>
<posy>3-row</posy>
<width>612</width>
<height>2-row</height>
<font>symbolLarge</font>
<align>right</align>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label></label>
</control>
<control type="label">
<visible>Playlist.IsRandom</visible>
<posx>384</posx>
<posy>3-row</posy>
<width>612</width>
<height>2-row</height>
<font>symbolLarge</font>
<align>right</align>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label></label>
</control>
</control>
</control>
</control>
<!--vignette-->
<control type="image">
<posx>0</posx>
<posy>0</posy>
<include>dimensionsFullscreen</include>
<texture>vignette.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--hidden buttons to handle dialog autohide-->
<control type="button" id="9876">
<posx>-100</posx>
<posy>-100</posy>
<height>1-col</height>
<width>1-col</width>
<onup>noop</onup>
<ondown>6789</ondown>
<onleft>playercontrol(previous)</onleft>
<onright>playercontrol(next)</onright>
<onclick>activatewindow(1105)</onclick>
</control>
<control type="button" id="6789">
<posx>-100</posx>
<posy>-100</posy>
<height>1-col</height>
<width>1-col</width>
<onup>9876</onup>
<ondown>noop</ondown>
<onleft>playercontrol(previous)</onleft>
<onright>playercontrol(next)</onright>
<onclick>activatewindow(1105)</onclick>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>custom_musicPlayerFullscreen.xml</label>
</control>
</controls>
</window>