58b13c2bc5e8a9e247c0148aa51cee06b72c7555
[vuplus_xbmc] / addons / skin.confluence / 720p / MusicVisualisation.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <window>
3         <defaultcontrol>-</defaultcontrol>
4         <allowoverlay>no</allowoverlay>
5         <controls>
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>
9                         <posx>0</posx>
10                         <posy>0</posy>
11                         <width>1280</width>
12                         <height>720</height>
13                 </control>
14                 <control type="image">
15                         <description>Fanart Image for Artist</description>
16                         <posx>0</posx>
17                         <posy>0</posy>
18                         <width>1280</width>
19                         <height>720</height>
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>
24                 </control>
25                 <!-- media infos -->
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">
30                                 <posx>0</posx>
31                                 <posy>-150</posy>
32                                 <width>1280</width>
33                                 <height>256</height>
34                                 <texture flipy="true">HomeNowPlayingBack.png</texture>
35                         </control>
36                         <control type="label">
37                                 <description>Partymode Header label</description>
38                                 <posx>30</posx>
39                                 <posy>5</posy>
40                                 <width>800</width>
41                                 <height>25</height>
42                                 <align>left</align>
43                                 <aligny>center</aligny>
44                                 <font>font13</font>
45                                 <textcolor>white</textcolor>
46                                 <shadowcolor>black</shadowcolor>
47                                 <label>$LOCALIZE[589]</label>
48                                 <visible>MusicPartyMode.Enabled</visible>
49                         </control>
50                         <control type="label">
51                                 <description>Normal Header label</description>
52                                 <posx>30</posx>
53                                 <posy>5</posy>
54                                 <width>800</width>
55                                 <height>25</height>
56                                 <align>left</align>
57                                 <aligny>center</aligny>
58                                 <font>font13</font>
59                                 <textcolor>white</textcolor>
60                                 <shadowcolor>black</shadowcolor>
61                                 <label>$INFO[musicplayer.Playlistposition,$LOCALIZE[554]: ]$INFO[musicplayer.Playlistlength, / ]</label>
62                                 <visible>!MusicPartyMode.Enabled</visible>
63                         </control>
64                         <control type="label">
65                                 <description>Clock label</description>
66                                 <posx>1250</posx>
67                                 <posy>5</posy>
68                                 <width>800</width>
69                                 <height>25</height>
70                                 <align>right</align>
71                                 <aligny>center</aligny>
72                                 <font>font13</font>
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>
77                         </control>
78                         <control type="image">
79                                 <posx>0</posx>
80                                 <posy>230r</posy>
81                                 <width>1280</width>
82                                 <height>230</height>
83                                 <texture>HomeNowPlayingBack.png</texture>
84                         </control>
85                         <control type="image">
86                                 <description>cover image</description>
87                                 <posx>20</posx>
88                                 <posy>250r</posy>
89                                 <width>300</width>
90                                 <height>230</height>
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>
95                         </control>
96                         <control type="group">
97                                 <posx>330</posx>
98                                 <posy>185r</posy>
99                                 <control type="label" id="1">
100                                         <description>Heading label</description>
101                                         <posx>0</posx>
102                                         <posy>0</posy>
103                                         <width>910</width>
104                                         <height>25</height>
105                                         <align>left</align>
106                                         <font>font13</font>
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>
111                                 </control>
112                                 <control type="label" id="1">
113                                         <description>Artist label</description>
114                                         <posx>20</posx>
115                                         <posy>30</posy>
116                                         <width>910</width>
117                                         <height>25</height>
118                                         <align>left</align>
119                                         <font>font12</font>
120                                         <label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]</label>
121                                         <textcolor>grey2</textcolor>
122                                         <shadowcolor>black</shadowcolor>
123                                 </control>
124                                 <control type="grouplist">
125                                         <posx>20</posx>
126                                         <posy>60</posy>
127                                         <width>910</width>
128                                         <height>35</height>
129                                         <itemgap>5</itemgap>
130                                         <orientation>horizontal</orientation>
131                                         <control type="label">
132                                                 <width min="10" max="700">auto</width>
133                                                 <height>30</height>
134                                                 <font>font30</font>
135                                                 <align>left</align>
136                                                 <aligny>center</aligny>
137                                                 <label>$INFO[Player.Title]</label>
138                                                 <textcolor>orange</textcolor>
139                                                 <scroll>true</scroll>
140                                         </control>
141                                         <control type="image">
142                                                 <description>Audio Codec Image</description>
143                                                 <width>80</width>
144                                                 <height>35</height>
145                                                 <aspectratio align="right">keep</aspectratio>
146                                                 <texture>$INFO[MusicPlayer.Codec,flagging/audio/,.png]</texture>
147                                         </control>
148                                         <control type="group">
149                                                 <description>Rating</description>
150                                                 <width>110</width>
151                                                 <height>35</height>
152                                                 <control type="image">
153                                                         <description>rating back</description>
154                                                         <posx>0</posx>
155                                                         <posy>0</posy>
156                                                         <width>110</width>
157                                                         <height>35</height>
158                                                         <aspectratio align="left">stretch</aspectratio>
159                                                         <texture border="5">flagging/blank.png</texture>
160                                                 </control>
161                                                 <control type="image">
162                                                         <description>Rating</description>
163                                                         <posx>5</posx>
164                                                         <posy>0</posy>
165                                                         <width>100</width>
166                                                         <height>35</height>
167                                                         <aspectratio align="center">keep</aspectratio>
168                                                         <texture fallback="LeftRating/rating0.png">$INFO[Player.StarRating,LeftRating/]</texture>
169                                                 </control>
170                                         </control>
171                                 </control>
172                                 <control type="label">
173                                         <posx>0</posx>
174                                         <posy>120</posy>
175                                         <width>910</width>
176                                         <height>25</height>
177                                         <label>$LOCALIZE[209]: $INFO[MusicPlayer.offset(1).Artist,, - ]$INFO[MusicPlayer.offset(1).Title]</label>
178                                         <align>center</align>
179                                         <aligny>center</aligny>
180                                         <font>font12</font>
181                                         <textcolor>grey</textcolor>
182                                         <scroll>true</scroll>
183                                         <visible>MusicPlayer.HasNext + !Window.IsVisible(MusicOSD)</visible>
184                                         <animation effect="fade" time="200">VisibleChange</animation>
185                                 </control>
186                         </control>
187                         <control type="group">
188                                 <posx>330</posx>
189                                 <posy>95r</posy>
190                                 <control type="label">
191                                         <posx>0</posx>
192                                         <posy>0</posy>
193                                         <width>100</width>
194                                         <height>40</height>
195                                         <font>font13</font>
196                                         <align>left</align>
197                                         <aligny>center</aligny>
198                                         <label>$INFO[Player.Time(hh:mm:ss)]</label>
199                                 </control>
200                                 <control type="progress">
201                                         <description>Progressbar</description>
202                                         <posx>100</posx>
203                                         <posy>15</posy>
204                                         <width>720</width>
205                                         <height>16</height>
206                                         <info>Player.Progress</info>
207                                 </control>
208                                 <control type="label">
209                                         <posx>920</posx>
210                                         <posy>0</posy>
211                                         <width>100</width>
212                                         <height>40</height>
213                                         <font>font13</font>
214                                         <align>right</align>
215                                         <aligny>center</aligny>
216                                         <label>$INFO[Player.Duration(hh:mm:ss)]</label>
217                                 </control>
218                         </control>
219                 </control>
220                 <!-- codec & viz infos -->
221                 <control type="group" id="0">
222                         <posx>0</posx>
223                         <posy>50</posy>
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>
228                                 <posx>0</posx>
229                                 <posy>0</posy>
230                                 <width>1280</width>
231                                 <height>105</height>
232                                 <colordiffuse>AAFFFFFF</colordiffuse>
233                                 <texture>black-back.png</texture>
234                         </control>
235                         <control type="label">
236                                 <description>row 1 label</description>
237                                 <posx>50</posx>
238                                 <posy>10</posy>
239                                 <label>-</label>
240                                 <align>left</align>
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>
242                                 <font>font12</font>
243                         </control>
244                         <control type="label">
245                                 <description>row 2 label</description>
246                                 <posx>50</posx>
247                                 <posy>40</posy>
248                                 <label>-</label>
249                                 <align>left</align>
250                                 <label>$INFO[Visualisation.Name,, [I][COLOR=orange]($LOCALIZE[20166])[/COLOR][/I] · ]fps: $INFO[System.FPS]</label>
251                                 <font>font12</font>
252                                 <visible>Visualisation.Locked</visible>
253                         </control>
254                         <control type="label">
255                                 <description>Unlocked row 2 label</description>
256                                 <posx>50</posx>
257                                 <posy>40</posy>
258                                 <label>-</label>
259                                 <align>left</align>
260                                 <label>$INFO[Visualisation.Name,, · ]fps: $INFO[System.FPS]</label>
261                                 <font>font12</font>
262                                 <visible>!Visualisation.Locked</visible>
263                         </control>
264                         <control type="label">
265                                 <description>row 3 label</description>
266                                 <posx>50</posx>
267                                 <posy>70</posy>
268                                 <label>-</label>
269                                 <align>left</align>
270                                 <label>$INFO[Visualisation.Preset,$LOCALIZE[13388]: ]</label>
271                                 <font>font12</font>
272                         </control>
273                 </control>
274         </controls>
275 </window>