[WASAPI] use silent buffer flag for initial silent frames.
[xbmc.git] / addons / skin.estuary / xml / DialogSeekBar.xml
blob958757d98bfa115e9a4caa116e7dbcb1b27acbab
1 <?xml version="1.0" encoding="UTF-8"?>
2 <window>
3         <visible>Window.IsActive(fullscreenvideo) | Window.IsActive(visualisation)</visible>
4         <visible>![Window.IsActive(sliderdialog) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide) | Window.IsActive(pvrguideinfo) | Window.IsActive(1110)]</visible>
5         <visible>Player.Seeking | Player.HasPerformedSeek(3) | [Player.Paused + !Player.Caching] | Player.Forwarding | Player.Rewinding | Player.ShowInfo | Window.IsActive(fullscreeninfo) | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | !String.IsEmpty(Player.SeekNumeric) | !String.IsEmpty(PVR.ChannelNumberInput)</visible>
6         <include>Animation_BottomSlide</include>
7         <depth>DepthOSD</depth>
8         <zorder>0</zorder>
9         <controls>
10                 <include>PVRChannelNumberInput</include>
11                 <control type="group">
12                         <animation effect="slide" start="0,200" end="0,0" time="300" tween="cubic" easing="out">VisibleChange</animation>
13                         <visible>Player.ShowInfo | Window.IsActive(fullscreeninfo) | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide) | ![!String.IsEmpty(Player.SeekNumeric) | Player.Seeking | Player.HasPerformedSeek(3) | Player.Forwarding | Player.Rewinding | Player.Paused] | !String.IsEmpty(PVR.ChannelNumberInput)</visible>
14                         <visible>!Player.HasGame</visible>
15                         <bottom>0</bottom>
16                         <height>190</height>
17                         <control type="image">
18                                 <left>-40</left>
19                                 <width>120%</width>
20                                 <height>200</height>
21                                 <texture flipy="true">frame/osdfade.png</texture>
22                         </control>
23                         <control type="group">
24                                 <visible>!Window.IsVisible(videoosd) + !Window.IsVisible(musicosd)</visible>
25                                 <animation effect="fade" time="200">VisibleChange</animation>
26                                 <control type="grouplist">
27                                         <visible>[PVR.IsRecordingPlayingChannel + !Player.ChannelPreviewActive] | PVR.IsPlayingActiveRecording</visible>
28                                         <left>20</left>
29                                         <centertop>125</centertop>
30                                         <height>60</height>
31                                         <align>left</align>
32                                         <orientation>horizontal</orientation>
33                                         <itemgap>-5</itemgap>
34                                         <control type="image">
35                                                 <top>100</top>
36                                                 <left>20</left>
37                                                 <width>60</width>
38                                                 <height>60</height>
39                                                 <aligny>center</aligny>
40                                                 <texture>osd/fullscreen/buttons/record.png</texture>
41                                         </control>
42                                         <control type="label">
43                                                 <top>110</top>
44                                                 <left>90</left>
45                                                 <width>400</width>
46                                                 <height>60</height>
47                                                 <aligny>center</aligny>
48                                                 <font>font25_title</font>
49                                                 <label>[COLOR red][B]$LOCALIZE[19158][/B][/COLOR]</label>
50                                         </control>
51                                 </control>
52                                 <control type="group">
53                                         <top>195</top>
54                                         <include condition="!Skin.HasSetting(hide_mediaflags)">MediaFlags</include>
55                                 </control>
56                         </control>
57                         <control type="label">
58                                 <centerleft>50%</centerleft>
59                                 <centertop>120</centertop>
60                                 <width>50%</width>
61                                 <height>60</height>
62                                 <align>center</align>
63                                 <aligny>top</aligny>
64                                 <label>$VAR[SeekTimeLabelVar]</label>
65                                 <font>font45</font>
66                                 <shadowcolor>black</shadowcolor>
67                                 <visible>!Player.ChannelPreviewActive | VideoPlayer.HasEpg</visible>
68                         </control>
69                         <control type="label" id="40000">
70                                 <centerleft>50%</centerleft>
71                                 <centertop>175</centertop>
72                                 <width>380</width>
73                                 <height>60</height>
74                                 <align>center</align>
75                                 <aligny>top</aligny>
76                                 <label>$VAR[SeekLabel]</label>
77                                 <font>font13</font>
78                                 <shadowcolor>black</shadowcolor>
79                         </control>
80                         <control type="group">
81                                 <visible>VideoPlayer.Content(LiveTV)</visible>
82                                 <control type="group">
83                                         <visible>Player.SeekEnabled + VideoPlayer.HasEPG</visible>
84                                         <include content="PVRProgress">
85                                                 <param name="ts_bar_top" value="70"/>
86                                                 <param name="epg_bar_top" value="78"/>
87                                                 <param name="ts_bar_height" value="8"/>
88                                                 <param name="epg_bar_height" value="8"/>
89                                         </include>
90                                 </control>
91                                 <control type="group">
92                                         <visible>Player.SeekEnabled + !VideoPlayer.HasEPG</visible>
93                                         <include content="PVRProgress">
94                                                 <param name="ts_bar_top" value="70"/>
95                                                 <param name="ts_bar_height" value="16"/>
96                                         </include>
97                                 </control>
98                                 <control type="group">
99                                         <visible>!Player.SeekEnabled + VideoPlayer.HasEPG</visible>
100                                         <include content="PVRProgress">
101                                                 <param name="epg_bar_top" value="70"/>
102                                                 <param name="epg_bar_height" value="16"/>
103                                         </include>
104                                 </control>
105                                 <control type="group">
106                                         <visible>!Player.SeekEnabled + !VideoPlayer.HasEPG</visible>
107                                         <include content="PVRProgress"/>
108                                 </control>
109                                 <control type="slider" id="403">
110                                         <left>0</left>
111                                         <top>65</top>
112                                         <width>100%</width>
113                                         <height>26</height>
114                                         <texturesliderbar colordiffuse="00FFFFFF">osd/progress/nub_bar.png</texturesliderbar>
115                                         <textureslidernib colordiffuse="button_focus">osd/progress/nub_bar.png</textureslidernib>
116                                         <textureslidernibfocus colordiffuse="button_focus">colors/white.png</textureslidernibfocus>
117                                         <visible>Player.SeekEnabled + !Player.ChannelPreviewActive</visible>
118                                 </control>
119                         </control>
120                         <control type="group">
121                                 <visible>!VideoPlayer.Content(LiveTV)</visible>
122                                 <control type="progress">
123                                         <left>0</left>
124                                         <top>70</top>
125                                         <width>100%</width>
126                                         <height>16</height>
127                                         <info>Player.ProgressCache</info>
128                                         <texturebg border="3" colordiffuse="00FFFFFF">colors/white50.png</texturebg>
129                                         <midtexture>colors/white50.png</midtexture>
130                                 </control>
131                                 <control type="progress">
132                                         <left>0</left>
133                                         <top>70</top>
134                                         <width>100%</width>
135                                         <height>16</height>
136                                         <info>Player.Progress</info>
137                                         <texturebg border="3" colordiffuse="60FFFFFF">colors/white50.png</texturebg>
138                                         <midtexture colordiffuse="button_focus">colors/white.png</midtexture>
139                                 </control>
140                                 <control type="slider" id="401">
141                                         <left>0</left>
142                                         <top>65</top>
143                                         <width>100%</width>
144                                         <height>26</height>
145                                         <texturesliderbar colordiffuse="00FFFFFF">osd/progress/nub_bar.png</texturesliderbar>
146                                         <textureslidernib colordiffuse="button_focus">osd/progress/nub_bar.png</textureslidernib>
147                                         <textureslidernibfocus colordiffuse="button_focus">colors/white.png</textureslidernibfocus>
148                                         <visible>Player.SeekEnabled</visible>
149                                 </control>
150                         </control>
151                         <control type="ranges">
152                                 <left>0</left>
153                                 <top>70</top>
154                                 <width>100%</width>
155                                 <height>8</height>
156                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/white50.png</texturebg>
157                                 <lefttexture>colors/white.png</lefttexture>
158                                 <midtexture colordiffuse="FFFF0000">colors/white.png</midtexture>
159                                 <righttexture>colors/white.png</righttexture>
160                                 <info>Player.Editlist</info>
161                         </control>
162                         <control type="ranges">
163                                 <left>0</left>
164                                 <top>82</top>
165                                 <width>100%</width>
166                                 <height>8</height>
167                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/red50.png</texturebg>
168                                 <righttexture>colors/red.png</righttexture>
169                                 <info>Player.Cuts</info>
170                         </control>
171                         <control type="ranges">
172                                 <left>0</left>
173                                 <top>82</top>
174                                 <width>100%</width>
175                                 <height>4</height>
176                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/white50.png</texturebg>
177                                 <righttexture>colors/white.png</righttexture>
178                                 <info>Player.SceneMarkers</info>
179                         </control>
180                         <control type="ranges">
181                                 <left>0</left>
182                                 <top>82</top>
183                                 <width>100%</width>
184                                 <height>4</height>
185                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/white50.png</texturebg>
186                                 <righttexture>colors/white.png</righttexture>
187                                 <info>Player.Chapters</info>
188                         </control>
189                 </control>
190                 <control type="group">
191                         <visible>!Window.IsVisible(playerprocessinfo)</visible>
192                         <visible>[Player.ShowInfo | Window.IsActive(fullscreeninfo)] + VideoPlayer.Content(LiveTV)</visible>
193                         <visible>Player.ShowInfo | Window.IsActive(fullscreeninfo) | !Player.Seeking | !Player.HasPerformedSeek(3) | !Player.Forwarding | !Player.Rewinding | !Player.Paused</visible>
194                         <animation effect="fade" start="0" end="100" time="300" delay="250">Visible</animation>
195                         <animation effect="fade" start="100" end="0" time="100">Hidden</animation>
196                         <animation effect="slide" end="0,-20" time="150" condition="VideoPlayer.Content(LiveTV)">conditional</animation>
197                         <bottom>0</bottom>
198                         <height>380</height>
199                         <control type="label">
200                                 <left>20</left>
201                                 <width>80%</width>
202                                 <top>-200</top>
203                                 <height>25</height>
204                                 <label>$INFO[VideoPlayer.ChannelName]</label>
205                                 <shadowcolor>text_shadow</shadowcolor>
206                                 <font>font45_title</font>
207                         </control>
208                         <control type="label">
209                                 <left>20</left>
210                                 <width>290</width>
211                                 <top>-160</top>
212                                 <height>25</height>
213                                 <label>$INFO[VideoPlayer.ChannelNumberLabel]</label>
214                                 <shadowcolor>text_shadow</shadowcolor>
215                                 <font>WeatherTemp</font>
216                         </control>
217                         <control type="image">
218                                 <left>0</left>
219                                 <width>100%</width>
220                                 <height>240</height>
221                                 <texture>dialogs/dialog-bg-nobo.png</texture>
222                         </control>
223                         <control type="image">
224                                 <left>20</left>
225                                 <top>20</top>
226                                 <width>200</width>
227                                 <height>200</height>
228                                 <aspectratio aligny="center">keep</aspectratio>
229                                 <texture>$INFO[Player.Icon]</texture>
230                         </control>
231                         <control type="textbox">
232                                 <left>240</left>
233                                 <top>10</top>
234                                 <right>20</right>
235                                 <height>160</height>
236                                 <label fallback="19055">$INFO[VideoPlayer.Plot]</label>
237                                 <align>justify</align>
238                                 <autoscroll delay="5000" repeat="7500" time="5000"></autoscroll>
239                                 <visible>String.IsEmpty(PVR.EpgEventIcon)</visible>
240                         </control>
241                         <control type="textbox">
242                                 <left>240</left>
243                                 <top>10</top>
244                                 <right>240</right>
245                                 <height>160</height>
246                                 <label fallback="19055">$INFO[VideoPlayer.Plot]</label>
247                                 <align>justify</align>
248                                 <autoscroll delay="5000" repeat="7500" time="5000"></autoscroll>
249                                 <visible>!String.IsEmpty(PVR.EpgEventIcon)</visible>
250                         </control>
251                         <control type="image">
252                                 <right>20</right>
253                                 <top>20</top>
254                                 <width>200</width>
255                                 <height>200</height>
256                                 <aspectratio aligny="center">keep</aspectratio>
257                                 <texture fallback="DefaultTVShows.png">$INFO[PVR.EpgEventIcon]</texture>
258                                 <visible>!String.IsEmpty(PVR.EpgEventIcon)</visible>
259                         </control>
260                         <control type="label">
261                                 <left>240</left>
262                                 <top>180</top>
263                                 <right>20</right>
264                                 <height>25</height>
265                                 <label>$VAR[OSDNextLabelVar]</label>
266                                 <visible>VideoPlayer.HasEpg + !RDS.HasRadioText</visible>
267                         </control>
268                         <control type="label">
269                                 <left>240</left>
270                                 <top>180</top>
271                                 <height>25</height>
272                                 <label>[COLOR grey]$LOCALIZE[14304]: [/COLOR]$INFO[RDS.GetLine(0)]</label>
273                                 <visible>RDS.HasRadioText</visible>
274                         </control>
275                 </control>
276                 <control type="group">
277                         <visible>!Window.IsVisible(playerprocessinfo)</visible>
278                         <visible>[Player.ShowInfo | Window.IsActive(fullscreeninfo)] + !VideoPlayer.Content(LiveTV) + Window.IsActive(fullscreenvideo)</visible>
279                         <visible>Player.ShowInfo | Window.IsActive(fullscreeninfo) | !Player.Seeking | !Player.HasPerformedSeek(3) | !Player.Forwarding | !Player.Rewinding | !Player.Paused</visible>
280                         <animation effect="fade" start="0" end="100" time="300" delay="250">Visible</animation>
281                         <animation effect="fade" start="100" end="0" time="100">Hidden</animation>
282                         <bottom>0</bottom>
283                         <height>470</height>
284                         <control type="image">
285                                 <left>0</left>
286                                 <width>100%</width>
287                                 <height>330</height>
288                                 <texture>dialogs/dialog-bg-nobo.png</texture>
289                         </control>
290                         <control type="image">
291                                 <depth>DepthOSD+</depth>
292                                 <left>10</left>
293                                 <bottom>145</bottom>
294                                 <width>400</width>
295                                 <height>600</height>
296                                 <aspectratio aligny="bottom">keep</aspectratio>
297                                 <texture fallback="DefaultVideo.png" background="true">$VAR[NowPlayingPosterVar]</texture>
298                                 <bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
299                                 <bordersize>20</bordersize>
300                                 <include>OpenClose_Left</include>
301                         </control>
302                         <control type="grouplist">
303                                 <left>420</left>
304                                 <top>10</top>
305                                 <right>20</right>
306                                 <height>300</height>
307                                 <align>left</align>
308                                 <orientation>vertical</orientation>
309                                 <itemgap>10</itemgap>
310                                 <control type="textbox">
311                                         <height>294</height>
312                                         <label fallback="10005">$INFO[VideoPlayer.Tagline,[B],[/B][CR]]$INFO[VideoPlayer.Plot]</label>
313                                         <align>left</align>
314                                         <autoscroll delay="5000" repeat="7500" time="5000"></autoscroll>
315                                         <visible>Integer.IsGreaterOrEqual(Playlist.Position(video), Playlist.Length(video))</visible>
316                                 </control>
317                                 <control type="textbox">
318                                         <height>250</height>
319                                         <label fallback="10005">$INFO[VideoPlayer.Tagline,[B],[/B][CR]]$INFO[VideoPlayer.Plot]</label>
320                                         <align>left</align>
321                                         <autoscroll delay="5000" repeat="7500" time="5000"></autoscroll>
322                                         <visible>Integer.IsLess(Playlist.Position(video), Playlist.Length(video))</visible>
323                                 </control>
324                                 <control type="label">
325                                         <height>50</height>
326                                         <label>$VAR[OSDNextLabelVar]</label>
327                                         <visible>Integer.IsLess(Playlist.Position(video), Playlist.Length(video))</visible>
328                                 </control>
329                         </control>
330                 </control>
331         </controls>
332 </window>