1 <?xml version="1.0" encoding="UTF-8"?>
3 <defaultcontrol>-</defaultcontrol>
4 <allowoverlay>no</allowoverlay>
6 <control type="visualisation" id="2">
7 <!-- FIX ME Music Visualization needs to have an id of 2 in this window to be able to lock or change preset -->
8 <description>visualisation</description>
14 <control type="image">
15 <description>Fanart Image for Artist</description>
20 <texture background="true">$INFO[Player.Art(fanart)]</texture>
21 <colordiffuse>AAFFFFFF</colordiffuse>
22 <visible>!IsEmpty(Player.Art(fanart)) + !Skin.HasSetting(HideVisualizationFanart)</visible>
23 <fadetime>600</fadetime>
26 <control type="group">
27 <animation effect="fade" time="200">VisibleChange</animation>
28 <visible>[Player.ShowInfo | Window.IsActive(MusicOSD)] + ![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList)]</visible>
29 <control type="image">
34 <texture flipy="true">HomeNowPlayingBack.png</texture>
36 <control type="label">
37 <description>Partymode Header label</description>
43 <aligny>center</aligny>
45 <textcolor>white</textcolor>
46 <shadowcolor>black</shadowcolor>
47 <label>$LOCALIZE[589]</label>
48 <visible>MusicPartyMode.Enabled</visible>
50 <control type="label">
51 <description>Normal Header label</description>
57 <aligny>center</aligny>
59 <textcolor>white</textcolor>
60 <shadowcolor>black</shadowcolor>
61 <label>$INFO[musicplayer.Playlistposition,$LOCALIZE[554]: ]$INFO[musicplayer.Playlistlength, / ]</label>
62 <visible>!MusicPartyMode.Enabled</visible>
64 <control type="label">
65 <description>Clock label</description>
71 <aligny>center</aligny>
73 <textcolor>white</textcolor>
74 <shadowcolor>black</shadowcolor>
75 <label>$INFO[System.Time]</label>
76 <animation effect="slide" start="0,0" end="-70,0" time="0" condition="Window.IsVisible(MusicOSD)">conditional</animation>
78 <control type="image">
83 <texture>HomeNowPlayingBack.png</texture>
85 <control type="image">
86 <description>cover image</description>
91 <texture fallback="DefaultAlbumCover.png">$INFO[Player.Art(thumb)]</texture>
92 <aspectratio aligny="bottom">keep</aspectratio>
93 <bordertexture border="8">ThumbShadow.png</bordertexture>
94 <bordersize>8</bordersize>
96 <control type="group">
99 <control type="label" id="1">
100 <description>Heading label</description>
107 <label>$LOCALIZE[31040]</label>
108 <textcolor>white</textcolor>
109 <shadowcolor>black</shadowcolor>
110 <animation effect="slide" start="0,0" end="0,25" time="0" condition="IsEmpty(MusicPlayer.Artist) + IsEmpty(MusicPlayer.Album)">conditional</animation>
112 <control type="label" id="1">
113 <description>Artist label</description>
120 <label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]</label>
121 <textcolor>grey2</textcolor>
122 <shadowcolor>black</shadowcolor>
124 <control type="grouplist">
130 <orientation>horizontal</orientation>
131 <control type="label">
132 <width min="10" max="700">auto</width>
136 <aligny>center</aligny>
137 <label>$INFO[Player.Title]</label>
138 <textcolor>orange</textcolor>
139 <scroll>true</scroll>
141 <control type="image">
142 <description>Audio Codec Image</description>
145 <aspectratio align="right">keep</aspectratio>
146 <texture>$INFO[MusicPlayer.Codec,flagging/audio/,.png]</texture>
148 <control type="group">
149 <description>Rating</description>
152 <control type="image">
153 <description>rating back</description>
158 <aspectratio align="left">stretch</aspectratio>
159 <texture border="5">flagging/blank.png</texture>
161 <control type="image">
162 <description>Rating</description>
167 <aspectratio align="center">keep</aspectratio>
168 <texture fallback="LeftRating/rating0.png">$INFO[Player.StarRating,LeftRating/]</texture>
172 <control type="label">
177 <label>$LOCALIZE[209]: $INFO[MusicPlayer.offset(1).Artist,, - ]$INFO[MusicPlayer.offset(1).Title]</label>
178 <align>center</align>
179 <aligny>center</aligny>
181 <textcolor>grey</textcolor>
182 <scroll>true</scroll>
183 <visible>MusicPlayer.HasNext + !Window.IsVisible(MusicOSD)</visible>
184 <animation effect="fade" time="200">VisibleChange</animation>
187 <control type="group">
190 <control type="label">
197 <aligny>center</aligny>
198 <label>$INFO[Player.Time(hh:mm:ss)]</label>
200 <control type="progress">
201 <description>Progressbar</description>
206 <info>Player.Progress</info>
208 <control type="label">
215 <aligny>center</aligny>
216 <label>$INFO[Player.Duration(hh:mm:ss)]</label>
220 <!-- codec & viz infos -->
221 <control type="group" id="0">
224 <visible>Player.ShowCodec + ![Window.IsVisible(script-XBMC_Lyrics-main.xml) | Window.IsVisible(VisualisationSettings) | Window.IsVisible(VisualisationPresetList)]</visible>
225 <animation effect="fade" time="200">VisibleChange</animation>
226 <control type="image">
227 <description>media info background image</description>
232 <colordiffuse>AAFFFFFF</colordiffuse>
233 <texture>black-back.png</texture>
235 <control type="label">
236 <description>row 1 label</description>
241 <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>
244 <control type="label">
245 <description>row 2 label</description>
250 <label>$INFO[Visualisation.Name,, [I][COLOR=orange]($LOCALIZE[20166])[/COLOR][/I] · ]fps: $INFO[System.FPS]</label>
252 <visible>Visualisation.Locked</visible>
254 <control type="label">
255 <description>Unlocked row 2 label</description>
260 <label>$INFO[Visualisation.Name,, · ]fps: $INFO[System.FPS]</label>
262 <visible>!Visualisation.Locked</visible>
264 <control type="label">
265 <description>row 3 label</description>
270 <label>$INFO[Visualisation.Preset,$LOCALIZE[13388]: ]</label>