[WASAPI] use silent buffer flag for initial silent frames.
[xbmc.git] / addons / skin.estuary / xml / Includes.xml
blobb649528a36b84a39c0c51d2f4b386e575936c49b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <includes>
3         <include file="Defaults.xml" />
4         <include file="Includes_Home.xml" />
5         <include file="Includes_Animations.xml" />
6         <include file="Includes_Games.xml" />
7         <include file="Includes_MediaMenu.xml" />
8         <include file="Includes_Buttons.xml" />
9         <include file="Includes_DialogSelect.xml" />
10         <include file="Includes_MusicInfo.xml" />
11         <include file="Includes_PVR.xml" />
12         <include file="Includes_SettingsDialog.xml" />
13         <include file="View_50_List.xml" />
14         <include file="View_51_Poster.xml" />
15         <include file="View_52_IconWall.xml" />
16         <include file="View_53_Shift.xml" />
17         <include file="View_54_InfoWall.xml" />
18         <include file="View_55_WideList.xml" />
19         <include file="View_503_NowPlaying.xml" />
20         <include file="View_500_Wall.xml" />
21         <include file="View_501_Banner.xml" />
22         <include file="View_502_FanArt.xml" />
23         <include file="Variables.xml" />
24         <constant name="DepthDialog">0.50</constant>
25         <constant name="DepthDialog+">0.52</constant>
26         <constant name="DepthDialog-">0.48</constant>
27         <constant name="DepthMax">0.54</constant>
28         <constant name="DepthOSD">0.40</constant>
29         <constant name="DepthOSD+">0.44</constant>
30         <constant name="DepthContentPopout">0.10</constant>
31         <constant name="DepthContentPanel">0.05</constant>
32         <constant name="DepthBars">0.12</constant>
33         <constant name="DepthBackground">-0.80</constant>
34         <constant name="DepthSideBlade">0.10</constant>
35         <constant name="bg_alpha">79</constant>
36         <constant name="dialogbuttons_itemgap">-20</constant>
37         <constant name="list_bottom">0</constant>
38         <constant name="list_bottom_offset">80</constant>
39         <constant name="list_top_offset">100</constant>
40         <constant name="list_item_height">75</constant>
41         <expression name="infodialog_active">Window.IsActive(musicinformation) | Window.IsActive(songinformation) | Window.IsActive(movieinformation) | Window.IsActive(addoninformation) | Window.IsActive(pvrguideinfo) | Window.IsActive(pvrrecordinginfo) | Window.IsActive(pictureinfo) | Window.IsVisible(script-embuary-video.xml) | Window.IsVisible(script-embuary-person.xml) | Window.IsVisible(script-embuary-image.xml)</expression>
42         <expression name="sidebar_visible">ControlGroup(9000).HasFocus | Control.HasFocus(6130) | Control.HasFocus(6131)</expression>
43         <include name="CommonScrollbars">
44                 <param name="bottom_offset">list_bottom_offset</param>
45                 <definition>
46                         <control type="group">
47                                 <animation effect="fade" start="100" end="0" time="150">WindowClose</animation>
48                                 <animation effect="fade" start="100" end="0" time="200" tween="sine" condition="System.HasActiveModalDialog">Conditional</animation>
49                                 <animation effect="fade" start="0" end="100" delay="300" time="320">WindowOpen</animation>
50                                 <control type="group">
51                                         <right>0</right>
52                                         <top>list_top_offset</top>
53                                         <width>60</width>
54                                         <bottom>$PARAM[bottom_offset]</bottom>
55                                         <control type="scrollbar" id="531">
56                                                 <right>0</right>
57                                                 <top>0</top>
58                                                 <bottom>0</bottom>
59                                                 <width>13</width>
60                                                 <onleft condition="![Window.IsVisible(musicplaylist) | Window.IsVisible(videoplaylist)]">50</onleft>
61                                                 <onleft condition="Window.IsVisible(musicplaylist) | Window.IsVisible(videoplaylist)">55</onleft>
62                                                 <onright condition="![Window.IsVisible(musicplaylist) | Window.IsVisible(videoplaylist)]">50</onright>
63                                                 <onright condition="Window.IsVisible(musicplaylist) | Window.IsVisible(videoplaylist)">55</onright>
64                                                 <orientation>vertical</orientation>
65                                                 <texturesliderbackground />
66                                                 <animation effect="fade" start="0" end="100" time="200" delay="300">Visible</animation>
67                                                 <animation effect="fade" start="100" end="0" time="200">Hidden</animation>
68                                                 <animation effect="slide" end="6,0" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(531)">conditional</animation>
69                                                 <visible>Control.IsVisible(52) | Control.IsVisible(500) | Control.IsVisible(55) | Control.IsVisible(501) | Control.IsVisible(54)</visible>
70                                         </control>
71                                 </control>
72                                 <control type="group">
73                                         <left>0</left>
74                                         <right>0</right>
75                                         <bottom>0</bottom>
76                                         <width>100%</width>
77                                         <height>60</height>
78                                         <control type="scrollbar" id="5199">
79                                                 <left>0</left>
80                                                 <bottom>0</bottom>
81                                                 <width>100%</width>
82                                                 <height>12</height>
83                                                 <texturesliderbackground />
84                                                 <onup>50</onup>
85                                                 <ondown>50</ondown>
86                                                 <orientation>horizontal</orientation>
87                                                 <visible>Control.IsVisible(51) | Control.IsVisible(53)</visible>
88                                                 <animation effect="slide" end="0,6" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(5199)">conditional</animation>
89                                                 <animation effect="fade" start="0" end="100" time="200" delay="300">Visible</animation>
90                                                 <animation effect="fade" start="100" end="0" time="200">Hidden</animation>
91                                                 <animation effect="slide" end="0,90" time="300" tween="sine" easing="inout" condition="$EXP[infodialog_active]">conditional</animation>
92                                                 <hitrect x="0" y="20" w="100%" h="40" />
93                                         </control>
94                                 </control>
95                         </control>
96                 </definition>
97         </include>
98         <include name="HiddenObject">
99                 <left>-3000</left>
100                 <top>-3000</top>
101                 <width>1</width>
102                 <height>1</height>
103                 <texturefocus />
104                 <texturenofocus />
105                 <label></label>
106                 <font></font>
107         </include>
108         <include name="RatingCircle">
109                 <param name="animation">false</param>
110                 <definition>
111                         <control type="group">
112                                 <animation effect="fade" time="0" condition="$PARAM[animation]">VisibleChange</animation>
113                                 <include content="UserRatingContent" condition="Skin.HasSetting(circle_userrating)">
114                                         <param name="infolabel" value="ListItem.UserRating" />
115                                 </include>
116                                 <include content="UserRatingContent" condition="Skin.HasSetting(circle_rating)">
117                                         <param name="infolabel" value="ListItem.Rating" />
118                                 </include>
119                         </control>
120                 </definition>
121         </include>
122         <include name="UserRatingContent">
123                 <visible>!String.IsEmpty($PARAM[infolabel])</visible>
124                 <control type="image">
125                         <left>3</left>
126                         <top>-3</top>
127                         <width>44</width>
128                         <height>44</height>
129                         <aspectratio>keep</aspectratio>
130                         <texture colordiffuse="button_focus">overlays/badge.png</texture>
131                 </control>
132                 <control type="label">
133                         <left>3</left>
134                         <top>-3</top>
135                         <align>center</align>
136                         <aligny>center</aligny>
137                         <width>44</width>
138                         <height>44</height>
139                         <font>font20_title</font>
140                         <label>$INFO[$PARAM[infolabel]]</label>
141                 </control>
142         </include>
143         <include name="InfoList">
144                 <param name="item_label">$INFO[ListItem.Year,[COLOR button_focus],[/COLOR]  -  ]$INFO[ListItem.Label]</param>
145                 <param name="path">$VAR[InfoListPathVar]</param>
146                 <param name="item_height">40</param>
147                 <param name="bottom">100</param>
148                 <param name="width">1152</param>
149                 <param name="list_id">5000</param>
150                 <param name="font">font13</param>
151                 <param name="sortby"></param>
152                 <param name="sortorder">ascending</param>
153                 <param name="visible">true</param>
154                 <definition>
155                         <control type="panel" id="$PARAM[list_id]">
156                                 <top>0</top>
157                                 <width>$PARAM[width]</width>
158                                 <bottom>$PARAM[bottom]</bottom>
159                                 <orientation>vertical</orientation>
160                                 <visible>$PARAM[visible]</visible>
161                                 <focusedlayout height="$PARAM[item_height]" width="$PARAM[width]">
162                                         <control type="label">
163                                                 <left>10</left>
164                                                 <height>$PARAM[item_height]</height>
165                                                 <width>$PARAM[width]</width>
166                                                 <aligny>center</aligny>
167                                                 <label>$PARAM[item_label]</label>
168                                                 <shadowcolor>text_shadow</shadowcolor>
169                                                 <font>$PARAM[font]</font>
170                                         </control>
171                                 </focusedlayout>
172                                 <itemlayout height="$PARAM[item_height]" width="$PARAM[width]">
173                                         <control type="label">
174                                                 <left>10</left>
175                                                 <height>$PARAM[item_height]</height>
176                                                 <width>$PARAM[width]</width>
177                                                 <aligny>center</aligny>
178                                                 <label>$PARAM[item_label]</label>
179                                                 <shadowcolor>text_shadow</shadowcolor>
180                                                 <font>$PARAM[font]</font>
181                                         </control>
182                                 </itemlayout>
183                                 <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]">$PARAM[path]</content>
184                         </control>
185                 </definition>
186         </include>
187         <include name="PicsInfoLine">
188                 <control type="grouplist">
189                         <visible>!String.IsEmpty($PARAM[value])</visible>
190                         <height>45</height>
191                         <orientation>horizontal</orientation>
192                         <width>570</width>
193                         <itemgap>10</itemgap>
194                         <control type="label">
195                                 <width>auto</width>
196                                 <height>40</height>
197                                 <aligny>center</aligny>
198                                 <label>$PARAM[label]:</label>
199                                 <textcolor>button_focus</textcolor>
200                         </control>
201                         <control type="label">
202                                 <width>auto</width>
203                                 <height>40</height>
204                                 <align>right</align>
205                                 <aligny>center</aligny>
206                                 <label>$INFO[$PARAM[value]]</label>
207                         </control>
208                 </control>
209         </include>
210         <include name="DefaultSimpleListLayout">
211                 <param name="align">left</param>
212                 <param name="height">70</param>
213                 <param name="font">font13</param>
214                 <param name="fontcolor">grey</param>
215                 <definition>
216                         <itemlayout width="$PARAM[width]" height="$PARAM[height]">
217                                 <control type="group">
218                                         <visible>ListItem.Property(PVR.IsRecordingTimer) | ListItem.Property(PVR.IsRemindingTimer)</visible>
219                                         <control type="image">
220                                                 <left>20</left>
221                                                 <width>40</width>
222                                                 <aspectratio align="left">keep</aspectratio>
223                                                 <aligny>center</aligny>
224                                                 <texture>icons/pvr/timers/recording.png</texture>
225                                                 <visible>ListItem.Property(PVR.IsRecordingTimer)</visible>
226                                         </control>
227                                         <control type="image">
228                                                 <left>20</left>
229                                                 <width>40</width>
230                                                 <aspectratio align="left">keep</aspectratio>
231                                                 <aligny>center</aligny>
232                                                 <texture>icons/pvr/timers/bell.png</texture>
233                                                 <visible>ListItem.Property(PVR.IsRemindingTimer)</visible>
234                                         </control>
235                                         <control type="label">
236                                                 <left>80</left>
237                                                 <top>0</top>
238                                                 <right>20</right>
239                                                 <bottom>0</bottom>
240                                                 <align>$PARAM[align]</align>
241                                                 <font>$PARAM[font]</font>
242                                                 <aligny>center</aligny>
243                                                 <textcolor>$PARAM[fontcolor]</textcolor>
244                                                 <label>$INFO[ListItem.Label]</label>
245                                         </control>
246                                 </control>
247                                 <control type="group">
248                                         <visible>!ListItem.Property(PVR.IsRecordingTimer) + !ListItem.Property(PVR.IsRemindingTimer)</visible>
249                                         <control type="label">
250                                                 <left>20</left>
251                                                 <top>0</top>
252                                                 <right>20</right>
253                                                 <bottom>0</bottom>
254                                                 <align>$PARAM[align]</align>
255                                                 <font>$PARAM[font]</font>
256                                                 <aligny>center</aligny>
257                                                 <textcolor>$PARAM[fontcolor]</textcolor>
258                                                 <label>$INFO[ListItem.Label]</label>
259                                         </control>
260                                 </control>
261                         </itemlayout>
262                         <focusedlayout width="$PARAM[width]" height="$PARAM[height]">
263                                 <control type="image">
264                                         <left>0</left>
265                                         <top>0</top>
266                                         <right>0</right>
267                                         <bottom>0</bottom>
268                                         <texture colordiffuse="button_focus">lists/focus.png</texture>
269                                         <animation effect="fade" start="100" end="50" time="0">UnFocus</animation>
270                                 </control>
271                                 <control type="group">
272                                         <visible>ListItem.Property(PVR.IsRecordingTimer) | ListItem.Property(PVR.IsRemindingTimer)</visible>
273                                         <control type="image">
274                                                 <left>20</left>
275                                                 <width>40</width>
276                                                 <aspectratio align="left">keep</aspectratio>
277                                                 <aligny>center</aligny>
278                                                 <texture>icons/pvr/timers/recording.png</texture>
279                                                 <visible>ListItem.Property(PVR.IsRecordingTimer)</visible>
280                                         </control>
281                                         <control type="image">
282                                                 <left>20</left>
283                                                 <width>40</width>
284                                                 <aspectratio align="left">keep</aspectratio>
285                                                 <aligny>center</aligny>
286                                                 <texture>icons/pvr/timers/bell.png</texture>
287                                                 <visible>ListItem.Property(PVR.IsRemindingTimer)</visible>
288                                         </control>
289                                         <control type="label">
290                                                 <left>80</left>
291                                                 <top>0</top>
292                                                 <right>20</right>
293                                                 <bottom>0</bottom>
294                                                 <align>$PARAM[align]</align>
295                                                 <font>$PARAM[font]</font>
296                                                 <aligny>center</aligny>
297                                                 <label>$INFO[ListItem.Label]</label>
298                                                 <scroll>true</scroll>
299                                         </control>
300                                 </control>
301                                 <control type="group">
302                                         <visible>!ListItem.Property(PVR.IsRecordingTimer) + !ListItem.Property(PVR.IsRemindingTimer)</visible>
303                                         <control type="label">
304                                                 <left>20</left>
305                                                 <top>0</top>
306                                                 <right>20</right>
307                                                 <bottom>0</bottom>
308                                                 <align>$PARAM[align]</align>
309                                                 <font>$PARAM[font]</font>
310                                                 <aligny>center</aligny>
311                                                 <label>$INFO[ListItem.Label]</label>
312                                                 <scroll>true</scroll>
313                                         </control>
314                                 </control>
315                         </focusedlayout>
316                 </definition>
317         </include>
318         <include name="InfoFlag">
319                 <control type="group">
320                         <width>180</width>
321                         <visible>$PARAM[visible]</visible>
322                         <control type="image">
323                                 <top>-3</top>
324                                 <left>0</left>
325                                 <width>40</width>
326                                 <height>40</height>
327                                 <texture colordiffuse="white">$PARAM[icon]</texture>
328                         </control>
329                         <control type="label">
330                                 <left>50</left>
331                                 <width>180</width>
332                                 <height>35</height>
333                                 <aligny>center</aligny>
334                                 <font>font12</font>
335                                 <label>$PARAM[label]</label>
336                         </control>
337                 </control>
338         </include>
339         <include name="MediaFlag">
340                 <param name="width">115</param>
341                 <param name="height">60</param>
342                 <param name="flag_visible">true</param>
343                 <param name="texture">flags/flag.png</param>
344                 <definition>
345                         <control type="group">
346                                 <width>$PARAM[width]</width>
347                                 <height>$PARAM[height]</height>
348                                 <visible>$PARAM[flag_visible]</visible>
349                                 <control type="image">
350                                         <fadetime>0</fadetime>
351                                         <align>center</align>
352                                         <aligny>center</aligny>
353                                         <aspectratio>keep</aspectratio>
354                                         <texture>$PARAM[texture]</texture>
355                                 </control>
356                                 <control type="label">
357                                         <align>center</align>
358                                         <aligny>center</aligny>
359                                         <label>$PARAM[flag_label]</label>
360                                         <font>font_flag</font>
361                                 </control>
362                         </control>
363                 </definition>
364         </include>
365         <include name="MediaFlags">
366                 <param name="visible">true</param>
367                 <definition>
368                         <control type="grouplist">
369                                 <visible>Window.IsActive(Home) | Window.IsActive(10025)</visible>
370                                 <orientation>horizontal</orientation>
371                                 <right>20</right>
372                                 <bottom>0</bottom>
373                                 <height>60</height>
374                                 <align>right</align>
375                                 <itemgap>10</itemgap>
376                                 <width>1900</width>
377                                 <usecontrolcoords>true</usecontrolcoords>
378                                 <control type="group">
379                                         <width>150</width>
380                                         <visible>System.AddonIsEnabled(resource.images.studios.white) + !String.IsEmpty(ListItem.Studio)</visible>
381                                         <include content="MediaFlag">
382                                                 <param name="texture" value="$INFO[ListItem.Studio,resource://resource.images.studios.white/,.png]" />
383                                         </include>
384                                 </control>
385                                 <control type="group">
386                                         <top>10</top>
387                                         <width>200</width>
388                                         <visible>!String.IsEmpty($PARAM[infolabel_prefix]ListItem.Premiered)</visible>
389                                         <include content="InfoFlag">
390                                                 <param name="icon" value="lists/year.png" />
391                                                 <param name="label" value="$INFO[ListItem.Premiered]" />
392                                         </include>
393                                 </control>
394                                 <include content="MediaFlag">
395                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.Duration)" />
396                                         <param name="flag_label" value="$INFO[ListItem.Duration]" />
397                                 </include>
398                                 <include content="MediaFlag">
399                                         <param name="flag_visible" value="ListItem.IsStereoscopic" />
400                                         <param name="flag_label" value="3D" />
401                                 </include>
402                                 <include content="MediaFlag">
403                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.VideoCodec)" />
404                                         <param name="flag_label" value="$VAR[VideoListCodecVar]" />
405                                 </include>
406                                 <include content="MediaFlag">
407                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.VideoResolution)" />
408                                         <param name="flag_label" value="$INFO[ListItem.VideoResolution]$VAR[VideoListResolutionTypeVar, ]" />
409                                 </include>
410                                 <include content="MediaFlag">
411                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.HdrType)" />
412                                         <param name="flag_label" value="$VAR[VideoListHDRVar]" />
413                                 </include>
414                                 <include content="MediaFlag">
415                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.VideoAspect)" />
416                                         <param name="flag_label" value="$INFO[ListItem.VideoAspect,,:1]" />
417                                 </include>
418                                 <include content="MediaFlag">
419                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.AudioCodec)" />
420                                         <param name="flag_label" value="$VAR[AudioListCodecVar]" />
421                                 </include>
422                                 <include content="MediaFlag">
423                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.AudioChannels)" />
424                                         <param name="flag_label" value="$VAR[AudioListChannelsVar]" />
425                                 </include>
426                         </control>
427                         <control type="grouplist">
428                                 <visible>[Player.ShowInfo | Window.IsActive(fullscreeninfo)] + !Player.ChannelPreviewActive + Window.IsActive(fullscreenvideo)</visible>
429                                 <orientation>horizontal</orientation>
430                                 <right>20</right>
431                                 <bottom>0</bottom>
432                                 <height>60</height>
433                                 <align>right</align>
434                                 <itemgap>10</itemgap>
435                                 <width>1900</width>
436                                 <usecontrolcoords>true</usecontrolcoords>
437                                 <include content="MediaFlag">
438                                         <param name="flag_visible" value="VideoPlayer.IsStereoscopic" />
439                                         <param name="flag_label" value="3D" />
440                                 </include>
441                                 <include content="MediaFlag">
442                                         <param name="flag_visible" value="!String.IsEmpty(VideoPlayer.VideoCodec)" />
443                                         <param name="flag_label" value="$VAR[VideoPlayerCodecVar]" />
444                                 </include>
445                                 <include content="MediaFlag">
446                                         <param name="flag_visible" value="!String.IsEmpty(VideoPlayer.VideoResolution)" />
447                                         <param name="flag_label" value="$INFO[VideoPlayer.VideoResolution]$VAR[VideoPlayerResolutionTypeVar, ]" />
448                                 </include>
449                                 <include content="MediaFlag">
450                                         <param name="flag_visible" value="!String.IsEmpty(VideoPlayer.HdrType)" />
451                                         <param name="flag_label" value="$VAR[VideoPlayerHDRVar]" />
452                                 </include>
453                                 <include content="MediaFlag">
454                                         <param name="flag_visible" value="!String.IsEmpty(VideoPlayer.VideoAspect)" />
455                                         <param name="flag_label" value="$INFO[VideoPlayer.VideoAspect,,:1]" />
456                                 </include>
457                                 <include content="MediaFlag">
458                                         <param name="flag_visible" value="!String.IsEmpty(VideoPlayer.AudioCodec)" />
459                                         <param name="flag_label" value="$VAR[VideoPlayerAudioCodecVar]" />
460                                 </include>
461                                 <include content="MediaFlag">
462                                         <param name="flag_visible" value="!String.IsEmpty(VideoPlayer.AudioChannels)" />
463                                         <param name="flag_label" value="$VAR[VideoPlayerAudioChannelsVar]" />
464                                 </include>
465                         </control>
466                         <control type="grouplist">
467                                 <visible>Container.Content(albums) | Window.IsActive(10502)</visible>
468                                 <orientation>horizontal</orientation>
469                                 <right>20</right>
470                                 <bottom>10</bottom>
471                                 <height>60</height>
472                                 <align>right</align>
473                                 <itemgap>10</itemgap>
474                                 <width>1900</width>
475                                 <usecontrolcoords>true</usecontrolcoords>
476                                 <include content="MediaFlag">
477                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.Duration) + Container.Content(albums) + ![Window.IsVisible(songinformation) | Window.IsVisible(musicinformation)]" />
478                                         <param name="flag_label" value="$INFO[ListItem.Duration]" />
479                                 </include>
480                                 <include content="MediaFlag">
481                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.FileExtension)" />
482                                         <param name="flag_label" value="$INFO[ListItem.FileExtension]" />
483                                 </include>
484                                 <include content="MediaFlag">
485                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.MusicChannels)" />
486                                         <param name="flag_label" value="$VAR[MusicListChannelsVar]" />
487                                 </include>
488                                 <include content="MediaFlag">
489                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.Samplerate)" />
490                                         <param name="flag_label" value="$INFO[ListItem.Samplerate, ,kHz]" />
491                                 </include>
492                                 <include content="MediaFlag">
493                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.BitRate)" />
494                                          <param name="flag_label" value="$INFO[ListItem.BitRate, ,kbps]" /> 
495                                 </include>
496                                 <include content="MediaFlag">
497                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.MusicBitsPerSample)" />
498                                         <param name="flag_label" value="$INFO[ListItem.MusicBitsPerSample, ,bit]" />
499                                 </include>
500                                 <include content="MediaFlag">
501                                         <param name="flag_visible" value="!String.IsEmpty(ListItem.BMP)" />
502                                         <param name="flag_label" value="$INFO[ListItem.BMP, ,bpm]" />
503                                 </include>
504                         </control>
505                         <control type="grouplist">
506                                 <visible>Player.ShowInfo + !Player.ChannelPreviewActive + Window.IsActive(visualisation)</visible>)
507                                 <orientation>horizontal</orientation>
508                                 <right>20</right>
509                                 <bottom>10</bottom>
510                                 <height>60</height>
511                                 <align>right</align>
512                                 <itemgap>10</itemgap>
513                                 <width>1900</width>
514                                 <usecontrolcoords>true</usecontrolcoords>
515                                 <include content="MediaFlag">
516                                         <param name="flag_visible" value="RDS.HasRDS" />
517                                         <param name="flag_label" value="RDS" />
518                                 </include>
519                                 <include content="MediaFlag">
520                                         <param name="flag_visible" value="!String.IsEmpty(MusicPlayer.Codec)" />
521                                         <param name="flag_label" value="$VAR[MusicPlayerCodecVar]" />
522                                 </include>
523                                 <include content="MediaFlag">
524                                         <param name="flag_visible" value="!String.IsEmpty(MusicPlayer.Channels)" />
525                                         <param name="flag_label" value="$VAR[MusicPlayerAudioChannelsVar]" />
526                                 </include>
527                                 <include content="MediaFlag">
528                                         <param name="flag_visible" value="!String.IsEmpty(MusicPlayer.SampleRate)" />
529                                         <param name="flag_label" value="$INFO[MusicPlayer.SampleRate, ,kHz]" />
530                                 </include>
531                                 <include content="MediaFlag">
532                                         <param name="flag_visible" value="!String.IsEmpty(MusicPlayer.BitRate)" />
533                                          <param name="flag_label" value="$INFO[MusicPlayer.BitRate, ,kbps]" /> 
534                                 </include>
535                                 <include content="MediaFlag">
536                                         <param name="flag_visible" value="!String.IsEmpty(MusicPlayer.BitsPerSample)" />
537                                         <param name="flag_label" value="$INFO[MusicPlayer.BitsPerSample, ,bit]" />
538                                 </include>
539                                 <include content="MediaFlag">
540                                         <param name="flag_visible" value="!String.IsEmpty(MusicPlayer.BMP)" />
541                                         <param name="flag_label" value="$INFO[MusicPlayer.BMP, ,bpm]" />
542                                 </include>
543                         </control>
544                 </definition>
545         </include>
546         <include name="WeatherIconHome">
547                 <control type="group">
548                         <width>268</width>
549                         <visible>!String.IsEmpty($PARAM[label])</visible>
550                         <control type="image">
551                                 <left>40</left>
552                                 <width>80</width>
553                                 <height>80</height>
554                                 <texture colordiffuse="D0FFFFFF">$PARAM[texture]</texture>
555                         </control>
556                         <control type="textbox">
557                                 <top>110</top>
558                                 <width>160</width>
559                                 <height>63</height>
560                                 <font>font27_narrow</font>
561                                 <align>center</align>
562                                 <aligny>center</aligny>
563                                 <label>$INFO[$PARAM[label]]</label>
564                         </control>
565                 </control>
566         </include>
567         <include name="WeatherIconMyWeather">
568                 <control type="group">
569                         <width>268</width>
570                         <visible>!String.IsEmpty($PARAM[label])</visible>
571                         <control type="image">
572                                 <left>50</left>
573                                 <width>60</width>
574                                 <height>60</height>
575                                 <texture colordiffuse="D0FFFFFF">$PARAM[texture]</texture>
576                         </control>
577                         <control type="textbox">
578                                 <top>68</top>
579                                 <width>160</width>
580                                 <height>63</height>
581                                 <font>font27_narrow</font>
582                                 <align>center</align>
583                                 <aligny>center</aligny>
584                                 <label>$INFO[$PARAM[label]]</label>
585                         </control>
586                 </control>
587         </include>
588         <include name="FileManagerPanel">
589                 <param name="width"></param>
590                 <param name="right"></param>
591                 <definition>
592                         <control type="fixedlist" id="$PARAM[list_id]">
593                                 <left>0</left>
594                                 <top>list_top_offset</top>
595                                 <bottom>list_bottom_offset</bottom>
596                                 <right>$PARAM[right]</right>
597                                 <width>$PARAM[width]</width>
598                                 <focusposition>4</focusposition>
599                                 <movement>3</movement>
600                                 <onleft>$PARAM[onleft_id]</onleft>
601                                 <onright>$PARAM[onright_id]</onright>
602                                 <onup>$PARAM[list_id]</onup>
603                                 <ondown>$PARAM[list_id]</ondown>
604                                 <pagecontrol>$PARAM[scrollbar_id]</pagecontrol>
605                                 <scrolltime>200</scrolltime>
606                                 <focusedlayout height="list_item_height">
607                                         <control type="image">
608                                                 <left>0</left>
609                                                 <top>0</top>
610                                                 <right>0</right>
611                                                 <bottom>0</bottom>
612                                                 <texture colordiffuse="button_focus">lists/focus.png</texture>
613                                                 <animation effect="fade" start="100" end="0" time="0" condition="!Control.HasFocus($PARAM[list_id])">Conditional</animation>
614                                         </control>
615                                         <control type="image">
616                                                 <left>15</left>
617                                                 <top>0</top>
618                                                 <width>32</width>
619                                                 <bottom>0</bottom>
620                                                 <aspectratio aligny="center">keep</aspectratio>
621                                                 <texture>$VAR[ListWatchedIconVar]</texture>
622                                         </control>
623                                         <control type="label">
624                                                 <left>65</left>
625                                                 <top>0</top>
626                                                 <bottom>0</bottom>
627                                                 <right>20</right>
628                                                 <aligny>center</aligny>
629                                                 <scroll>true</scroll>
630                                                 <label>$INFO[ListItem.Label]</label>
631                                                 <shadowcolor>text_shadow</shadowcolor>
632                                         </control>
633                                         <control type="label">
634                                                 <left>0</left>
635                                                 <textoffsetx>30</textoffsetx>
636                                                 <top>0</top>
637                                                 <bottom>0</bottom>
638                                                 <right>0</right>
639                                                 <align>right</align>
640                                                 <aligny>center</aligny>
641                                                 <label>$INFO[ListItem.Label2]</label>
642                                                 <shadowcolor>text_shadow</shadowcolor>
643                                         </control>
644                                 </focusedlayout>
645                                 <itemlayout height="list_item_height">
646                                         <control type="image">
647                                                 <left>15</left>
648                                                 <top>0</top>
649                                                 <width>32</width>
650                                                 <bottom>0</bottom>
651                                                 <aspectratio aligny="center">keep</aspectratio>
652                                                 <texture>$VAR[ListWatchedIconVar]</texture>
653                                         </control>
654                                         <control type="label">
655                                                 <left>65</left>
656                                                 <top>0</top>
657                                                 <bottom>0</bottom>
658                                                 <right>20</right>
659                                                 <aligny>center</aligny>
660                                                 <label>$INFO[ListItem.Label]</label>
661                                                 <shadowcolor>text_shadow</shadowcolor>
662                                         </control>
663                                         <control type="label">
664                                                 <left>0</left>
665                                                 <textoffsetx>30</textoffsetx>
666                                                 <top>0</top>
667                                                 <bottom>0</bottom>
668                                                 <right>0</right>
669                                                 <align>right</align>
670                                                 <aligny>center</aligny>
671                                                 <label>$INFO[ListItem.Label2]</label>
672                                                 <textcolor>grey</textcolor>
673                                                 <shadowcolor>text_shadow</shadowcolor>
674                                         </control>
675                                 </itemlayout>
676                         </control>
677                 </definition>
678         </include>
679         <include name="AddonLauncherPanel">
680                 <param name="fallback_image">DefaultFolder.png</param>
681                 <definition>
682                         <control type="group" id="$PARAM[group_id]">
683                                 <include content="Visible_Right_Delayed">
684                                         <param name="id" value="$PARAM[id]"/>
685                                 </include>
686                                 <visible>String.IsEqual(Container(9000).ListItem.Property(id),$PARAM[id])</visible>
687                                 <control type="group">
688                                         <visible>Integer.IsGreater(Container($PARAM[group_id]50).NumItems,0) | Container($PARAM[group_id]50).IsUpdating</visible>
689                                         <control type="panel" id="$PARAM[group_id]50">
690                                                 <left>540</left>
691                                                 <top>0</top>
692                                                 <right>50</right>
693                                                 <height>100%</height>
694                                                 <onleft>9000</onleft>
695                                                 <onright>$PARAM[group_id]30</onright>
696                                                 <onup>$PARAM[group_id]50</onup>
697                                                 <ondown>$PARAM[group_id]50</ondown>
698                                                 <preloaditems>2</preloaditems>
699                                                 <pagecontrol>$PARAM[group_id]30</pagecontrol>
700                                                 <scrolltime tween="cubic" easing="out">500</scrolltime>
701                                                 <itemlayout height="401" width="320">
702                                                         <control type="group">
703                                                                 <top>150</top>
704                                                                 <include content="InfoWallMusicLayout">
705                                                                         <param name="fallback_image" value="DefaultAddon.png" />
706                                                                 </include>
707                                                         </control>
708                                                 </itemlayout>
709                                                 <focusedlayout height="401" width="320">
710                                                         <control type="group">
711                                                                 <top>150</top>
712                                                                 <animation effect="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="150,320">Focus</animation>
713                                                                 <animation effect="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="150,320">UnFocus</animation>
714                                                                 <include content="InfoWallMusicLayout">
715                                                                         <param name="fallback_image" value="DefaultAddon.png" />
716                                                                         <param name="focused" value="true" />
717                                                                 </include>
718                                                         </control>
719                                                 </focusedlayout>
720                                                 <content sortby="lastused" sortorder="descending" target="$PARAM[container_target]">$PARAM[container_path]</content>
721                                         </control>
722                                         <control type="scrollbar" id="$PARAM[group_id]30">
723                                                 <right>0</right>
724                                                 <top>80</top>
725                                                 <width>12</width>
726                                                 <height>920</height>
727                                                 <orientation>vertical</orientation>
728                                                 <texturesliderbackground />
729                                                 <animation effect="slide" end="6,0" time="300" tween="sine" easing="inout" condition="!Control.HasFocus($PARAM[group_id]30)">conditional</animation>
730                                                 <onleft>$PARAM[group_id]50</onleft>
731                                                 <onright>noop</onright>
732                                         </control>
733                                 </control>
734                                 <control type="group">
735                                         <left>462</left>
736                                         <include content="ImageWidget">
737                                                 <param name="text_label" value="$LOCALIZE[31153]" />
738                                                 <param name="button_label" value="$LOCALIZE[31144]" />
739                                                 <param name="button_onclick" value="$PARAM[imagewidget_onclick]"/>
740                                                 <param name="button_id" value="$PARAM[group_id]333"/>
741                                                 <param name="visible_2" value="false"/>
742                                                 <param name="visible" value="![Integer.IsGreater(Container($PARAM[group_id]50).NumItems,0) | Container($PARAM[group_id]50).IsUpdating]"/>
743                                                 <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoTVShowButton)"/>
744                                         </include>
745                                 </control>
746                         </control>
747                 </definition>
748         </include>
749         <include name="LeftAlignedInfo">
750                 <param name="id">33333</param>
751                 <definition>
752                         <control type="grouplist">
753                                 <left>20</left>
754                                 <top>5</top>
755                                 <animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
756                                 <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
757                                 <width>1400</width>
758                                 <height>80</height>
759                                 <itemgap>0</itemgap>
760                                 <orientation>vertical</orientation>
761                                 <control type="label">
762                                         <width>1400</width>
763                                         <label>$PARAM[main_label]</label>
764                                         <font>font30_title</font>
765                                         <shadowcolor>text_shadow</shadowcolor>
766                                         <height>35</height>
767                                         <scroll>true</scroll>
768                                         <animation effect="slide" start="0,0" end="0,15" time="0" condition="String.IsEmpty(Control.GetLabel($PARAM[id]))">Conditional</animation>
769                                 </control>
770                                 <control type="label" id="$PARAM[id]">
771                                         <label>$PARAM[sub_label]</label>
772                                         <font>font12</font>
773                                         <left>85</left>
774                                         <shadowcolor>text_shadow</shadowcolor>
775                                         <height>100</height>
776                                         <width>1400</width>
777                                 </control>
778                         </control>
779                 </definition>
780         </include>
781         <include name="InfoDialogTopBarInfo">
782                 <param name="id">33333</param>
783                 <param name="posy">20</param>
784                 <definition>
785                         <control type="grouplist">
786                                 <left>100</left>
787                                 <right>100</right>
788                                 <top>$PARAM[posy]</top>
789                                 <animation effect="fade" start="0" end="100" time="300" delay="300">WindowOpen</animation>
790                                 <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
791                                 <height>150</height>
792                                 <itemgap>0</itemgap>
793                                 <orientation>vertical</orientation>
794                                 <control type="label">
795                                         <width>100%</width>
796                                         <label>$PARAM[main_label]</label>
797                                         <font>font52_title</font>
798                                         <shadowcolor>text_shadow</shadowcolor>
799                                         <height>65</height>
800                                         <align>center</align>
801                                         <scroll>true</scroll>
802                                         <animation effect="slide" start="0,0" end="0,25" time="0" condition="String.IsEmpty(Control.GetLabel($PARAM[id]))">Conditional</animation>
803                                 </control>
804                                 <control type="label" id="$PARAM[id]">
805                                         <label>$PARAM[sub_label]</label>
806                                         <left>85</left>
807                                         <shadowcolor>text_shadow</shadowcolor>
808                                         <align>center</align>
809                                         <height>100</height>
810                                         <width>100%</width>
811                                 </control>
812                         </control>
813                 </definition>
814         </include>
815         <include name="UpDownArrows">
816                 <param name="up_posy">134</param>
817                 <param name="down_posy">910</param>
818                 <param name="posx">936</param>
819                 <param name="visible">true</param>
820                 <definition>
821                         <control type="button" id="$PARAM[container_id]588">
822                                 <left>$PARAM[posx]</left>
823                                 <top>$PARAM[down_posy]</top>
824                                 <width>48</width>
825                                 <height>24</height>
826                                 <texturefocus colordiffuse="button_focus">overlays/arrowdown.png</texturefocus>
827                                 <texturenofocus colordiffuse="button_focus">overlays/arrowdown.png</texturenofocus>
828                                 <animation effect="zoom" start="100,0" end="100,100" center="auto" time="200" delay="10">VisibleChange</animation>
829                                 <animation effect="zoom" start="100,0" end="100,100" delay="500" center="auto" time="200">WindowOpen</animation>
830                                 <animation effect="zoom" start="100,100" end="100,0" center="auto" time="200">WindowClose</animation>
831                                 <onclick>SetFocus($PARAM[container_id])</onclick>
832                                 <onclick>PageDown</onclick>
833                                 <visible>Container($PARAM[container_id]).HasNext + Control.IsVisible($PARAM[container_id])</visible>
834                                 <visible>$PARAM[visible]</visible>
835                         </control>
836                         <control type="button" id="$PARAM[container_id]589">
837                                 <left>$PARAM[posx]</left>
838                                 <top>$PARAM[up_posy]</top>
839                                 <width>48</width>
840                                 <height>24</height>
841                                 <texturefocus colordiffuse="button_focus" flipy="true">overlays/arrowdown.png</texturefocus>
842                                 <texturenofocus colordiffuse="button_focus" flipy="true">overlays/arrowdown.png</texturenofocus>
843                                 <animation effect="zoom" start="100,0" end="100,100" center="auto" time="200" delay="10">VisibleChange</animation>
844                                 <animation effect="zoom" start="100,0" end="100,100" delay="500" center="auto" time="200">WindowOpen</animation>
845                                 <animation effect="zoom" start="100,100" end="100,0" center="auto" time="200">WindowClose</animation>
846                                 <onclick>SetFocus($PARAM[container_id])</onclick>
847                                 <onclick>PageUp</onclick>
848                                 <visible>Container($PARAM[container_id]).HasPrevious + Control.IsVisible($PARAM[container_id])</visible>
849                                 <visible>$PARAM[visible]</visible>
850                         </control>
851                 </definition>
852         </include>
853         <include name="LeftRightArrows">
854                 <param name="left_posx">445</param>
855                 <param name="right_posx">1843</param>
856                 <param name="posy">936</param>
857                 <param name="visible">!System.HasActiveModalDialog</param>
858                 <definition>
859                         <control type="image">
860                                 <left>$PARAM[left_posx]</left>
861                                 <top>$PARAM[posy]</top>
862                                 <width>28</width>
863                                 <height>28</height>
864                                 <texture flipx="true" colordiffuse="button_focus">overlays/arrowright.png</texture>
865                                 <animation effect="zoom" start="0,100" end="100,100" center="auto" time="200">VisibleChange</animation>
866                                 <animation effect="zoom" start="0,100" end="100,100" delay="500" center="auto" time="200">WindowOpen</animation>
867                                 <animation effect="zoom" start="100,100" end="0,100" center="auto" time="200">WindowClose</animation>
868                                 <visible>Control.IsVisible($PARAM[list_id]) + Container($PARAM[list_id]).HasPrevious</visible>
869                                 <visible>$PARAM[visible]</visible>
870                         </control>
871                         <control type="image">
872                                 <left>$PARAM[right_posx]</left>
873                                 <top>$PARAM[posy]</top>
874                                 <width>28</width>
875                                 <height>28</height>
876                                 <texture colordiffuse="button_focus">overlays/arrowright.png</texture>
877                                 <animation effect="zoom" start="0,100" end="100,100" center="auto" time="200">VisibleChange</animation>
878                                 <animation effect="zoom" start="0,100" end="100,100" delay="500" center="auto" time="200">WindowOpen</animation>
879                                 <animation effect="zoom" start="100,100" end="0,100" center="auto" time="200">WindowClose</animation>
880                                 <visible>Control.IsVisible($PARAM[list_id]) + Container($PARAM[list_id]).HasNext</visible>
881                                 <visible>$PARAM[visible]</visible>
882                         </control>
883                         <control type="button" id="$PARAM[list_id]500">
884                                 <left>$PARAM[left_posx]</left>
885                                 <top>$PARAM[posy]</top>
886                                 <width>28</width>
887                                 <height>28</height>
888                                 <texturefocus />
889                                 <texturenofocus />
890                                 <onclick>Control.Move($PARAM[list_id],-1)</onclick>
891                                 <visible allowhiddenfocus="true">Container($PARAM[list_id]).HasPrevious + [Control.HasFocus($PARAM[list_id]) | Control.HasFocus($PARAM[list_id]500)]</visible>
892                         </control>
893                         <control type="button" id="$PARAM[list_id]501">
894                                 <left>$PARAM[right_posx]</left>
895                                 <top>$PARAM[posy]</top>
896                                 <width>28</width>
897                                 <height>28</height>
898                                 <texturefocus />
899                                 <texturenofocus />
900                                 <onclick>Control.Move($PARAM[list_id],1)</onclick>
901                                 <visible allowhiddenfocus="true">Container($PARAM[list_id]).HasNext + [Control.HasFocus($PARAM[list_id]) | Control.HasFocus($PARAM[list_id]501)]</visible>
902                         </control>
903                 </definition>
904         </include>
905         <include name="DialogBackgroundCommons">
906                 <control type="image">
907                         <left>-2000</left>
908                         <top>-2000</top>
909                         <width>6000</width>
910                         <height>6000</height>
911                         <animation effect="fade" time="300">VisibleChange</animation>
912                         <animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
913                         <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
914                         <texture colordiffuse="80FFFFFF">colors/black.png</texture>
915                         <visible>$PARAM[darken_bg]</visible>
916                 </control>
917                 <control type="button">
918                         <left>-2000</left>
919                         <top>-2000</top>
920                         <width>6000</width>
921                         <height>6000</height>
922                         <texturefocus />
923                         <texturenofocus />
924                         <onclick>Action(close)</onclick>
925                 </control>
926                 <control type="group">
927                         <width>$PARAM[width]</width>
928                         <height>$PARAM[height]</height>
929                         <control type="image">
930                                 <left>0</left>
931                                 <top>0</top>
932                                 <right>0</right>
933                                 <bottom>0</bottom>
934                                 <texture colordiffuse="dialog_tint">colors/white.png</texture>
935                         </control>
936                         <control type="image">
937                                 <left>0</left>
938                                 <top>0</top>
939                                 <right>0</right>
940                                 <height>70</height>
941                                 <texture colordiffuse="button_focus" border="2">colors/white70.png</texture>
942                         </control>
943                         <control type="label" id="$PARAM[header_id]">
944                                 <left>40</left>
945                                 <top>0</top>
946                                 <right>100</right>
947                                 <height>70</height>
948                                 <font>font32_title</font>
949                                 <label>$PARAM[header_label]</label>
950                                 <aligny>center</aligny>
951                                 <shadowcolor>black</shadowcolor>
952                         </control>
953                         <control type="button" id="22002">
954                                 <description>button overlay to avoid closing in dialog area</description>
955                                 <left>0</left>
956                                 <top>0</top>
957                                 <right>0</right>
958                                 <bottom>0</bottom>
959                                 <texturefocus />
960                                 <texturenofocus />
961                                 <onclick>noop</onclick>
962                         </control>
963                         <control type="radiobutton">
964                                 <right>10</right>
965                                 <top>11</top>
966                                 <width>48</width>
967                                 <height>48</height>
968                                 <radiowidth>48</radiowidth>
969                                 <radioheight>48</radioheight>
970                                 <texturefocus />
971                                 <texturenofocus />
972                                 <label></label>
973                                 <textureradioofffocus colordiffuse="EEFFFFFF">dialogs/close.png</textureradioofffocus>
974                                 <textureradiooffnofocus colordiffuse="EEFFFFFF">special://xbmc/media/vendor_icon.png</textureradiooffnofocus>
975                                 <textureradioonfocus colordiffuse="EEFFFFFF">dialogs/close.png</textureradioonfocus>
976                                 <textureradioonnofocus colordiffuse="EEFFFFFF">special://xbmc/media/vendor_icon.png</textureradioonnofocus>
977                                 <onclick>Action(close)</onclick>
978                                 <visible>!Skin.HasSetting(touchmode)</visible>
979                         </control>
980                         <control type="button">
981                                 <right>10</right>
982                                 <top>11</top>
983                                 <width>48</width>
984                                 <height>48</height>
985                                 <texturefocus>dialogs/close.png</texturefocus>
986                                 <texturenofocus>dialogs/close.png</texturenofocus>
987                                 <onclick>Action(close)</onclick>
988                                 <visible>Skin.HasSetting(touchmode)</visible>
989                         </control>
990                 </control>
991         </include>
992         <include name="TopBar">
993                 <param name="sublabel">$INFO[Container.SortMethod,$LOCALIZE[31022]: ,  âˆ™  ]$INFO[Container.CurrentItem,, / ]$INFO[Container.NumItems]</param>
994                 <definition>
995                         <control type="group">
996                                 <animation effect="slide" end="0,-112" time="300" tween="sine" easing="inout" condition="$EXP[infodialog_active]">conditional</animation>
997                                 <depth>DepthBars</depth>
998                                 <animation effect="fade" start="0" end="100" time="300" condition="[Window.Previous(fullscreenvideo) | Window.Previous(startup)] + !Window.IsVisible(1109)">WindowOpen</animation>
999                                 <control type="image">
1000                                         <left>0</left>
1001                                         <top>0</top>
1002                                         <width>110%</width>
1003                                         <height>130</height>
1004                                         <texture>frame/InfoBar.png</texture>
1005                                         <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(screencalibration)">WindowClose</animation>
1006                                 </control>
1007                                 <control type="grouplist">
1008                                         <width>900</width>
1009                                         <include content="TopBarLabels">
1010                                                 <param name="breadcrumbs_label" value="$PARAM[breadcrumbs_label]" />
1011                                         </include>
1012                                         <visible>Player.HasMedia</visible>
1013                                 </control>
1014                                 <control type="grouplist">
1015                                         <width>1800</width>
1016                                         <include content="TopBarLabels">
1017                                                 <param name="breadcrumbs_label" value="$PARAM[breadcrumbs_label]" />
1018                                         </include>
1019                                         <visible>!Player.HasMedia</visible>
1020                                 </control>
1021                                 <control type="button">
1022                                         <top>0</top>
1023                                         <width>200</width>
1024                                         <height>100</height>
1025                                         <label></label>
1026                                         <onclick>Action(Back)</onclick>
1027                                         <visible>!Window.IsActive(home)</visible>
1028                                         <texturefocus />
1029                                         <texturenofocus />
1030                                 </control>
1031                                 <control type="label" id="18900">
1032                                         <top>50</top>
1033                                         <label>$PARAM[sublabel]</label>
1034                                         <left>35</left>
1035                                         <shadowcolor>text_shadow</shadowcolor>
1036                                         <height>100</height>
1037                                         <width>900</width>
1038                                         <animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
1039                                         <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
1040                                         <animation effect="slide" end="70,0" time="200" reversible="true" condition="Control.IsVisible(799)">Conditional</animation>
1041                                 </control>
1042                                 <control type="grouplist">
1043                                         <top>0</top>
1044                                         <align>right</align>
1045                                         <right>20</right>
1046                                         <height>200</height>
1047                                         <orientation>horizontal</orientation>
1048                                         <width>900</width>
1049                                         <itemgap>10</itemgap>
1050                                         <visible>!Window.IsVisible(extendedprogressdialog) + !Window.IsActive(fullscreenvideo)</visible>
1051                                         <animation effect="fade" time="150">VisibleChange</animation>
1052                                         <control type="group">
1053                                                 <width>600</width>
1054                                                 <visible>!Control.IsVisible(503) + Player.HasMedia + String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))</visible>
1055                                                 <animation effect="fade" time="200">VisibleChange</animation>
1056                                                 <control type="grouplist">
1057                                                         <left>-75</left>
1058                                                         <orientation>horizontal</orientation>
1059                                                         <height>38</height>
1060                                                         <top>14</top>
1061                                                         <align>right</align>
1062                                                         <width>660</width>
1063                                                         <itemgap>5</itemgap>
1064                                                         <usecontrolcoords>true</usecontrolcoords>
1065                                                         <control type="image">
1066                                                                 <top>4</top>
1067                                                                 <width>32</width>
1068                                                                 <height>32</height>
1069                                                                 <aspectratio>keep</aspectratio>
1070                                                                 <texture colordiffuse="button_focus">$VAR[NowPlayingIconVar]</texture>
1071                                                         </control>
1072                                                         <control type="label">
1073                                                                 <label>$INFO[Player.Title]</label>
1074                                                                 <font>font27</font>
1075                                                                 <shadowcolor>text_shadow</shadowcolor>
1076                                                                 <height>35</height>
1077                                                                 <width min="1" max="602">auto</width>
1078                                                         </control>
1079                                                 </control>
1080                                                 <control type="label" id="7700">
1081                                                         <label>$VAR[NowPlayingSublabelVar]</label>
1082                                                         <left>-44</left>
1083                                                         <top>44</top>
1084                                                         <font>font12</font>
1085                                                         <textcolor>grey</textcolor>
1086                                                         <shadowcolor>text_shadow</shadowcolor>
1087                                                         <height>25</height>
1088                                                         <width>630</width>
1089                                                         <align>right</align>
1090                                                         <scroll>true</scroll>
1091                                                 </control>
1092                                         </control>
1093                                         <control type="group">
1094                                                 <visible>Integer.IsGreater(System.ProfileCount,1) + !Player.HasMedia</visible>
1095                                                 <control type="image">
1096                                                         <visible>Skin.HasSetting(show_profileavatar)</visible>
1097                                                         <top>25</top>
1098                                                         <left>-70</left>
1099                                                         <width>50</width>
1100                                                         <height>50</height>
1101                                                         <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(screencalibration)">WindowClose</animation>
1102                                                         <texture>$INFO[System.ProfileThumb]</texture>
1103                                                         <aspectratio>scale</aspectratio>
1104                                                 </control>
1105                                                 <control type="label">
1106                                                         <visible>Skin.HasSetting(show_profilename)</visible>
1107                                                         <font>font45</font>
1108                                                         <align>right</align>
1109                                                         <left>-630</left>
1110                                                         <shadowcolor>text_shadow</shadowcolor>
1111                                                         <aligny>center</aligny>
1112                                                         <height>110</height>
1113                                                         <width max="600">auto</width>
1114                                                         <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(screencalibration)">WindowClose</animation>
1115                                                         <label>$INFO[System.ProfileName]</label>
1116                                                 </control>
1117                                         </control>
1118                                         <control type="label">
1119                                                 <font>font_clock</font>
1120                                                 <shadowcolor>text_shadow</shadowcolor>
1121                                                 <height>200</height>
1122                                                 <width>auto</width>
1123                                                 <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(screencalibration)">WindowClose</animation>
1124                                                 <label>$INFO[System.Time]</label>
1125                                         </control>
1126                                 </control>
1127                                 <control type="grouplist">
1128                                         <right>10</right>
1129                                         <top>70</top>
1130                                         <width>800</width>
1131                                         <height>100</height>
1132                                         <align>right</align>
1133                                         <itemgap>5</itemgap>
1134                                         <orientation>horizontal</orientation>
1135                                         <usecontrolcoords>true</usecontrolcoords>
1136                                         <control type="label">
1137                                                 <height>50</height>
1138                                                 <width>auto</width>
1139                                                 <aligny>center</aligny>
1140                                                 <textoffsetx>-8</textoffsetx>
1141                                                 <label>$INFO[System.AlarmPos]</label>
1142                                                 <visible>System.HasAlarm(shutdowntimer)</visible>
1143                                         </control>
1144                                         <control type="image">
1145                                                 <top>16</top>
1146                                                 <width>40</width>
1147                                                 <height>22</height>
1148                                                 <fadetime>300</fadetime>
1149                                                 <aspectratio aligny="center" align="left">keep</aspectratio>
1150                                                 <texture>icons/power.png</texture>
1151                                                 <visible>System.HasAlarm(shutdowntimer)</visible>
1152                                         </control>
1153                                         <control type="label">
1154                                                 <height>50</height>
1155                                                 <width>auto</width>
1156                                                 <aligny>center</aligny>
1157                                                 <label>$INFO[Window(Weather).Property(Current.Temperature)]$INFO[System.TemperatureUnits]</label>
1158                                                 <visible>Skin.HasSetting(show_weatherinfo) + Weather.IsFetched + ![String.IsEqual(Weather.FanartCode,na)]</visible>
1159                                         </control>
1160                                         <control type="image">
1161                                                 <top>1</top>
1162                                                 <width>50</width>
1163                                                 <height>50</height>
1164                                                 <fadetime>300</fadetime>
1165                                                 <aspectratio aligny="center" align="left">keep</aspectratio>
1166                                                 <texture>$INFO[Weather.FanartCode,weather/small/,.png]</texture>
1167                                                 <visible>Skin.HasSetting(show_weatherinfo) + Weather.IsFetched + ![String.IsEqual(Weather.FanartCode,na)]</visible>
1168                                         </control>
1169                                         <control type="image">
1170                                                 <top>8</top>
1171                                                 <left>-20</left>
1172                                                 <width>74</width>
1173                                                 <height>40</height>
1174                                                 <fadetime>300</fadetime>
1175                                                 <aspectratio aligny="center" align="center">keep</aspectratio>
1176                                                 <texture>dialogs/volume/mute.png</texture>
1177                                                 <visible>Player.Muted</visible>
1178                                         </control>
1179                                 </control>
1180                                 <control type="label" id="23000">
1181                                         <top>0</top>
1182                                         <left>0</left>
1183                                         <label>$INFO[ListItem.SortLetter]</label>
1184                                         <font>font_MainMenu</font>
1185                                         <width>100%</width>
1186                                         <height>80</height>
1187                                         <align>center</align>
1188                                         <visible>!System.HasActiveModalDialog</visible>
1189                                         <visible>Container.Scrolling</visible>
1190                                         <visible>!Container.Content(seasons)</visible>
1191                                         <visible>Container.SortMethod(1) | Container.SortMethod(4) | Container.SortMethod(12) | Container.SortMethod(10) | Container.SortMethod(7) | Container.SortMethod(29) | Container.SortMethod(17)</visible>
1192                                         <animation effect="fade" start="0" end="100" time="200" reversible="true">VisibleChange</animation>
1193                                         <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
1194                                 </control>
1195                         </control>
1196                         <include condition="Skin.HasSetting(touchmode) + !Window.IsActive(home)">TouchBackButton</include>
1197                 </definition>
1198         </include>
1199         <include name="TopBarLabels">
1200                 <left>35</left>
1201                 <description>Left side of top bar</description>
1202                 <top>-7</top>
1203                 <height>100</height>
1204                 <orientation>horizontal</orientation>
1205                 <usecontrolcoords>true</usecontrolcoords>
1206                 <animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
1207                 <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
1208                 <animation effect="slide" end="0,16" time="200" reversible="true" condition="String.IsEmpty(Control.GetLabel(18900))">Conditional</animation>
1209                 <animation effect="slide" end="70,0" time="200" reversible="true" condition="Control.IsVisible(799)">Conditional</animation>
1210                 <control type="label">
1211                         <label>$PARAM[breadcrumbs_label]</label>
1212                         <include>BreadcrumbsLabel</include>
1213                 </control>
1214                 <control type="label">
1215                         <label>$INFO[Container.ShowTitle, / ]</label>
1216                         <include>BreadcrumbsLabel</include>
1217                         <visible>!String.IsEmpty(Container.ShowTitle) + !String.IsEqual(Container.ShowTitle,Container.FolderName)</visible>
1218                 </control>
1219                 <control type="label">
1220                         <label>$INFO[Container.FolderName, / ]</label>
1221                         <include>BreadcrumbsLabel</include>
1222                         <visible>![Container.Content() + Window.IsActive(videos)]</visible>
1223                         <visible>![Window.IsActive(MyPVRChannels.xml) | Window.IsActive(MyPVRTimers.xml) | Window.IsActive(MyPVRRecordings.xml) | Window.IsActive(MyPVRSearch.xml) | Window.IsActive(MyPVRProviders.xml)]</visible>
1224                 </control>
1225                 <control type="label">
1226                         <label>$INFO[Container.PluginCategory, / ]</label>
1227                         <include>BreadcrumbsLabel</include>
1228                         <visible>!String.isempty(Container.PluginCategory)</visible>
1229                 </control>
1230                 <control type="label">
1231                         <label>$INFO[Control.GetLabel(10),: ]</label>
1232                         <include>BreadcrumbsLabel</include>
1233                         <visible>!String.IsEqual(Control.GetLabel(10),$LOCALIZE[16100]) + Window.IsActive(videos)</visible>
1234                 </control>
1235                 <control type="label">
1236                         <left>10</left>
1237                         <label>($LOCALIZE[31052])</label>
1238                         <include>BreadcrumbsLabel</include>
1239                         <visible>Container.Filtered</visible>
1240                 </control>
1241         </include>
1242         <include name="BreadcrumbsLabel">
1243                 <font>font45</font>
1244                 <shadowcolor>text_shadow</shadowcolor>
1245                 <top>7</top>
1246                 <height>100</height>
1247                 <width>auto</width>
1248         </include>
1249         <include name="ColoredBackgroundImages">
1250                 <control type="image">
1251                         <depth>DepthBackground</depth>
1252                         <include>FullScreenDimensions</include>
1253                         <aspectratio>scale</aspectratio>
1254                         <texture colordiffuse="primary_background">special://skin/extras/backgrounds/primary.jpg</texture>
1255                 </control>
1256                 <control type="image">
1257                         <depth>DepthBackground</depth>
1258                         <include>FullScreenDimensions</include>
1259                         <aspectratio>scale</aspectratio>
1260                         <texture colordiffuse="secondary_background" fallback="special://skin/extras/backgrounds/pattern1.png">$INFO[Skin.String(background_overlay),special://skin/extras/backgrounds/pattern,.png]</texture>
1261                         <visible>!String.IsEqual(Skin.String(background_overlay),0)</visible>
1262                 </control>
1263         </include>
1264         <include name="DefaultBackground">
1265                 <definition>
1266                         <control type="videowindow">
1267                                 <depth>DepthBackground</depth>
1268                                 <include>FullScreenDimensions</include>
1269                                 <visible>Player.HasVideo</visible>
1270                                 <visible>!Slideshow.IsActive</visible>
1271                         </control>
1272                         <control type="visualisation">
1273                                 <include>FullScreenDimensions</include>
1274                                 <visible>!Slideshow.IsActive</visible>
1275                                 <visible>Player.HasAudio + String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia)) + Visualisation.Enabled</visible>
1276                         </control>
1277                         <control type="group">
1278                                 <include>FullScreenDimensions</include>
1279                                 <animation effect="zoom" center="auto" end="102,102" time="0" condition="Integer.IsGreater(System.StereoscopicMode,0)">conditional</animation>
1280                                 <control type="group">
1281                                         <animation effect="fade" start="100" end="bg_alpha" time="0" condition="!Control.IsVisible(31111)">Conditional</animation>
1282                                         <animation effect="fade" start="0" end="100" time="300" condition="Window.Previous(fullscreenvideo) | Window.Previous(FullscreenGame) | Window.Previous(startup)">WindowOpen</animation>
1283                                         <include>ColoredBackgroundImages</include>
1284                                 </control>
1285                                 <control type="group" id="31111">
1286                                         <visible>!Window.IsActive(Home) + [![Player.HasVideo | [Player.HasAudio + Visualisation.Enabled + !String.IsEmpty(Visualisation.Name)]] | !String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))]</visible>
1287                                         <depth>DepthBackground</depth>
1288                                         <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
1289                                         <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
1290                                         <animation effect="fade" time="400">VisibleChange</animation>
1291                                         <control type="image" id="32111">
1292                                                 <include>FullScreenDimensions</include>
1293                                                 <aspectratio>scale</aspectratio>
1294                                                 <fadetime>400</fadetime>
1295                                                 <animation effect="fade" time="400">VisibleChange</animation>
1296                                                 <texture background="true" colordiffuse="37FFFFFF">$VAR[MediaFanartVar]</texture>
1297                                                 <visible>!Control.IsVisible(502) | $EXP[infodialog_active]</visible>
1298                                         </control>
1299                                         <control type="image">
1300                                                 <left>-3</left>
1301                                                 <top>0</top>
1302                                                 <right>1193</right>
1303                                                 <height>100%</height>
1304                                                 <aspectratio aligny="center">scale</aspectratio>
1305                                                 <fadetime>400</fadetime>
1306                                                 <include>OpenClose_Left</include>
1307                                                 <animation effect="fade" time="400">VisibleChange</animation>
1308                                                 <texture background="true" colordiffuse="37FFFFFF">$VAR[PosterVar]</texture>
1309                                                 <visible>!Control.IsVisible(32111)</visible>
1310                                         </control>
1311                                 </control>
1312                         </control>
1313                 </definition>
1314         </include>
1315         <include name="BottomBar">
1316                 <param name="info_visible">false</param>
1317                 <definition>
1318                         <control type="group">
1319                                 <animation effect="slide" end="0,112" time="300" tween="sine" easing="inout" condition="$EXP[infodialog_active]">conditional</animation>
1320                                 <depth>DepthBars</depth>
1321                                 <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(visualisation) | Window.Next(screencalibration)">WindowClose</animation>
1322                                 <animation effect="fade" start="0" end="100" time="300" condition="Window.Previous(fullscreenvideo) | Window.Previous(startup) | Window.Previous(visualisation)">WindowOpen</animation>
1323                                 <bottom>0</bottom>
1324                                 <control type="image">
1325                                         <left>0</left>
1326                                         <bottom>0</bottom>
1327                                         <width>110%</width>
1328                                         <height>115</height>
1329                                         <texture flipy="true">frame/InfoBar.png</texture>
1330                                 </control>
1331                                 <control type="group">
1332                                         <visible>$PARAM[info_visible]</visible>
1333                                         <visible>!System.HasActiveModalDialog</visible>
1334                                         <visible>!Skin.HasSetting(touchmode)</visible>
1335                                         <animation effect="fade" time="400">VisibleChange</animation>
1336                                         <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
1337                                         <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
1338                                         <control type="button">
1339                                                 <bottom>20</bottom>
1340                                                 <left>12</left>
1341                                                 <width>36</width>
1342                                                 <height>36</height>
1343                                                 <animation effect="rotate" end="-90" center="auto" time="200" reversible="true" condition="Control.IsVisible(51) | Control.IsVisible(53)">Conditional</animation>
1344                                                 <texturefocus colordiffuse="button_focus">frame/menu-nofo.png</texturefocus>
1345                                                 <texturenofocus colordiffuse="FFCCCCCC">frame/menu-nofo.png</texturenofocus>
1346                                                 <animation effect="fade" time="200">VisibleChange</animation>
1347                                                 <onclick>SetFocus(9000)</onclick>
1348                                                 <visible>!Control.IsVisible(6160)</visible>
1349                                         </control>
1350                                         <control type="button" id="6160">
1351                                                 <bottom>20</bottom>
1352                                                 <left>12</left>
1353                                                 <width>36</width>
1354                                                 <height>36</height>
1355                                                 <texturefocus colordiffuse="button_focus">icons/menu.png</texturefocus>
1356                                                 <texturenofocus colordiffuse="FFCCCCCC">icons/menu.png</texturenofocus>
1357                                                 <animation effect="fade" time="200">VisibleChange</animation>
1358                                                 <onclick>SetFocus(9000)</onclick>
1359                                                 <visible>Window.IsActive(MyPVRGuide.xml)</visible>
1360                                         </control>
1361                                         <control type="button">
1362                                                 <bottom>16</bottom>
1363                                                 <left>64</left>
1364                                                 <width>300</width>
1365                                                 <height>44</height>
1366                                                 <shadowcolor>text_shadow</shadowcolor>
1367                                                 <label>$LOCALIZE[33063]</label>
1368                                                 <onclick>SetFocus(9000)</onclick>
1369                                                 <texturefocus />
1370                                                 <texturenofocus />
1371                                         </control>
1372                                 </control>
1373                                 <include>TouchButtons</include>
1374                         </control>
1375                 </definition>
1376         </include>
1377         <include name="BottomBarTwoListInfo">
1378                 <control type="group">
1379                         <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
1380                         <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
1381                         <control type="grouplist">
1382                                 <orientation>horizontal</orientation>
1383                                 <align>right</align>
1384                                 <bottom>0</bottom>
1385                                 <height>65</height>
1386                                 <itemgap>10</itemgap>
1387                                 <right>24</right>
1388                                 <width>1200</width>
1389                                 <control type="label">
1390                                         <width>auto</width>
1391                                         <height>48</height>
1392                                         <aligny>center</aligny>
1393                                         <align>right</align>
1394                                         <shadowcolor>text_shadow</shadowcolor>
1395                                         <label>$INFO[Container($PARAM[right_container_id]).CurrentItem,, / ]$INFO[Container($PARAM[right_container_id]).NumItems]</label>
1396                                 </control>
1397                                 <control type="image">
1398                                         <width>54</width>
1399                                         <height>44</height>
1400                                         <aspectratio>keep</aspectratio>
1401                                         <texture colordiffuse="button_focus">frame/item-count.png</texture>
1402                                 </control>
1403                         </control>
1404                         <control type="grouplist">
1405                                 <orientation>horizontal</orientation>
1406                                 <bottom>0</bottom>
1407                                 <height>65</height>
1408                                 <left>24</left>
1409                                 <width>1200</width>
1410                                 <itemgap>10</itemgap>
1411                                 <control type="image">
1412                                         <width>54</width>
1413                                         <height>44</height>
1414                                         <aspectratio>keep</aspectratio>
1415                                         <texture colordiffuse="button_focus">frame/item-count.png</texture>
1416                                 </control>
1417                                 <control type="label">
1418                                         <width>auto</width>
1419                                         <height>48</height>
1420                                         <aligny>center</aligny>
1421                                         <align>right</align>
1422                                         <shadowcolor>text_shadow</shadowcolor>
1423                                         <label>$INFO[Container($PARAM[left_container_id]).CurrentItem,, / ]$INFO[Container($PARAM[left_container_id]).NumItems]</label>
1424                                 </control>
1425                         </control>
1426                 </control>
1427         </include>
1428         <include name="FullScreenDimensions">
1429                 <left>0</left>
1430                 <top>0</top>
1431                 <width>100%</width>
1432                 <height>100%</height>
1433         </include>
1434         <include name="FocusableProgressBar">
1435                 <param name="width">100%</param>
1436                 <param name="onunfocus_id">200</param>
1437                 <definition>
1438                         <control type="progress">
1439                                 <animation effect="fade" end="0" time="200">WindowClose</animation>
1440                                 <left>0</left>
1441                                 <width>$PARAM[width]</width>
1442                                 <height>15</height>
1443                                 <info>Player.ProgressCache</info>
1444                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/white50.png</texturebg>
1445                                 <midtexture>colors/white50.png</midtexture>
1446                                 <animation effect="fade" start="100" end="80" time="0" condition="true">Conditional</animation>
1447                         </control>
1448                         <control type="progress" id="23">
1449                                 <animation effect="fade" end="0" time="200">WindowClose</animation>
1450                                 <left>0</left>
1451                                 <width>$PARAM[width]</width>
1452                                 <height>15</height>
1453                                 <info>Player.Progress</info>
1454                                 <texturebg border="3" colordiffuse="80FFFFFF">colors/white50.png</texturebg>
1455                                 <midtexture colordiffuse="button_focus">colors/white.png</midtexture>
1456                         </control>
1457                         <control type="button" id="87">
1458                                 <include>HiddenObject</include>
1459                                 <onup>$PARAM[onunfocus_id]</onup>
1460                                 <onunfocus condition="Player.Forwarding | Player.Rewinding">PlayerControl(Play)</onunfocus>
1461                                 <ondown>$PARAM[onunfocus_id]</ondown>
1462                                 <onright condition="!Player.Forwarding32x">PlayerControl(Forward)</onright>
1463                                 <onleft condition="!Player.Rewinding32x">PlayerControl(Rewind)</onleft>
1464                                 <visible>Player.SeekEnabled</visible>
1465                                 <onclick condition="Player.Forwarding | Player.Rewinding">PlayerControl(Play)</onclick>
1466                         </control>
1467                         <control type="slider">
1468                                 <top>-5</top>
1469                                 <left>0</left>
1470                                 <width>$PARAM[width]</width>
1471                                 <height>25</height>
1472                                 <texturesliderbar colordiffuse="00FFFFFF">osd/progress/nub_leftright.png</texturesliderbar>
1473                                 <textureslidernib>osd/progress/nub_leftright.png</textureslidernib>
1474                                 <textureslidernibfocus colordiffuse="button_focus">osd/progress/nub_leftright.png</textureslidernibfocus>
1475                                 <info>Player.Progress</info>
1476                                 <action>seek</action>
1477                                 <visible>!Control.HasFocus(87) + Player.SeekEnabled</visible>
1478                         </control>
1479                         <control type="slider">
1480                                 <top>-5</top>
1481                                 <left>0</left>
1482                                 <width>$PARAM[width]</width>
1483                                 <height>25</height>
1484                                 <texturesliderbar colordiffuse="00FFFFFF">osd/progress/nub_leftright.png</texturesliderbar>
1485                                 <textureslidernib colordiffuse="button_focus">osd/progress/nub_leftright.png</textureslidernib>
1486                                 <textureslidernibfocus colordiffuse="button_focus">osd/progress/nub_leftright.png</textureslidernibfocus>
1487                                 <info>Player.Progress</info>
1488                                 <action>seek</action>
1489                                 <visible>Control.HasFocus(87) + Player.SeekEnabled</visible>
1490                         </control>
1491                 </definition>
1492         </include>
1493         <include name="ContentPanel">
1494                 <param name="width">500</param>
1495                 <param name="left">-40</param>
1496                 <param name="right"></param>
1497                 <param name="top">-10%</param>
1498                 <param name="height">120%</param>
1499                 <param name="flipx">false</param>
1500                 <definition>
1501                         <control type="image">
1502                                 <texture flipx="$PARAM[flipx]" colordiffuse="EDFFFFFF">lists/panel.png</texture>
1503                                 <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
1504                                 <bordersize>20</bordersize>
1505                                 <width>$PARAM[width]</width>
1506                                 <left>$PARAM[left]</left>
1507                                 <right>$PARAM[right]</right>
1508                                 <top>$PARAM[top]</top>
1509                                 <height>$PARAM[height]</height>
1510                         </control>
1511                 </definition>
1512         </include>
1513         <include name="TouchButtons">
1514                 <control type="grouplist" id="700">
1515                         <orientation>horizontal</orientation>
1516                         <visible>Skin.HasSetting(touchmode)</visible>
1517                         <visible>!Window.IsActive(home) + !Window.IsActive(filemanager)</visible>
1518                         <animation effect="fade" start="0" end="100" time="400" condition="Window.Previous(home)">WindowOpen</animation>
1519                         <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(home)">WindowClose</animation>
1520                         <itemgap>0</itemgap>
1521                         <left>-8</left>
1522                         <width>480</width>
1523                         <height>110</height>
1524                         <bottom>0</bottom>
1525                         <onup>noop</onup>
1526                         <ondown>9000</ondown>
1527                         <onright>2000</onright>
1528                         <align>justify</align>
1529                         <usecontrolcoords>true</usecontrolcoords>
1530                         <include content="IconButton">
1531                                 <param name="control_id" value="" />
1532                                 <param name="onclick" value="SetFocus(9000)" />
1533                                 <param name="icon" value="icons/settings.png" />
1534                                 <param name="label" value="$LOCALIZE[10004]" />
1535                                 <param name="visible" value="Window.IsMedia" />
1536                         </include>
1537                         <include content="IconButton">
1538                                 <param name="control_id" value="" />
1539                                 <param name="onclick" value="ActivateWindow(shutdownmenu)" />
1540                                 <param name="icon" value="icons/power.png" />
1541                                 <param name="label" value="$LOCALIZE[33060]" />
1542                                 <param name="visible" value="!Window.IsMedia" />
1543                         </include>
1544                         <control type="group">
1545                                 <width>120</width>
1546                                 <control type="button">
1547                                         <top>0</top>
1548                                         <width>120</width>
1549                                         <height>120</height>
1550                                         <label></label>
1551                                         <onclick>ActivateWindow(1103)</onclick>
1552                                         <texturefocus colordiffuse="button_focus">buttons/roundbutton-fo.png</texturefocus>
1553                                         <texturenofocus />
1554                                 </control>
1555                                 <control type="image">
1556                                         <left>34</left>
1557                                         <top>34</top>
1558                                         <width>52</width>
1559                                         <height>52</height>
1560                                         <texture colordiffuse="grey">$VAR[VolumeIconVar]</texture>
1561                                 </control>
1562                         </control>
1563                         <include content="IconButton">
1564                                 <param name="control_id" value="" />
1565                                 <param name="onclick" value="ActivateWindow(favouritesbrowser)" />
1566                                 <param name="icon" value="icons/favourites.png" />
1567                                 <param name="label" value="$LOCALIZE[10134]" />
1568                         </include>
1569                 </control>
1570         </include>
1571         <include name="TouchBackButton">
1572                 <control type="radiobutton" id="799">
1573                         <left>-10</left>
1574                         <top>-10</top>
1575                         <width>120</width>
1576                         <height>120</height>
1577                         <align>center</align>
1578                         <aligny>center</aligny>
1579                         <onclick>Action(Back)</onclick>
1580                         <animation effect="fade" start="0" end="100" time="400" condition="Window.Previous(home)">WindowOpen</animation>
1581                         <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(home)">WindowClose</animation>
1582                         <texturefocus colordiffuse="button_focus">buttons/roundbutton-fo.png</texturefocus>
1583                         <texturenofocus />
1584                         <radioposx>30</radioposx>
1585                         <radiowidth>60</radiowidth>
1586                         <radioheight>60</radioheight>
1587                         <textureradioonfocus>icons/back.png</textureradioonfocus>
1588                         <textureradioonnofocus colordiffuse="grey">icons/back.png</textureradioonnofocus>
1589                         <textureradioofffocus>icons/back.png</textureradioofffocus>
1590                         <textureradiooffnofocus colordiffuse="grey">icons/back.png</textureradiooffnofocus>
1591                 </control>
1592         </include>
1593         <include name="TouchBackOSDButton">
1594                 <control type="radiobutton" id="799">
1595                         <left>-10</left>
1596                         <top>-10</top>
1597                         <width>120</width>
1598                         <height>120</height>
1599                         <align>center</align>
1600                         <aligny>center</aligny>
1601                         <onclick>Dialog.Close(all,true)</onclick>
1602                         <onclick>Action(FullScreen)</onclick>
1603                         <texturefocus colordiffuse="button_focus">buttons/roundbutton-fo.png</texturefocus>
1604                         <texturenofocus />
1605                         <radioposx>30</radioposx>
1606                         <radiowidth>60</radiowidth>
1607                         <radioheight>60</radioheight>
1608                         <textureradioonfocus>icons/back.png</textureradioonfocus>
1609                         <textureradioonnofocus colordiffuse="grey">icons/back.png</textureradioonnofocus>
1610                         <textureradioofffocus>icons/back.png</textureradioofffocus>
1611                         <textureradiooffnofocus colordiffuse="grey">icons/back.png</textureradiooffnofocus>
1612                         <include>Animation_TopSlide</include>
1613                 </control>
1614         </include>
1615         <include name="TouchBackSlideshowButton">
1616                 <control type="radiobutton" id="13">
1617                         <left>-10</left>
1618                         <top>-10</top>
1619                         <width>120</width>
1620                         <height>120</height>
1621                         <align>center</align>
1622                         <aligny>center</aligny>
1623                         <onfocus>Action(Back)</onfocus>
1624                         <texturefocus colordiffuse="button_focus">buttons/roundbutton-fo.png</texturefocus>
1625                         <texturenofocus />
1626                         <radioposx>30</radioposx>
1627                         <radiowidth>60</radiowidth>
1628                         <radioheight>60</radioheight>
1629                         <textureradioonfocus>icons/back.png</textureradioonfocus>
1630                         <textureradioonnofocus colordiffuse="grey">icons/back.png</textureradioonnofocus>
1631                         <textureradioofffocus>icons/back.png</textureradioofffocus>
1632                         <textureradiooffnofocus colordiffuse="grey">icons/back.png</textureradiooffnofocus>
1633                         <visible>!Window.IsVisible(PictureInfo)</visible>
1634                 </control>
1635         </include>
1636         <include name="SettingsPanel">
1637                 <itemlayout height="260" width="400">
1638                         <control type="image">
1639                                 <left>-5</left>
1640                                 <width>410</width>
1641                                 <height>270</height>
1642                                 <texture>dialogs/dialog-bg-nobo.png</texture>
1643                                 <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
1644                                 <bordersize>20</bordersize>
1645                         </control>
1646                         <control type="image">
1647                                 <centerleft>50%</centerleft>
1648                                 <top>30</top>
1649                                 <width>240</width>
1650                                 <height>160</height>
1651                                 <texture>$INFO[ListItem.Icon]</texture>
1652                                 <align>center</align>
1653                                 <aspectratio>scale</aspectratio>
1654                         </control>
1655                         <control type="label">
1656                                 <left>25</left>
1657                                 <top>190</top>
1658                                 <width>350</width>
1659                                 <height>400</height>
1660                                 <label>$INFO[ListItem.Label]</label>
1661                                 <align>center</align>
1662                         </control>
1663                 </itemlayout>
1664                 <focusedlayout height="230" width="400">
1665                         <control type="group">
1666                                 <depth>DepthContentPopout</depth>
1667                                 <animation type="Focus" reversible="false">
1668                                         <effect type="zoom" center="200,140" start="100" end="110" time="250" tween="sine" />
1669                                 </animation>
1670                                 <animation type="UnFocus" reversible="false">
1671                                         <effect type="zoom" center="200,140" start="110" end="100" time="250" tween="sine" />
1672                                 </animation>
1673                                 <control type="image">
1674                                         <left>-5</left>
1675                                         <width>410</width>
1676                                         <height>270</height>
1677                                         <texture>dialogs/dialog-bg-nobo.png</texture>
1678                                         <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
1679                                         <bordersize>20</bordersize>
1680                                 </control>
1681                                 <control type="image">
1682                                         <left>-5</left>
1683                                         <width>410</width>
1684                                         <height>270</height>
1685                                         <texture colordiffuse="button_focus">colors/grey.png</texture>
1686                                         <bordersize>20</bordersize>
1687                                         <include>Animation_FocusTextureFade</include>
1688                                 </control>
1689                                 <control type="image">
1690                                         <centerleft>50%</centerleft>
1691                                         <top>30</top>
1692                                         <width>240</width>
1693                                         <height>160</height>
1694                                         <texture>$INFO[ListItem.Icon]</texture>
1695                                         <align>center</align>
1696                                         <aspectratio>scale</aspectratio>
1697                                 </control>
1698                                 <control type="label">
1699                                         <left>25</left>
1700                                         <top>190</top>
1701                                         <width>350</width>
1702                                         <height>400</height>
1703                                         <label>$INFO[ListItem.Label]</label>
1704                                         <align>center</align>
1705                                 </control>
1706                         </control>
1707                 </focusedlayout>
1708         </include>
1709         <include name="MediaInfoListLayout">
1710                 <param name="height">125</param>
1711                 <param name="width">880</param>
1712                 <param name="fontcolor">grey</param>
1713                 <definition>
1714                         <itemlayout height="$PARAM[height]" width="$PARAM[width]">
1715                                 <control type="image">
1716                                         <left>12</left>
1717                                         <top>7</top>
1718                                         <width>110</width>
1719                                         <height>110</height>
1720                                         <texture>$VAR[VideoListThumbVar]</texture>
1721                                         <aspectratio>keep</aspectratio>
1722                                 </control>
1723                                 <control type="label">
1724                                         <left>135</left>
1725                                         <top>0</top>
1726                                         <right>20</right>
1727                                         <height>60</height>
1728                                         <font>font14</font>
1729                                         <aligny>center</aligny>
1730                                         <textcolor>grey</textcolor>
1731                                         <label>$VAR[MediaInfoListLabelVar]</label>
1732                                 </control>
1733                                 <control type="label">
1734                                         <left>135</left>
1735                                         <top>50</top>
1736                                         <right>20</right>
1737                                         <height>65</height>
1738                                         <font>font12</font>
1739                                         <aligny>center</aligny>
1740                                         <textcolor>grey</textcolor>
1741                                         <label>$VAR[MediaInfoListLabel2Var]</label>
1742                                 </control>
1743                         </itemlayout>
1744                         <focusedlayout height="$PARAM[height]" width="$PARAM[width]">
1745                                 <control type="image">
1746                                         <left>0</left>
1747                                         <top>0</top>
1748                                         <right>0</right>
1749                                         <bottom>0</bottom>
1750                                         <texture colordiffuse="button_focus">lists/focus.png</texture>
1751                                         <animation effect="fade" start="100" end="50" time="0">UnFocus</animation>
1752                                 </control>
1753                                 <control type="image">
1754                                         <left>12</left>
1755                                         <top>7</top>
1756                                         <width>110</width>
1757                                         <height>110</height>
1758                                         <texture>$VAR[VideoListThumbVar]</texture>
1759                                         <aspectratio>keep</aspectratio>
1760                                 </control>
1761                                 <control type="label">
1762                                         <left>135</left>
1763                                         <top>0</top>
1764                                         <right>20</right>
1765                                         <height>60</height>
1766                                         <aligny>center</aligny>
1767                                         <scroll>true</scroll>
1768                                         <font>font14</font>
1769                                         <label>$VAR[MediaInfoListLabelVar]</label>
1770                                 </control>
1771                                 <control type="label">
1772                                         <left>135</left>
1773                                         <top>50</top>
1774                                         <right>20</right>
1775                                         <height>65</height>
1776                                         <font>font12</font>
1777                                         <aligny>center</aligny>
1778                                         <label>$VAR[MediaInfoListLabel2Var]</label>
1779                                 </control>
1780                         </focusedlayout>
1781                 </definition>
1782         </include>
1783 </includes>