276 lines
8.9 KiB
XML
276 lines
8.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<window>
|
|
<defaultcontrol>-</defaultcontrol>
|
|
<allowoverlay>no</allowoverlay>
|
|
<controls>
|
|
<control type="visualisation" id="2">
|
|
<!-- FIX ME Music Visualization needs to have an id of 2 in this window to be able to lock or change preset -->
|
|
<description>visualisation</description>
|
|
<left>0</left>
|
|
<top>0</top>
|
|
<width>1280</width>
|
|
<height>720</height>
|
|
</control>
|
|
<control type="image">
|
|
<description>Fanart Image for Artist</description>
|
|
<left>0</left>
|
|
<top>0</top>
|
|
<width>1280</width>
|
|
<height>720</height>
|
|
<texture background="true">$INFO[Player.Art(fanart)]</texture>
|
|
<colordiffuse>AAFFFFFF</colordiffuse>
|
|
<visible>!IsEmpty(Player.Art(fanart)) + !Skin.HasSetting(HideVisualizationFanart)</visible>
|
|
<fadetime>600</fadetime>
|
|
</control>
|
|
<!-- media infos -->
|
|
<control type="group">
|
|
<animation effect="fade" time="200">VisibleChange</animation>
|
|
<visible>[Player.ShowInfo | Window.IsActive(MusicOSD)] + ![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList)]</visible>
|
|
<control type="image">
|
|
<left>0</left>
|
|
<top>-150</top>
|
|
<width>1280</width>
|
|
<height>256</height>
|
|
<texture flipy="true" border="1">HomeNowPlayingBack.png</texture>
|
|
</control>
|
|
<control type="label">
|
|
<description>Partymode Header label</description>
|
|
<left>30</left>
|
|
<top>5</top>
|
|
<width>800</width>
|
|
<height>25</height>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>white</textcolor>
|
|
<shadowcolor>black</shadowcolor>
|
|
<label>$LOCALIZE[589]</label>
|
|
<visible>MusicPartyMode.Enabled</visible>
|
|
</control>
|
|
<control type="label">
|
|
<description>Normal Header label</description>
|
|
<left>30</left>
|
|
<top>5</top>
|
|
<width>800</width>
|
|
<height>25</height>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>white</textcolor>
|
|
<shadowcolor>black</shadowcolor>
|
|
<label>$INFO[musicplayer.Playlistposition,$LOCALIZE[554]: ]$INFO[musicplayer.Playlistlength, / ]</label>
|
|
<visible>!MusicPartyMode.Enabled</visible>
|
|
</control>
|
|
<control type="label">
|
|
<description>Clock label</description>
|
|
<left>450</left>
|
|
<top>5</top>
|
|
<width>800</width>
|
|
<height>25</height>
|
|
<align>right</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>white</textcolor>
|
|
<shadowcolor>black</shadowcolor>
|
|
<label>$INFO[System.Time]</label>
|
|
<animation effect="slide" start="0,0" end="-70,0" time="0" condition="Window.IsVisible(MusicOSD)">conditional</animation>
|
|
</control>
|
|
<control type="image">
|
|
<left>0</left>
|
|
<top>230r</top>
|
|
<width>1280</width>
|
|
<height>230</height>
|
|
<texture border="1">HomeNowPlayingBack.png</texture>
|
|
</control>
|
|
<control type="image">
|
|
<description>cover image</description>
|
|
<left>20</left>
|
|
<top>250r</top>
|
|
<width>300</width>
|
|
<height>230</height>
|
|
<texture fallback="DefaultAlbumCover.png">$INFO[Player.Art(thumb)]</texture>
|
|
<aspectratio aligny="bottom">keep</aspectratio>
|
|
<bordertexture border="8">ThumbShadow.png</bordertexture>
|
|
<bordersize>8</bordersize>
|
|
</control>
|
|
<control type="group">
|
|
<left>330</left>
|
|
<top>185r</top>
|
|
<control type="label" id="1">
|
|
<description>Heading label</description>
|
|
<left>0</left>
|
|
<top>0</top>
|
|
<width>910</width>
|
|
<height>25</height>
|
|
<align>left</align>
|
|
<font>font13</font>
|
|
<label>$LOCALIZE[31040]</label>
|
|
<textcolor>white</textcolor>
|
|
<shadowcolor>black</shadowcolor>
|
|
<animation effect="slide" start="0,0" end="0,25" time="0" condition="IsEmpty(MusicPlayer.Artist) + IsEmpty(MusicPlayer.Album)">conditional</animation>
|
|
</control>
|
|
<control type="label" id="1">
|
|
<description>Artist label</description>
|
|
<left>20</left>
|
|
<top>30</top>
|
|
<width>910</width>
|
|
<height>25</height>
|
|
<align>left</align>
|
|
<font>font12</font>
|
|
<label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]</label>
|
|
<textcolor>grey2</textcolor>
|
|
<shadowcolor>black</shadowcolor>
|
|
</control>
|
|
<control type="grouplist">
|
|
<left>20</left>
|
|
<top>60</top>
|
|
<width>910</width>
|
|
<height>35</height>
|
|
<itemgap>5</itemgap>
|
|
<orientation>horizontal</orientation>
|
|
<control type="label">
|
|
<width min="10" max="700">auto</width>
|
|
<height>30</height>
|
|
<font>font30</font>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<label>$INFO[Player.Title]</label>
|
|
<textcolor>orange</textcolor>
|
|
<scroll>true</scroll>
|
|
</control>
|
|
<control type="image">
|
|
<description>Audio Codec Image</description>
|
|
<width>80</width>
|
|
<height>35</height>
|
|
<aspectratio align="right">keep</aspectratio>
|
|
<texture>$INFO[MusicPlayer.Codec,flagging/audio/,.png]</texture>
|
|
</control>
|
|
<control type="group">
|
|
<description>Rating</description>
|
|
<width>110</width>
|
|
<height>35</height>
|
|
<control type="image">
|
|
<description>rating back</description>
|
|
<left>0</left>
|
|
<top>0</top>
|
|
<width>110</width>
|
|
<height>35</height>
|
|
<aspectratio align="left">stretch</aspectratio>
|
|
<texture border="5">flagging/blank.png</texture>
|
|
</control>
|
|
<control type="image">
|
|
<description>Rating</description>
|
|
<left>5</left>
|
|
<top>0</top>
|
|
<width>100</width>
|
|
<height>35</height>
|
|
<aspectratio align="center">keep</aspectratio>
|
|
<texture fallback="LeftRating/rating0.png">$INFO[Player.StarRating,LeftRating/]</texture>
|
|
</control>
|
|
</control>
|
|
</control>
|
|
<control type="label">
|
|
<left>0</left>
|
|
<top>120</top>
|
|
<width>910</width>
|
|
<height>25</height>
|
|
<label>$LOCALIZE[19031]: $INFO[MusicPlayer.offset(1).Artist,, - ]$INFO[MusicPlayer.offset(1).Title]</label>
|
|
<align>center</align>
|
|
<aligny>center</aligny>
|
|
<font>font12</font>
|
|
<textcolor>grey</textcolor>
|
|
<scroll>true</scroll>
|
|
<visible>MusicPlayer.HasNext + !Window.IsVisible(MusicOSD)</visible>
|
|
<animation effect="fade" time="200">VisibleChange</animation>
|
|
</control>
|
|
</control>
|
|
<control type="group">
|
|
<left>330</left>
|
|
<top>95r</top>
|
|
<control type="label">
|
|
<left>0</left>
|
|
<top>0</top>
|
|
<width>100</width>
|
|
<height>40</height>
|
|
<font>font13</font>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<label>$INFO[Player.Time(hh:mm:ss)]</label>
|
|
</control>
|
|
<control type="progress">
|
|
<description>Progressbar</description>
|
|
<left>100</left>
|
|
<top>15</top>
|
|
<width>720</width>
|
|
<height>16</height>
|
|
<info>Player.Progress</info>
|
|
</control>
|
|
<control type="label">
|
|
<left>820</left>
|
|
<top>0</top>
|
|
<width>100</width>
|
|
<height>40</height>
|
|
<font>font13</font>
|
|
<align>right</align>
|
|
<aligny>center</aligny>
|
|
<label>$INFO[Player.Duration(hh:mm:ss)]</label>
|
|
</control>
|
|
</control>
|
|
</control>
|
|
<!-- codec & viz infos -->
|
|
<control type="group" id="0">
|
|
<left>0</left>
|
|
<top>50</top>
|
|
<visible>Player.ShowCodec + ![Window.IsVisible(script-cu-lrclyrics-main.xml) | Window.IsVisible(VisualisationSettings) | Window.IsVisible(VisualisationPresetList)]</visible>
|
|
<animation effect="fade" time="200">VisibleChange</animation>
|
|
<control type="image">
|
|
<description>media info background image</description>
|
|
<left>0</left>
|
|
<top>0</top>
|
|
<width>1280</width>
|
|
<height>105</height>
|
|
<colordiffuse>AAFFFFFF</colordiffuse>
|
|
<texture>black-back.png</texture>
|
|
</control>
|
|
<control type="label">
|
|
<description>row 1 label</description>
|
|
<left>50</left>
|
|
<top>10</top>
|
|
<label>-</label>
|
|
<align>left</align>
|
|
<label>$INFO[musicplayer.Codec,$LOCALIZE[21446]: ,]$INFO[musicplayer.Bitrate, · $LOCALIZE[623]: ,kbps]$INFO[musicplayer.bitspersample, · $LOCALIZE[612]: ,]$INFO[musicplayer.Samplerate, · $LOCALIZE[613]: ,kHz]$INFO[musicplayer.Channels, · $LOCALIZE[21444]: ]</label>
|
|
<font>font12</font>
|
|
</control>
|
|
<control type="label">
|
|
<description>row 2 label</description>
|
|
<left>50</left>
|
|
<top>40</top>
|
|
<label>-</label>
|
|
<align>left</align>
|
|
<label>$INFO[Visualisation.Name,, [I][COLOR=orange]($LOCALIZE[20166])[/COLOR][/I] · ]fps: $INFO[System.FPS]</label>
|
|
<font>font12</font>
|
|
<visible>Visualisation.Locked</visible>
|
|
</control>
|
|
<control type="label">
|
|
<description>Unlocked row 2 label</description>
|
|
<left>50</left>
|
|
<top>40</top>
|
|
<label>-</label>
|
|
<align>left</align>
|
|
<label>$INFO[Visualisation.Name,, · ]fps: $INFO[System.FPS]</label>
|
|
<font>font12</font>
|
|
<visible>!Visualisation.Locked</visible>
|
|
</control>
|
|
<control type="label">
|
|
<description>row 3 label</description>
|
|
<left>50</left>
|
|
<top>70</top>
|
|
<label>-</label>
|
|
<align>left</align>
|
|
<label>$INFO[Visualisation.Preset,$LOCALIZE[13388]: ]</label>
|
|
<font>font12</font>
|
|
</control>
|
|
</control>
|
|
</controls>
|
|
</window>
|