skin.pellucid/1080i/custom_musicPlayerFullscree...

312 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1103">
<defaultcontrol always="true">9876</defaultcontrol>
<onunload>activateWindow(MusicLibrary)</onunload>
<onunload>Skin.SetString(showRecentMusicItems,true)</onunload>
<onunload>control.setfocus(9000)</onunload>
<controls>
<include>globalBackground</include>
<control type="group">
<include>fadeInOut</include>
<control type="group">
<!--fanart-->
<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<include>dimensionsFullscreen</include>
<imagepath background="true">$INFO[Window(Home).Property(SkinHelper.Music.ExtraFanArt)]</imagepath>
<aspectratio>keep</aspectratio>
<timeperimage>10000</timeperimage>
<fadetime>1000</fadetime>
<randomize>true</randomize>
<include>kenBurnsey</include>
<colordiffuse>44ffffff</colordiffuse>
</control>
<!--visualisation-->
<control type="visualisation" id="2">
<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 fallback="defaultAlbumCover.png" border="0">$INFO[player.art(thumb)]</texture>
<fadetime>500</fadetime>
</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>612</width>
<height>2-row</height>
<font>regularStrong</font>
<textcolor>textActive</textcolor>
<scroll>true</scroll>
<label>$INFO[MusicPlayer.Title]</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>overlay</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">
<visible>Playlist.IsRepeat | Playlist.IsRepeatOne</visible>
<posx>8-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>9-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>
</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>
<!-- side menu-->
<control type="group" id="8765">
<animation type="Conditional" condition="controlgroup(8765).hasfocus">
<effect type="fade" start="0" end="100" time="300"/>
<effect type="slide" start="-200" end="0" tween="sine" easing="out" time="400"/>
</animation>
<animation type="Conditional" condition="!controlgroup(8765).hasfocus">
<effect type="fade" start="100" end="0" time="300"/>
<effect type="slide" start="0" end="-200" tween="sine" easing="out" time="400"/>
</animation>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>col-7-begin</width>
<height>fullscreenHeight</height>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>col-7-begin</posx>
<posy>0</posy>
<width>3</width>
<height>fullscreenHeight</height>
<texture>colors/black.png</texture>
<colordiffuse>33ffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--section logo-->
<control type="group">
<control type="label">
<posx>col-1-begin</posx>
<posy>row-1-begin</posy>
<width>1-col</width>
<height>1-col</height>
<font>symbolVeryLarge</font>
<aligny>center</aligny>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label></label>
</control>
</control>
<control type="list" id="8002">
<posx>0</posx>
<posy>row-4-begin</posy>
<width>8-col</width>
<height>24-row</height>
<orientation>vertical</orientation>
<onleft>9002</onleft>
<onright>9876</onright>
<onback>activateWindow(home)</onback>
<itemlayout width="col-7-begin" height="2-row">
<control type="label">
<posx>col-1-begin</posx>
<posy>0</posy>
<width>7-col</width>
<height>2-row</height>
<font>menuTitle</font>
<aligny>center</aligny>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="col-7-begin" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>col-7-begin</width>
<height>2-row</height>
<texture>colors/white.png</texture>
<colordiffuse>textActive</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="label">
<posx>col-1-begin</posx>
<posy>0</posy>
<width>8-col</width>
<height>2-row</height>
<font>menuTitle</font>
<aligny>center</aligny>
<textcolor>highlight</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label]</label>
</control>
</focusedlayout>
<content>
<item>
<description>Playlist</description>
<label>31123</label>
<thumb>-</thumb>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>activateWindow(musicplaylist)</onclick>
</item>
<item>
<description>Repeat</description>
<label>$VAR[repeatState]</label>
<thumb>-</thumb>
<onclick>PlayerControl(Repeat)</onclick>
</item>
<item>
<description>Shuffle</description>
<label>$VAR[shuffleState]</label>
<thumb>-</thumb>
<onclick>PlayerControl(Random)</onclick>
</item>
<item>
<description>Visualisation</description>
<label>31032</label>
<thumb>-</thumb>
<onclick>activateWindow(musicOSD)</onclick>
</item>
<item>
<visible>visualisation.enabled</visible>
<description>Visualisation Settings</description>
<label>$LOCALIZE[21417]</label>
<thumb>-</thumb>
<onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
</item>
</content>
</control>
</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>8765</onleft>
</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>8765</onleft>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>custom_musicPlayerFullscreen.xml</label>
</control>
</controls>
</window>