356 lines
15 KiB
XML
356 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<window type="dialog" id="1103">
|
|
<defaultcontrol always="true">9876</defaultcontrol>
|
|
<onunload>control.setfocus(9999)</onunload>
|
|
<controls>
|
|
<control type="image">
|
|
<include>dimensionsFullscreen</include>
|
|
<texture>colors/black.png</texture>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="group">
|
|
<include>fadeInOut</include>
|
|
<control type="group">
|
|
<!--art-->
|
|
<control type="image">
|
|
<visible>!Visualisation.Enabled</visible>
|
|
<include>dimensionsFullscreen</include>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>background</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="image">
|
|
<visible>!Visualisation.Enabled</visible>
|
|
<include>dimensionsFullscreen</include>
|
|
<aspectratio scalediffuse="false">stretch</aspectratio>
|
|
<texture fallback="colors/offblack.png" border="0">$INFO[player.art(fanart)]</texture>
|
|
<fadetime>500</fadetime>
|
|
<colordiffuse>77ffffff</colordiffuse>
|
|
</control>
|
|
<!--visualisation-->
|
|
<control type="visualisation" id="2">
|
|
<visible>Visualisation.Enabled</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-9-begin</posy>
|
|
<animation type="conditional" condition="!String.IsEqual(MusicPlayer.Time,00:00)">
|
|
<effect type="slide" start="0,500" end="0,0" tween="sine" time="400"/>
|
|
</animation>
|
|
<animation type="conditional" condition="control.hasfocus(8001) | control.hasfocus(8002)">
|
|
<effect type="slide" start="0,0" end="0,-84" tween="sine" time="400"/>
|
|
</animation>
|
|
<animation type="conditional" condition="true">
|
|
<effect type="fade" end="90" time="0"/>
|
|
</animation>
|
|
<!--cover art-->
|
|
<control type="image">
|
|
<visible>!Visualisation.Enabled</visible>
|
|
<posx>9-col</posx>
|
|
<posy>0</posy>
|
|
<width>6-col</width>
|
|
<height>6-col</height>
|
|
<aspectratio scalediffuse="false">stretch</aspectratio>
|
|
<texture fallback="noAlbumCover.jpg">$INFO[MusicPlayer.Cover]</texture>
|
|
<bordertexture colordiffuse="overlay">colors/black.png</bordertexture>
|
|
<bordersize>6</bordersize>
|
|
<colordiffuse>ffffffff</colordiffuse>
|
|
</control>
|
|
<!--track info-->
|
|
<control type="group">
|
|
<posx>0</posx>
|
|
<posy>12-row</posy>
|
|
<control type="label">
|
|
<posx>7-col</posx>
|
|
<posy>62</posy>
|
|
<width>10-col</width>
|
|
<height>2-row</height>
|
|
<align>center</align>
|
|
<font>menuTitle3</font>
|
|
<textcolor>textActive</textcolor>
|
|
<scroll>true</scroll>
|
|
<label>$INFO[MusicPlayer.Title]</label>
|
|
<shadowcolor>99000000</shadowcolor>
|
|
<wrapmultiline>true</wrapmultiline>
|
|
</control>
|
|
<control type="label">
|
|
<posx>4-col</posx>
|
|
<posy>124</posy>
|
|
<width>16-col</width>
|
|
<height>3-row</height>
|
|
<align>center</align>
|
|
<font>buttonTitle</font>
|
|
<textcolor>textActive</textcolor>
|
|
<scroll>true</scroll>
|
|
<label>[B]$INFO[MusicPlayer.artist][/B][CR]$INFO[MusicPlayer.Album,, ]$INFO[MusicPlayer.year,(,)]</label>
|
|
<shadowcolor>99000000</shadowcolor>
|
|
</control>
|
|
<control type="progress">
|
|
<description>Progress Bar</description>
|
|
<posx>9-col</posx>
|
|
<posy>230</posy>
|
|
<width>6-col</width>
|
|
<height>12</height>
|
|
<texturebg colordiffuse="textboxInactive">colors/offblack.png</texturebg>
|
|
<midtexture colordiffuse="highlight">colors/white.png</midtexture>
|
|
<info>player.progress</info>
|
|
</control>
|
|
<control type="label">
|
|
<posx>628</posx>
|
|
<posy>6-row</posy>
|
|
<width>4-col</width>
|
|
<align>right</align>
|
|
<font>buttonTitle2</font>
|
|
<textcolor>textActive</textcolor>
|
|
<scroll>true</scroll>
|
|
<label>$INFO[musicplayer.Playlistposition]$INFO[musicplayer.Playlistlength, / ]</label>
|
|
<shadowcolor>99000000</shadowcolor>
|
|
</control>
|
|
<control type="label">
|
|
<posx>1100</posx>
|
|
<posy>6-row</posy>
|
|
<width>4-col</width>
|
|
<align>left</align>
|
|
<font>buttonTitle2</font>
|
|
<textcolor>textActive</textcolor>
|
|
<scroll>true</scroll>
|
|
<label>$INFO[MusicPlayer.timeremaining]</label>
|
|
<shadowcolor>99000000</shadowcolor>
|
|
</control>
|
|
</control>
|
|
<!--player controls and options-->
|
|
<control type="group">
|
|
<posy>738</posy>
|
|
<control type="image">
|
|
<posx>-96</posx>
|
|
<posy>0</posy>
|
|
<width>fullscreenWidth</width>
|
|
<height>5-row</height>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>88ffffff</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<!--player controls-->
|
|
<control type="panel" id="8001">
|
|
<posx>-48</posx>
|
|
<posy>6</posy>
|
|
<width>7-col</width>
|
|
<height>2-row</height>
|
|
<itemgap>0</itemgap>
|
|
<onright>8002</onright>
|
|
<onup>Control.SetFocus(9876)</onup>
|
|
<orientation>horizontal</orientation>
|
|
<itemlayout width="1-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>
|
|
</itemlayout>
|
|
<focusedlayout width="1-col" height="2-row">
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>1-col</width>
|
|
<height>69</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>highlight</colordiffuse>
|
|
</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>
|
|
</focusedlayout>
|
|
<content>
|
|
<item>
|
|
<description>Previous</description>
|
|
<label2></label2>
|
|
<thumb></thumb>
|
|
<onclick>PlayerControl(previous)</onclick>
|
|
</item>
|
|
<item>
|
|
<description>Stop</description>
|
|
<label2></label2>
|
|
<thumb></thumb>
|
|
<onclick>PlayerControl(stop)</onclick>
|
|
<onclick>Dialog.Close(1103)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Player.Playing | player.forwarding | player.rewinding</visible>
|
|
<description>Play/Pause</description>
|
|
<label2></label2>
|
|
<thumb></thumb>
|
|
<onclick>PlayerControl(play)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Player.Paused</visible>
|
|
<description>Pause</description>
|
|
<label2></label2>
|
|
<thumb></thumb>
|
|
<onclick>PlayerControl(play)</onclick>
|
|
</item>
|
|
<item>
|
|
<description>Next Chapter</description>
|
|
<label2></label2>
|
|
<thumb></thumb>
|
|
<onclick>PlayerControl(next)</onclick>
|
|
</item>
|
|
</content>
|
|
</control>
|
|
<!--final options-->
|
|
<control type="panel" id="8002">
|
|
<posx>6-col</posx>
|
|
<posy>6</posy>
|
|
<width>20-col</width>
|
|
<height>2-row</height>
|
|
<orientation>horizontal</orientation>
|
|
<onup>Control.SetFocus(9876)</onup>
|
|
<onleft>Control.SetFocus(8001,4)</onleft>
|
|
<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>symbolLarge</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label2]</label>
|
|
</control>
|
|
<control type="label">
|
|
<posx>1-col-indent</posx>
|
|
<posy>0</posy>
|
|
<width>3-col-gutter</width>
|
|
<height>2-row</height>
|
|
<aligny>center</aligny>
|
|
<font>thumbTitle</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</width>
|
|
<height>2-row</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>highlight</colordiffuse>
|
|
</control>
|
|
<control type="image">
|
|
<posx>1-col</posx>
|
|
<posy>0</posy>
|
|
<width>3-col-gutter</width>
|
|
<height>2-row</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>eeffffff</colordiffuse>
|
|
</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>symbolLarge</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label2]</label>
|
|
<shadowcolor></shadowcolor>
|
|
</control>
|
|
<control type="label">
|
|
<posx>1-col-indent</posx>
|
|
<posy>0</posy>
|
|
<width>3-col-gutter</width>
|
|
<height>2-row</height>
|
|
<aligny>center</aligny>
|
|
<font>thumbTitle</font>
|
|
<textcolor>black</textcolor>
|
|
<label>$INFO[ListItem.label]</label>
|
|
</control>
|
|
</focusedlayout>
|
|
<content>
|
|
<item>
|
|
<description>Playlist</description>
|
|
<label>31123</label>
|
|
<label2></label2>
|
|
<thumb></thumb>
|
|
<onclick>Dialog.Close(all,true)</onclick>
|
|
<onclick>activateWindow(musicplaylist)</onclick>
|
|
</item>
|
|
<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 condition="!Playlist.IsRandom">PlayerControl(RandomOn)</onclick>
|
|
<onclick condition="Playlist.IsRandom">PlayerControl(RandomOff)</onclick>
|
|
</item>
|
|
<item>
|
|
<description>Visualisation</description>
|
|
<label>250</label>
|
|
<label2></label2>
|
|
<thumb></thumb>
|
|
<onclick>activateWindow(musicOSD)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Visualisation.HasPresets</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 buttons to handle dialog autohide-->
|
|
<control type="button" id="9876">
|
|
<posx>-100</posx>
|
|
<posy>-100</posy>
|
|
<height>1-col</height>
|
|
<width>1-col</width>
|
|
<onclick>control.setfocus(8001)</onclick>
|
|
<oninfo>control.setfocus(8001)</oninfo>
|
|
</control>
|
|
<!--debugging-->
|
|
<include>DebugGrid</include>
|
|
<control type="label">
|
|
<include>DialogID</include>
|
|
<label>custom_musicPlayerFullscreen.xml</label>
|
|
</control>
|
|
</controls>
|
|
</window>
|