[WASAPI] use silent buffer flag for initial silent frames.
[xbmc.git] / addons / skin.estuary / xml / DialogVideoInfo.xml
blob47e9a8e8b8e07ff38ca1f3169c2389a6d1f0d872
1 <?xml version="1.0" encoding="UTF-8"?>
2 <window>
3         <defaultcontrol always="true">8</defaultcontrol>
4         <onload>SetProperty(infobackground,$ESCINFO[ListItem.Art(fanart)],home)</onload>
5         <onunload>ClearProperty(infobackground,home)</onunload>
6         <controls>
7                 <control type="group">
8                         <centertop>50%</centertop>
9                         <height>1080</height>
10                         <centerleft>50%</centerleft>
11                         <width>1920</width>
12                         <animation effect="fade" start="100" end="0" time="200" tween="sine" condition="Window.IsVisible(script-embuary-video.xml) | Window.IsVisible(script-embuary-person.xml) | Window.IsVisible(script-embuary-image.xml)">Conditional</animation>
13                         <control type="group">
14                                 <top>150</top>
15                                 <left>66</left>
16                                 <include>OpenClose_Left</include>
17                                 <control type="image">
18                                         <top>-16</top>
19                                         <left>-16</left>
20                                         <width>566</width>
21                                         <height>841</height>
22                                         <texture>colors/black.png</texture>
23                                         <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
24                                         <bordersize>20</bordersize>
25                                 </control>
26                                 <control type="image">
27                                         <depth>DepthContentPopout</depth>
28                                         <left>4</left>
29                                         <top>4</top>
30                                         <width>526</width>
31                                         <height>801</height>
32                                         <aspectratio>scale</aspectratio>
33                                         <texture fallback="DefaultVideo.png" background="true">$VAR[InfoDialogPosterVar]</texture>
34                                 </control>
35                                 <control type="group">
36                                         <visible>String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,video)</visible>
37                                         <visible>!String.IsEmpty(ListItem.Art(thumb)) + !String.IsEqual(ListItem.Art(thumb),ListItem.Art(poster))</visible>
38                                         <control type="image">
39                                                 <left>4</left>
40                                                 <top>4</top>
41                                                 <width>526</width>
42                                                 <height>801</height>
43                                                 <aspectratio>stretch</aspectratio>
44                                                 <texture colordiffuse="AAFFFFFF" fallback="DefaultVideo.png">colors/black.png</texture>
45                                         </control>
46                                         <control type="image">
47                                                 <left>14</left>
48                                                 <top>4</top>
49                                                 <width>506</width>
50                                                 <height>801</height>
51                                                 <aspectratio>keep</aspectratio>
52                                                 <texture>$VAR[ShiftThumbVar]</texture>
53                                                 <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
54                                                 <bordersize>20</bordersize>
55                                         </control>
56                                 </control>
57                         </control>
58                         <control type="group">
59                                 <top>154</top>
60                                 <left>70</left>
61                                 <visible>String.IsEqual(ListItem.DBType,musicvideo) + !Skin.HasSetting(show_musicvideoposter)</visible>
62                                 <include>OpenClose_Left</include>
63                                 <control type="image">
64                                         <width>526</width>
65                                         <height>801</height>
66                                         <aspectratio>stretch</aspectratio>
67                                         <texture colordiffuse="FF555555">DefaultVideo.png</texture>
68                                 </control>
69                                 <control type="image">
70                                         <left>10</left>
71                                         <width>506</width>
72                                         <height>801</height>
73                                         <aspectratio>keep</aspectratio>
74                                         <texture>$INFO[ListItem.Thumb]</texture>
75                                         <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
76                                         <bordersize>20</bordersize>
77                                 </control>
78                         </control>
79                         <control type="group">
80                                 <include>OpenClose_Right</include>
81                                 <left>620</left>
82                                 <top>-30</top>
83                                 <control type="group" id="140">
84                                         <top>468</top>
85                                         <control type="button" id="138">
86                                                 <width>754</width>
87                                                 <height>418</height>
88                                                 <textoffsetx>40</textoffsetx>
89                                                 <textoffsety>20</textoffsety>
90                                                 <aligny>bottom</aligny>
91                                                 <label></label>
92                                                 <onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Header,$LOCALIZE[207],home)</onclick>
93                                                 <onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Text,$ESCINFO[ListItem.Plot],home)</onclick>
94                                                 <onclick condition="!String.IsEmpty(ListItem.Plot)">ActivateWindow(1102)</onclick>
95                                                 <onup>50</onup>
96                                                 <onleft>4000</onleft>
97                                                 <onright>4000</onright>
98                                                 <ondown>5000</ondown>
99                                                 <texturenofocus border="21">dialogs/dialog-bg.png</texturenofocus>
100                                                 <visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
101                                         </control>
102                                         <control type="image">
103                                                 <left>735</left>
104                                                 <width>512</width>
105                                                 <height>418</height>
106                                                 <aligny>bottom</aligny>
107                                                 <texture border="21">dialogs/dialog-bg.png</texture>
108                                                 <visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
109                                         </control>
110                                         <control type="button" id="139">
111                                                 <width>1245</width>
112                                                 <height>418</height>
113                                                 <textoffsetx>40</textoffsetx>
114                                                 <textoffsety>20</textoffsety>
115                                                 <aligny>bottom</aligny>
116                                                 <label></label>
117                                                 <onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Header,$LOCALIZE[207],home)</onclick>
118                                                 <onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Text,$ESCINFO[ListItem.Plot],home)</onclick>
119                                                 <onclick condition="!String.IsEmpty(ListItem.Plot)">ActivateWindow(1102)</onclick>
120                                                 <onup>50</onup>
121                                                 <onleft>4000</onleft>
122                                                 <onright>4000</onright>
123                                                 <ondown>5000</ondown>
124                                                 <texturenofocus border="21">dialogs/dialog-bg.png</texturenofocus>
125                                                 <visible>!Integer.IsGreater(Container(4000).NumItems,0)</visible>
126                                         </control>
127                                         <control type="textbox">
128                                                 <left>40</left>
129                                                 <top>25</top>
130                                                 <width>670</width>
131                                                 <height>363</height>
132                                                 <label fallback="19055">$INFO[ListItem.Plot]</label>
133                                                 <autoscroll delay="10000" time="5000" repeat="10000">Skin.HasSetting(AutoScroll)</autoscroll>
134                                                 <visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
135                                         </control>
136                                         <control type="textbox">
137                                                 <left>40</left>
138                                                 <top>25</top>
139                                                 <width>1165</width>
140                                                 <height>363</height>
141                                                 <label fallback="19055">$INFO[ListItem.Plot]</label>
142                                                 <autoscroll delay="10000" time="5000" repeat="10000">Skin.HasSetting(AutoScroll)</autoscroll>
143                                                 <visible>!Integer.IsGreater(Container(4000).NumItems,0)</visible>
144                                         </control>
145                                 </control>
146                                 <control type="grouplist" id="4000">
147                                         <orientation>vertical</orientation>
148                                         <left>755</left>
149                                         <top>488</top>
150                                         <height>377</height>
151                                         <itemgap>-8</itemgap>
152                                         <ondown>5000</ondown>
153                                         <onup>50</onup>
154                                         <onright>140</onright>
155                                         <onleft>140</onleft>
156                                         <include content="InfoDialogMetadata">
157                                                 <param name="control_id" value="146" />
158                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[40003]: [/COLOR]$INFO[ListItem.VideoVersionName]" />
159                                                 <param name="altlabel" value="$LOCALIZE[40003]: $INFO[ListItem.VideoVersionname]" />
160                                                 <param name="visible" value="!String.IsEmpty(ListItem.VideoVersionName)" />
161                                         </include>
162                                         <include content="InfoDialogMetadata">
163                                                 <param name="control_id" value="147" />
164                                                 <param name="label" value="$INFO[ListItem.Director,[COLOR button_focus]$LOCALIZE[20339]: [/COLOR]]" />
165                                                 <param name="altlabel" value="$INFO[ListItem.Director,$LOCALIZE[20339]: ]" />
166                                                 <param name="onclick_condition" value="System.AddonIsEnabled(script.embuary.info)" />
167                                                 <param name="onclick" value="RunScript(script.embuary.info,call=person,query='$ESCINFO[ListItem.Director]')" />
168                                                 <param name="altclick_condition" value="System.AddonIsEnabled(script.embuary.info)" />
169                                                 <param name="altclick" value="RunScript(script.embuary.info,call=person,query='$ESCINFO[ListItem.Director]')" />
170                                                 <param name="visible" value="!String.IsEmpty(ListItem.Director)" />
171                                         </include>
172                                         <include content="InfoDialogMetadata">
173                                                 <param name="control_id" value="148" />
174                                                 <param name="label" value="$INFO[ListItem.Writer,[COLOR button_focus]$LOCALIZE[20417]: [/COLOR]]" />
175                                                 <param name="altlabel" value="$INFO[ListItem.Writer,$LOCALIZE[20417]: ]" />
176                                                 <param name="onclick_condition" value="System.AddonIsEnabled(script.embuary.info)" />
177                                                 <param name="onclick" value="RunScript(script.embuary.info,call=person,query='$ESCINFO[ListItem.Writer]')" />
178                                                 <param name="altclick_condition" value="System.AddonIsEnabled(script.embuary.info)" />
179                                                 <param name="altclick" value="RunScript(script.embuary.info,call=person,query='$ESCINFO[ListItem.Writer]')" />
180                                                 <param name="visible" value="!String.IsEmpty(ListItem.Writer)" />
181                                         </include>
182                                         <include content="InfoDialogMetadata">
183                                                 <param name="control_id" value="149" />
184                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[563]: [/COLOR]$INFO[ListItem.RatingAndVotes]" />
185                                                 <param name="altlabel" value="$LOCALIZE[563]: $INFO[ListItem.RatingAndVotes]" />
186                                                 <param name="visible" value="!String.IsEmpty(ListItem.RatingAndVotes)" />
187                                         </include>
188                                         <include content="InfoDialogMetadata">
189                                                 <param name="control_id" value="150" />
190                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[515]: [/COLOR]$INFO[ListItem.Genre]" />
191                                                 <param name="altlabel" value="$LOCALIZE[515]: $INFO[ListItem.Genre]" />
192                                                 <param name="visible" value="!String.IsEmpty(ListItem.Genre) + [String.IsEqual(ListItem.DBType,musicvideo) | String.IsEqual(ListItem.DBType,movie)]" />
193                                         </include>
194                                         <include content="InfoDialogMetadata">
195                                                 <param name="control_id" value="152" />
196                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[21875]: [/COLOR]$INFO[ListItem.Country]" />
197                                                 <param name="altlabel" value="$LOCALIZE[21875]: $INFO[ListItem.Country]" />
198                                                 <param name="visible" value="!String.IsEmpty(ListItem.Country)" />
199                                         </include>
200                                         <include content="InfoDialogMetadata">
201                                                 <param name="control_id" value="153" />
202                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[29909]: [/COLOR]$INFO[ListItem.Studio]" />
203                                                 <param name="altlabel" value="$LOCALIZE[29909]: $INFO[ListItem.Studio]" />
204                                                 <param name="visible" value="!String.IsEmpty(ListItem.Studio)" />
205                                         </include>
206                                         <include content="InfoDialogMetadata">
207                                                 <param name="control_id" value="154" />
208                                                 <param name="label" value="[COLOR button_focus]$VAR[FirstAiredLabel]: [/COLOR]$INFO[ListItem.Premiered]" />
209                                                 <param name="altlabel" value="$VAR[FirstAiredLabel]: $INFO[ListItem.Premiered]" />
210                                                 <param name="visible" value="!String.IsEmpty(ListItem.Premiered)" />
211                                         </include>
212                                         <include content="InfoDialogMetadata">
213                                                 <param name="control_id" value="155" />
214                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[31048]: [/COLOR]$INFO[ListItem.Season,, $LOCALIZE[36905]]$INFO[ListItem.Episode, (, $LOCALIZE[20453])]" />
215                                                 <param name="altlabel" value="$LOCALIZE[31048]: $INFO[ListItem.Season,, $LOCALIZE[36905]]$INFO[ListItem.Episode, (, $LOCALIZE[20453])]" />
216                                                 <param name="visible" value="!String.IsEmpty(ListItem.Season) + String.IsEqual(ListItem.DBType,tvshow)" />
217                                         </include>
218                                         <include content="InfoDialogMetadata">
219                                                 <param name="control_id" value="156" />
220                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[31048]: [/COLOR]$INFO[ListItem.Episode,, $LOCALIZE[20453]]" />
221                                                 <param name="altlabel" value="$LOCALIZE[31048]: $INFO[ListItem.Episode,, $LOCALIZE[20453]]" />
222                                                 <param name="visible" value="!String.IsEmpty(ListItem.Episode) + String.IsEqual(ListItem.DBType,season)" />
223                                         </include>
224                                         <include content="InfoDialogMetadata">
225                                                 <param name="control_id" value="157" />
226                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[31017]: [/COLOR]$INFO[ListItem.Mpaa]" />
227                                                 <param name="altlabel" value="$LOCALIZE[31017]: $INFO[ListItem.Mpaa]" />
228                                                 <param name="visible" value="!String.IsEmpty(ListItem.Mpaa)" />
229                                         </include>
230                                         <include content="InfoDialogMetadata">
231                                                 <param name="control_id" value="158" />
232                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[20457]: [/COLOR]$INFO[ListItem.Set]" />
233                                                 <param name="altlabel" value="$LOCALIZE[20457]: $INFO[ListItem.Set]" />
234                                                 <param name="visible" value="!String.IsEmpty(ListItem.Set)" />
235                                         </include>
236                                         <include content="InfoDialogMetadata">
237                                                 <param name="control_id" value="159" />
238                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[20459]: [/COLOR]$INFO[ListItem.Tag]" />
239                                                 <param name="altlabel" value="$LOCALIZE[20459]: $INFO[ListItem.Tag]" />
240                                                 <param name="visible" value="!String.IsEmpty(ListItem.Tag)" />
241                                         </include>
242                                         <include content="InfoDialogMetadata">
243                                                 <param name="control_id" value="160" />
244                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[126]: [/COLOR]$INFO[ListItem.Status]" />
245                                                 <param name="altlabel" value="$LOCALIZE[126]: $INFO[ListItem.Status]" />
246                                                 <param name="visible" value="!String.IsEmpty(ListItem.Status)" />
247                                         </include>
248                                         <include content="InfoDialogMetadata">
249                                                 <param name="control_id" value="161" />
250                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[570]: [/COLOR]$INFO[ListItem.DateAdded]" />
251                                                 <param name="altlabel" value="$LOCALIZE[570]: $INFO[ListItem.DateAdded]" />
252                                                 <param name="visible" value="!String.IsEmpty(ListItem.DateAdded) + [String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,musicvideo) | String.IsEqual(ListItem.DBType,video)]" />
253                                         </include>
254                                         <include content="InfoDialogMetadata">
255                                                 <param name="control_id" value="163" />
256                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[576]: [/COLOR]$INFO[ListItem.PlayCount]" />
257                                                 <param name="altlabel" value="$LOCALIZE[576]: $INFO[ListItem.PlayCount]" />
258                                                 <param name="visible" value="!String.IsEmpty(ListItem.PlayCount)" />
259                                         </include>
260                                         <include content="InfoDialogMetadata">
261                                                 <param name="control_id" value="164" />
262                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[568]: [/COLOR]$INFO[ListItem.LastPlayed]" />
263                                                 <param name="altlabel" value="$LOCALIZE[568]: $INFO[ListItem.LastPlayed]" />
264                                                 <param name="visible" value="!String.IsEmpty(ListItem.LastPlayed)" />
265                                         </include>
266                                         <include content="InfoDialogMetadata">
267                                                 <param name="control_id" value="165" />
268                                                 <param name="label" value="[COLOR button_focus]$LOCALIZE[564]: [/COLOR]$INFO[ListItem.DBType]" />
269                                                 <param name="altlabel" value="$LOCALIZE[564]: $INFO[ListItem.DBType]" />
270                                                 <param name="visible" value="!String.IsEmpty(ListItem.DBType)" />
271                                         </include>
272                                 </control>
273                                 <control type="group">
274                                         <visible>Integer.IsEqual(Container(50).NumItems,0) + String.IsEmpty(ListItem.Art(tvshow.banner)) + String.IsEmpty(ListItem.Art(banner))</visible>
275                                         <control type="image">
276                                                 <left>0</left>
277                                                 <top>164</top>
278                                                 <width>1245</width>
279                                                 <height>328</height>
280                                                 <texture border="21">dialogs/dialog-bg.png</texture>
281                                         </control>
282                                         <control type="textbox">
283                                                 <left>17</left>
284                                                 <top>185</top>
285                                                 <width>1210</width>
286                                                 <height>283</height>
287                                                 <align>center</align>
288                                                 <aligny>center</aligny>
289                                                 <font>font36_title</font>
290                                                 <label>$LOCALIZE[31079]</label>
291                                         </control>
292                                 </control>
293                                 <control type="image">
294                                         <left>77</left>
295                                         <top>185</top>
296                                         <width>1090</width>
297                                         <height>283</height>
298                                         <fadetime>150</fadetime>
299                                         <aspectratio>keep</aspectratio>
300                                         <texture>$VAR[BannerVar]</texture>
301                                         <visible>Integer.IsEqual(Container(50).NumItems,0)</visible>
302                                 </control>
303                                 <control type="panel" id="50">
304                                         <top>158</top>
305                                         <width>1235</width>
306                                         <height>370</height>
307                                         <onup condition="System.AddonIsEnabled(script.embuary.info) + Control.HasFocus(50) + !String.IsEqual(ListItem.DBType,set)">RunScript(script.embuary.info,call=person,query='$ESCINFO[Container(50).ListItem.Label]')</onup>
308                                         <onup condition="System.HasAddon(script.embuary.info) + !System.AddonIsEnabled(script.embuary.info) + !String.IsEqual(ListItem.DBType,set)">EnableAddon(script.embuary.info)</onup>
309                                         <onup condition="!System.HasAddon(script.embuary.info) + !String.IsEqual(ListItem.DBType,set)">InstallAddon(script.embuary.info)</onup>
310                                         <onleft>50</onleft>
311                                         <onright>50</onright>
312                                         <ondown>140</ondown>
313                                         <scrolltime>200</scrolltime>
314                                         <orientation>horizontal</orientation>
315                                         <itemlayout height="317" width="245" condition="!Container.Content(Sets)">
316                                                 <control type="group">
317                                                         <top>10</top>
318                                                         <control type="image">
319                                                                 <top>0</top>
320                                                                 <width>264</width>
321                                                                 <height>317</height>
322                                                                 <texture>DefaultActorSolid.png</texture>
323                                                                 <aspectratio aligny="center">scale</aspectratio>
324                                                                 <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
325                                                                 <bordersize>20</bordersize>
326                                                         </control>
327                                                         <control type="image">
328                                                                 <top>20</top>
329                                                                 <left>20</left>
330                                                                 <width>224</width>
331                                                                 <height>277</height>
332                                                                 <texture background="true">$INFO[ListItem.Thumb]</texture>
333                                                                 <aspectratio aligny="center">scale</aspectratio>
334                                                         </control>
335                                                         <control type="image">
336                                                                 <left>20</left>
337                                                                 <width>224</width>
338                                                                 <height>80</height>
339                                                                 <bottom>10</bottom>
340                                                                 <texture>overlays/overlayfade.png</texture>
341                                                                 <animation effect="fade" start="100" end="80" time="0" condition="true">Conditional</animation>
342                                                         </control>
343                                                         <control type="label">
344                                                                 <left>25</left>
345                                                                 <width>214</width>
346                                                                 <height>67</height>
347                                                                 <top>218</top>
348                                                                 <align>center</align>
349                                                                 <aligny>center</aligny>
350                                                                 <font>font12</font>
351                                                                 <label>$INFO[ListItem.Label]</label>
352                                                         </control>
353                                                         <control type="label">
354                                                                 <left>25</left>
355                                                                 <width>214</width>
356                                                                 <height>67</height>
357                                                                 <top>245</top>
358                                                                 <align>center</align>
359                                                                 <aligny>center</aligny>
360                                                                 <font>font12</font>
361                                                                 <textcolor>grey</textcolor>
362                                                                 <label>$INFO[ListItem.Label2]</label>
363                                                         </control>
364                                                 </control>
365                                         </itemlayout>
366                                         <focusedlayout height="317" width="245" condition="!Container.Content(Sets)">
367                                                 <control type="group">
368                                                         <left>0</left>
369                                                         <top>10</top>
370                                                         <control type="image">
371                                                                 <top>0</top>
372                                                                 <width>264</width>
373                                                                 <height>317</height>
374                                                                 <texture>DefaultActorSolid.png</texture>
375                                                                 <aspectratio aligny="center">scale</aspectratio>
376                                                                 <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
377                                                                 <bordersize>20</bordersize>
378                                                         </control>
379                                                         <control type="image">
380                                                                 <top>20</top>
381                                                                 <left>20</left>
382                                                                 <width>224</width>
383                                                                 <height>277</height>
384                                                                 <texture background="true">$INFO[ListItem.Thumb]</texture>
385                                                                 <aspectratio aligny="center">scale</aspectratio>
386                                                         </control>
387                                                         <control type="image">
388                                                                 <left>20</left>
389                                                                 <width>224</width>
390                                                                 <height>80</height>
391                                                                 <bottom>10</bottom>
392                                                                 <texture>overlays/overlayfade.png</texture>
393                                                                 <animation effect="fade" start="100" end="80" time="0" condition="true">Conditional</animation>
394                                                         </control>
395                                                         <control type="label">
396                                                                 <left>25</left>
397                                                                 <width>214</width>
398                                                                 <height>67</height>
399                                                                 <top>218</top>
400                                                                 <align>center</align>
401                                                                 <aligny>center</aligny>
402                                                                 <font>font12</font>
403                                                                 <scroll>true</scroll>
404                                                                 <label>$INFO[ListItem.Label]</label>
405                                                         </control>
406                                                         <control type="label">
407                                                                 <left>25</left>
408                                                                 <width>214</width>
409                                                                 <height>67</height>
410                                                                 <top>245</top>
411                                                                 <align>center</align>
412                                                                 <aligny>center</aligny>
413                                                                 <font>font12</font>
414                                                                 <textcolor>grey</textcolor>
415                                                                 <scroll>true</scroll>
416                                                                 <label>$INFO[ListItem.Label2]</label>
417                                                         </control>
418                                                         <control type="image">
419                                                                 <left>16</left>
420                                                                 <top>16</top>
421                                                                 <width>232</width>
422                                                                 <height>285</height>
423                                                                 <texture border="8" colordiffuse="button_focus">buttons/thumbnail_focused.png</texture>
424                                                         </control>
425                                                 </control>
426                                         </focusedlayout>
427                                         <itemlayout height="319" width="205" condition="Container.Content(Sets)">
428                                                 <control type="group">
429                                                         <left>0</left>
430                                                         <top>10</top>
431                                                         <control type="image">
432                                                                 <top>0</top>
433                                                                 <width>226</width>
434                                                                 <height>319</height>
435                                                                 <texture>DefaultMovies.png</texture>
436                                                                 <aspectratio aligny="center">scale</aspectratio>
437                                                                 <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
438                                                                 <bordersize>20</bordersize>
439                                                         </control>
440                                                         <control type="image">
441                                                                 <top>20</top>
442                                                                 <left>20</left>
443                                                                 <width>186</width>
444                                                                 <height>279</height>
445                                                                 <texture background="true">$INFO[ListItem.Art(poster)]</texture>
446                                                                 <aspectratio aligny="center">scale</aspectratio>
447                                                         </control>
448                                                         <control type="image">
449                                                                 <left>20</left>
450                                                                 <width>186</width>
451                                                                 <height>180</height>
452                                                                 <bottom>10</bottom>
453                                                                 <texture>overlays/overlayfade.png</texture>
454                                                                 <animation effect="fade" start="100" end="80" time="0" condition="true">Conditional</animation>
455                                                                 <visible>String.IsEmpty(ListItem.Art(poster))</visible>
456                                                         </control>
457                                                         <control type="textbox">
458                                                                 <left>25</left>
459                                                                 <width>166</width>
460                                                                 <height>84</height>
461                                                                 <top>210</top>
462                                                                 <align>center</align>
463                                                                 <aligny>center</aligny>
464                                                                 <font>font23_narrow</font>
465                                                                 <label>$INFO[ListItem.Label]</label>
466                                                                 <visible>String.IsEmpty(ListItem.Art(poster))</visible>
467                                                         </control>
468                                                 </control>
469                                         </itemlayout>
470                                         <focusedlayout height="319" width="205" condition="Container.Content(Sets)">
471                                                 <control type="group">
472                                                         <left>0</left>
473                                                         <top>10</top>
474                                                         <control type="image">
475                                                                 <top>0</top>
476                                                                 <width>226</width>
477                                                                 <height>319</height>
478                                                                 <texture>DefaultMovies.png</texture>
479                                                                 <aspectratio aligny="center">scale</aspectratio>
480                                                                 <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
481                                                                 <bordersize>20</bordersize>
482                                                         </control>
483                                                         <control type="image">
484                                                                 <top>20</top>
485                                                                 <left>20</left>
486                                                                 <width>186</width>
487                                                                 <height>279</height>
488                                                                 <texture background="true">$INFO[ListItem.Art(poster)]</texture>
489                                                                 <aspectratio aligny="center">scale</aspectratio>
490                                                         </control>
491                                                         <control type="image">
492                                                                 <left>20</left>
493                                                                 <width>186</width>
494                                                                 <height>180</height>
495                                                                 <bottom>10</bottom>
496                                                                 <texture>overlays/overlayfade.png</texture>
497                                                                 <animation effect="fade" start="100" end="80" time="0" condition="true">Conditional</animation>
498                                                                 <visible>String.IsEmpty(ListItem.Art(poster))</visible>
499                                                         </control>
500                                                         <control type="textbox">
501                                                                 <left>25</left>
502                                                                 <width>166</width>
503                                                                 <height>84</height>
504                                                                 <top>210</top>
505                                                                 <align>center</align>
506                                                                 <aligny>center</aligny>
507                                                                 <font>font23_narrow</font>
508                                                                 <label>$INFO[ListItem.Label]</label>
509                                                                 <visible>String.IsEmpty(ListItem.Art(poster))</visible>
510                                                         </control>
511                                                         <control type="image">
512                                                                 <left>16</left>
513                                                                 <top>16</top>
514                                                                 <width>194</width>
515                                                                 <height>287</height>
516                                                                 <texture border="8" colordiffuse="button_focus">buttons/thumbnail_focused.png</texture>
517                                                         </control>
518                                                 </control>
519                                         </focusedlayout>
520                                 </control>
521                                 <control type="grouplist" id="5000">
522                                         <left>0</left>
523                                         <top>864</top>
524                                         <width>1246</width>
525                                         <height>400</height>
526                                         <onleft>5000</onleft>
527                                         <onright>5000</onright>
528                                         <onup>140</onup>
529                                         <ondown condition="!Integer.IsGreater(Container(5000).Position,4)">SetFocus(50,$INFO[Container(5000).Position])</ondown>
530                                         <ondown condition="Integer.IsGreater(Container(5000).Position,4)">SetFocus(50,4)</ondown>
531                                         <itemgap>-18</itemgap>
532                                         <align>center</align>
533                                         <orientation>horizontal</orientation>
534                                         <scrolltime tween="quadratic">200</scrolltime>
535                                         <include content="InfoDialogToggleButton">
536                                                 <param name="id" value="8" />
537                                                 <param name="icon_on" value="icons/filemanager.png" />
538                                                 <param name="icon_off" value="icons/infodialogs/play.png" />
539                                                 <param name="selected" value="String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,set)" />
540                                                 <param name="label" value="$VAR[VideoInfoPlayButtonLabelVar]" />
541                                         </include>
542                                         <include content="InfoDialogButton">
543                                                 <param name="id" value="11" />
544                                                 <param name="icon" value="icons/infodialogs/trailer.png" />
545                                                 <param name="label" value="$LOCALIZE[20410]" />
546                                                 <param name="visible" value="!String.IsEmpty(ListItem.Trailer) + ![String.StartsWith(Container.FolderPath,plugin://) + String.Contains(Container.FolderPath,trailer)]" />
547                                         </include>
548                                         <include content="InfoDialogButton">
549                                                 <param name="id" value="441" />
550                                                 <param name="icon" value="icons/infodialogs/cinema.png" />
551                                                 <param name="onclick_1" value="Dialog.Close(MovieInformation)" />
552                                                 <param name="onclick_2" value="RunScript(script.cinemavision,experience)" />
553                                                 <param name="label" value="$LOCALIZE[31003]" />
554                                                 <param name="visible" value="System.AddonIsEnabled(script.cinemavision) + [String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,episode)]" />
555                                         </include>
556                                         <control type="group" id="400">
557                                                 <width>264</width>
558                                                 <visible>Control.IsEnabled(7) | !String.IsEmpty(ListItem.UserRating)</visible>
559                                                 <control type="button" id="7">
560                                                         <include content="VideoInfoButtonsCommon">
561                                                                 <param name="icon" value="" />
562                                                         </include>
563                                                         <label>$LOCALIZE[31033]</label>
564                                                         <onleft>441</onleft>
565                                                         <onright>101</onright>
566                                                         <onup>140</onup>
567                                                         <enable>String.IsEmpty(Container.PluginName) + !Container.Content(Sets)</enable>
568                                                         <ondown condition="Integer.IsEqual(Container(5000).CurrentItem,1)">SetFocus(50,0)</ondown>
569                                                         <ondown condition="Integer.IsEqual(Container(5000).CurrentItem,2)">SetFocus(50,1)</ondown>
570                                                         <ondown condition="Integer.IsEqual(Container(5000).CurrentItem,3)">SetFocus(50,2)</ondown>
571                                                         <ondown condition="Integer.IsEqual(Container(5000).CurrentItem,4)">SetFocus(50,3)</ondown>
572                                                         <ondown condition="Integer.IsEqual(Container(5000).CurrentItem,5)">SetFocus(50,4)</ondown>
573                                                 </control>
574                                                 <control type="label">
575                                                         <label>$INFO[ListItem.UserRating]</label>
576                                                         <font>font45_title</font>
577                                                         <left>0</left>
578                                                         <top>24</top>
579                                                         <width>264</width>
580                                                         <align>center</align>
581                                                 </control>
582                                                 <control type="image">
583                                                         <texture>icons/infodialogs/rating.png</texture>
584                                                         <left>108</left>
585                                                         <top>30</top>
586                                                         <width>48</width>
587                                                         <height>48</height>
588                                                         <align>center</align>
589                                                         <visible>String.IsEmpty(ListItem.UserRating)</visible>
590                                                 </control>
591                                         </control>
592                                         <include content="InfoDialogButton">
593                                                 <param name="id" value="101" />
594                                                 <param name="icon" value="icons/infodialogs/info.png" />
595                                                 <param name="label" value="$LOCALIZE[31034]" />
596                                                 <param name="onclick_1_condition" value="!String.IsEmpty(ListItem.DBID) + String.IsEqual(ListItem.DBType,movie)" />
597                                                 <param name="onclick_1" value="RunScript(script.embuary.info,call=movie,dbid=$INFO[ListItem.DBID])" />
598                                                 <param name="onclick_2_condition" value="!String.IsEmpty(ListItem.DBID) + String.IsEqual(ListItem.DBType,tvshow)" />
599                                                 <param name="onclick_2" value="RunScript(script.embuary.info,call=tv,dbid=$INFO[ListItem.DBID])" />
600                                                 <param name="onclick_3_condition" value="!String.IsEmpty(ListItem.DBID) + String.IsEqual(ListItem.DBType,episode)" />
601                                                 <param name="onclick_3" value="RunScript(script.embuary.info,call=tv,query='$ESCINFO[ListItem.TVShowTitle]',year=$INFO[ListItem.Year])" />
602                                                 <param name="visible" value="System.AddonIsEnabled(script.embuary.info) + !String.IsEmpty(ListItem.DBID) + [String.IsEqual(ListItem.DbType,movie) | String.IsEqual(ListItem.DbType,tvshow) | String.IsEqual(ListItem.DbType,episode)]" />
603                                         </include>
604                                         <include content="InfoDialogButton">
605                                                 <param name="id" value="102" />
606                                                 <param name="icon" value="icons/infodialogs/image.png" />
607                                                 <param name="label" value="$LOCALIZE[31028]" />
608                                                 <param name="onclick_1" value="SetProperty(fanart,$ESCINFO[ListItem.Art(fanart)],home)" />
609                                                 <param name="onclick_2" value="ActivateWindow(1104)" />
610                                                 <param name="visible" value="!String.IsEmpty(ListItem.Art(fanart))" />
611                                         </include>
612                                         <include content="InfoDialogButton">
613                                                 <param name="id" value="13" />
614                                                 <param name="icon" value="icons/infodialogs/director.png" />
615                                                 <param name="label" value="$LOCALIZE[31123]" />
616                                                 <param name="visible" value="!String.IsEmpty(ListItem.Director)" />
617                                         </include>
618                                         <include content="InfoDialogButton">
619                                                 <param name="id" value="999" />
620                                                 <param name="icon" value="DefaultMusicAlbums.png" />
621                                                 <param name="onclick_1" value="Dialog.Close(all,true)" />
622                                                 <param name="onclick_2" value="ActivateWindow(Music,musicdb://albums/?artist=$INFO[ListItem.Artist]&amp;albumartistonly=true&amp;compilation=false)" />
623                                                 <param name="label" value="$LOCALIZE[132]" />
624                                                 <param name="visible" value="String.IsEqual(ListItem.DBType,musicvideo)" />
625                                         </include>
626                                         <include content="InfoDialogButton">
627                                                 <param name="id" value="14" />
628                                                 <param name="icon" value="icons/infodialogs/versions.png" />
629                                                 <param name="label" value="$LOCALIZE[40000]" />
630                                                 <param name="visible" value="String.IsEqual(ListItem.DBType,movie)" />
631                                         </include>
632                                         <include content="InfoDialogButton">
633                                                 <param name="id" value="15" />
634                                                 <param name="icon" value="icons/infodialogs/extras.png" />
635                                                 <param name="label" value="$LOCALIZE[40211]" />
636                                                 <param name="visible" value="String.IsEqual(ListItem.DBType,movie)" />
637                                         </include>
638                                         <include content="InfoDialogButton">
639                                                 <param name="id" value="443" />
640                                                 <param name="icon" value="icons/infodialogs/set.png" />
641                                                 <param name="label" value="$LOCALIZE[20457]" />
642                                                 <param name="onclick_1" value="Dialog.Close(all,true)" />
643                                                 <param name="onclick_2" value="ActivateWindow(Videos,videodb://movies/sets/$INFO[ListItem.SetId]/?setid=$INFO[ListItem.SetId])" />
644                                                 <param name="visible" value="!String.IsEmpty(ListItem.SetID)" />
645                                         </include>
646                                         <include content="InfoDialogButton">
647                                                 <param name="id" value="10" />
648                                                 <param name="icon" value="icons/infodialogs/choose_image.png" />
649                                                 <param name="label" value="$LOCALIZE[13511]" />
650                                                 <param name="visible" value="Control.IsEnabled(10)" />
651                                         </include>
652                                         <include content="InfoDialogButton">
653                                                 <param name="id" value="6" />
654                                                 <param name="icon" value="icons/infodialogs/update.png" />
655                                                 <param name="label" value="$LOCALIZE[184]" />
656                                                 <param name="visible" value="Control.IsEnabled(6)" />
657                                         </include>
658                                 </control>
659                                 <include content="LeftRightArrows">
660                                         <param name="list_id" value="5000" />
661                                         <param name="left_posx" value="-15" />
662                                         <param name="right_posx" value="1240" />
663                                         <param name="posy" value="924" />
664                                         <param name="visible" value="true" />
665                                 </include>
666                                 <include content="LeftRightArrows">
667                                         <param name="list_id" value="50" />
668                                         <param name="left_posx" value="-15" />
669                                         <param name="right_posx" value="1240" />
670                                         <param name="posy" value="320" />
671                                         <param name="visible" value="true" />
672                                 </include>
673                         </control>
674                         <control type="label">
675                                 <right>80</right>
676                                 <top>970</top>
677                                 <align>right</align>
678                                 <width>1400</width>
679                                 <height>44</height>
680                                 <font>font20_title</font>
681                                 <textcolor>99FFFFFF</textcolor>
682                                 <shadowcolor>text_shadow</shadowcolor>
683                                 <haspath>true</haspath>
684                                 <label>$VAR[VideoInfoBottomLabelVar]</label>
685                                 <visible>Control.HasFocus(6)</visible>
686                                 <animation effect="fade" start="0" end="100" time="300" delay="300">WindowOpen</animation>
687                                 <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
688                                 <animation effect="fade" start="0" end="100" time="300">Visible</animation>
689                                 <animation effect="fade" start="100" end="0" time="200">Hidden</animation>
690                         </control>
691                         <include content="InfoDialogTopBarInfo">
692                                 <param name="main_label" value="$VAR[VideoInfoMainLabelVar]" />
693                                 <param name="sub_label" value="$VAR[VideoInfoSubLabelVar]" />
694                         </include>
695                 </control>
696                 <control type="group">
697                         <animation effect="fade" start="0" end="100" time="300" delay="300">WindowOpen</animation>
698                         <animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
699                         <animation effect="fade" start="100" end="0" time="200" tween="sine" condition="Window.IsVisible(script-embuary-video.xml) | Window.IsVisible(script-embuary-person.xml) | Window.IsVisible(script-embuary-image.xml)">Conditional</animation>
700                         <centerleft>50%</centerleft>
701                         <width>1920</width>
702                         <bottom>0</bottom>
703                         <height>70</height>
704                         <include>MediaFlags</include>
705                         <control type="group">
706                                 <visible>Control.HasFocus(50) + !String.IsEqual(ListItem.DBType,set)</visible>
707                                 <animation effect="fade" time="200">VisibleChange</animation>
708                                 <top>10</top>
709                                 <left>0</left>
710                                 <control type="image">
711                                         <left>21</left>
712                                         <width>36</width>
713                                         <height>36</height>
714                                         <animation effect="rotate" end="-90" center="36,19" time="0" condition="true">Conditional</animation>
715                                         <texture colordiffuse="grey">frame/menu-nofo.png</texture>
716                                 </control>
717                                 <control type="label">
718                                         <left>74</left>
719                                         <width>500</width>
720                                         <height>44</height>
721                                         <shadowcolor>text_shadow</shadowcolor>
722                                         <label>$LOCALIZE[31125]</label>
723                                 </control>
724                         </control>
725                         <control type="group">
726                                 <visible>Control.HasFocus(138)</visible>
727                                 <animation effect="fade" time="200">VisibleChange</animation>
728                                 <top>10</top>
729                                 <left>0</left>
730                                 <control type="image">
731                                         <top>4</top>
732                                         <left>17</left>
733                                         <width>36</width>
734                                         <height>36</height>
735                                         <texture colordiffuse="grey">lists/played-total.png</texture>
736                                 </control>
737                                 <control type="label">
738                                         <left>74</left>
739                                         <width>800</width>
740                                         <height>44</height>
741                                         <shadowcolor>text_shadow</shadowcolor>
742                                         <label>$LOCALIZE[31126]</label>
743                                 </control>
744                         </control>
745                 </control>
746                 <include condition="Skin.HasSetting(touchmode)">TouchBackButton</include>
747         </controls>
748 </window>