skin.pellucid/1080i/custom_musicPlayerFullscree...

306 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="5001">
<defaultcontrol always="true">8002</defaultcontrol>
<allowoverlay>no</allowoverlay>
<onload>RunScript(script.artistslideshow)</onload>
<onload>AlarmClock(controlDialog,setfocus(9876),00:05,silent)</onload>
<onunload>activateWindow(MusicLibrary)</onunload>
<controls>
<include>globalBackground</include>
<control type="group">
<include>fadeInOut</include>
<control type="group">
<!--fanart-->
<control type="image">
<visible>isempty(Window(Visualisation).Property(ArtistSlideshow))</visible>
<posx>0</posx>
<posy>0</posy>
<include>dimensionsFullscreen</include>
<fadetime>200</fadetime>
<texture background="true">$INFO[MusicPlayer.Property(Fanart_Image)]</texture>
<aspectratio align="left" aligny="top">stretch</aspectratio>
<include>kenBurnsey</include>
<colordiffuse>44ffffff</colordiffuse>
</control>
<control type="multiimage">
<visible>!isempty(Window(Visualisation).Property(ArtistSlideshow))</visible>
<posx>0</posx>
<posy>0</posy>
<include>dimensionsFullscreen</include>
<imagepath background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</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>
<!--vignettes-->
<control type="image">
<posx>0</posx>
<posy>0</posy>
<include>dimensionsFullscreen</include>
<texture>vignette.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
</control>
<!--info-->
<control type="group">
<!--track info-->
<control type="group">
<animation type="windowOpen">
<effect type="fade" start="0" end="100" time="500" delay="1000"/>
</animation>
<animation type="windowClose">
<effect type="fade" start="100" end="0" time="300"/>
</animation>
<!--Screen burn protection-->
<animation type="conditional" condition="true" pulse="true">
<effect type="fade" start="100" end="0" time="2500" delay="20000"/>
</animation>
<posx>col-1-begin</posx>
<posy>row-22-begin</posy>
<control type="image">
<posx>-18</posx>
<posy>-20</posy>
<width>3-col</width>
<height>3-col</height>
<aspectratio>scale</aspectratio>
<texture fallback="colors/black.png" border="0">$INFO[musicplayer.cover]</texture>
<bordertexture border="3" colordiffuse="33FFFFFF">colors/white.png</bordertexture>
<bordersize>3</bordersize>
<colordiffuse>ffFFFFFF</colordiffuse>
</control>
<control type="label">
<posx>3-col-indent</posx>
<posy>-8</posy>
<width>20-col</width>
<font>largeBlack</font>
<textcolor>textActive</textcolor>
<scroll>false</scroll>
<label>[COLOR highlight]$INFO[MusicPlayer.artist,, ][/COLOR]$INFO[MusicPlayer.Title]</label>
<shadowcolor>00000000</shadowcolor>
</control>
<control type="label">
<visible>!Pvr.IsPlayingRadio</visible>
<posx>3-col-indent</posx>
<posy>52</posy>
<width>20-col</width>
<font>regularStrong</font>
<textcolor>textActive</textcolor>
<scroll>false</scroll>
<label>$INFO[MusicPlayer.Album,, ]$INFO[MusicPlayer.year,(,)]</label>
<shadowcolor>00000000</shadowcolor>
</control>
<control type="label">
<visible>Pvr.IsPlayingRadio</visible>
<posx>3-col-indent</posx>
<posy>48</posy>
<width>20-col</width>
<font>regularStrong</font>
<textcolor>textActive</textcolor>
<scroll>false</scroll>
<label>$INFO[VideoPlayer.Plot]</label>
<shadowcolor>00000000</shadowcolor>
</control>
<control type="label">
<posx>3-col-indent</posx>
<posy>104</posy>
<width>12-col</width>
<font>pageTitle</font>
<align>left</align>
<textcolor>textActive</textcolor>
<scroll>false</scroll>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[MusicPlayer.time,, / ]$INFO[MusicPlayer.duration]</label>
</control>
<control type="label">
<visible>!Pvr.IsPlayingRadio</visible>
<posx>7-col</posx>
<posy>104</posy>
<width>4-col</width>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<label>$VAR[starRating]</label>
<shadowcolor>00000000</shadowcolor>
</control>
<control type="label">
<posx>3-col-indent</posx>
<posy>156</posy>
<width>12-col</width>
<font>itemTitle</font>
<align>left</align>
<textcolor>textActive</textcolor>
<scroll>false</scroll>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[MusicPlayer.offset(1).Artist,[COLOR highlight]$LOCALIZE[19031][/COLOR] , - ]$INFO[MusicPlayer.offset(1).Title]</label>
</control>
</control>
<!--dialog controls-->
<control type="group" id="8765">
<posx>0</posx>
<posy>0</posy>
<animation type="conditional" condition="!Controlgroup(8765).HasFocus">
<effect type="slide" start="0,0" end="0,-50" tween="cubic" easing="out" delay="500" time="300"/>
<effect type="fade" start="100" end="0" time="500" delay="500"/>
</animation>
<animation type="windowClose">
<effect type="fade" start="100" end="0" time="300"/>
</animation>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>fullscreenWidth</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/black.png</texture>
<colordiffuse>textboxInactive</colordiffuse>
</control>
<!--shuffle and repeat / vis options-->
<control type="list" id="8002">
<posx>col-1-begin</posx>
<posy>0</posy>
<width>24-col</width>
<height>2-row</height>
<itemgap>0</itemgap>
<orientation>horizontal</orientation>
<onup>9876</onup>
<ondown>9876</ondown>
<itemlayout width="4-col" height="2-row">
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>-1</posy>
<width>3-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="4-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col-textbox</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<include>spinFocusIcon</include>
</control>
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>3-col-textbox</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>-1</posy>
<width>5-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</focusedlayout>
<content>
<item>
<description>Repeat</description>
<label>$VAR[repeatState]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(Repeat)</onclick>
</item>
<item>
<description>Shuffle</description>
<label>$VAR[shuffleState]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(Random)</onclick>
</item>
<item>
<description>Playlist</description>
<label>31097</label>
<label2></label2>
<thumb>-</thumb>
<onclick>activateWindow(500)</onclick>
<onclick>dialog.close(5001)</onclick>
</item>
<item>
<description>Visualisation</description>
<label>31032</label>
<label2></label2>
<thumb>-</thumb>
<onclick>activateWindow(musicOSD)</onclick>
</item>
<item>
<visible>visualisation.enabled</visible>
<description>Visualisation Settings</description>
<label>$LOCALIZE[21417]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
</item>
</content>
</control>
</control>
</control>
</control>
<!--hidden button to handle dialog autohide-->
<control type="button" id="9876">
<posx>-100</posx>
<posy>-100</posy>
<height>1-col</height>
<width>1-col</width>
<onup>8002</onup>
<ondown>8002</ondown>
<onleft>decreaseRating</onleft>
<onright>increaseRating</onright>
<onclick>control.setfocus(8002)</onclick>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>custom_musicPlayerFullscreen.xml</label>
</control>
</controls>
</window>