blob: 5eca045376c3e4453c692b1fac64379c395cf31d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
<menuschedules x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="55%" scaletvy="10%" scaletvwidth="40%" scaletvheight="40%" >
<!-- Available Variables header:
{title} title of current menu
{vdrversion} running VDR Version
{hasicon} true if a menu icon is available
{icon} path of menu icon
{channelnumber} Number of Channel of current event
{channelname} Name of current Channel of current event
{channellogoexists} true if a channel logo exists
{channelid} ChannelID as path to display channel logo
{whatson} true if menu "What's on" is displayed
{whatsonnow} true if menu "What's on now" is displayed
{whatsonnext} true if menu "What's on next" is displayed
{whatsonfavorites} true if EPGSearch Favorites menu is displayed
-->
<header>
<area x="0" y="0" width="83%" height="8%" layer="3">
<drawtext condition="{whatsonnow}||{whatsonnext}||{whatsonfavorites}" x="5" valign="center" font="{semibold}" fontsize="100%" color="{clrWhite}" text="{title}" />
<drawimage name="logo" condition="{whatson}" imagetype="channellogo" path="{channelid}" x="1%" width="5%" height="90%" align="left" valign="center" />
<drawtext condition="{whatson}" x="{posx(logo)} + {width(logo)}+20" valign="center" font="{semibold}" fontsize="100%" color="{clrWhite}" text="{channelnumber} - {channelname}" />
</area>
</header>
<scrollbar>
<area x="52%" y="10%" width="2%" height="80%" layer="2">
<drawimage imagetype="skinpart" path="scrollbarback" x="0" y="0" width="100%" height="100%"/>
</area>
<area x="52%" y="10%" width="2%" height="80%" layer="3">
<drawimage imagetype="skinpart" path="scrollbar" x="0" y="{areaheight} * {offset} / 1000" width="100%" height="{areaheight} * {height} / 1000"/>
</area>
</scrollbar>
<menuitems x="1%" y="10%" orientation="vertical" width="98%" height="80%" align="center" numlistelements="{nummenuitems}">
<!-- Available Variables schedules menu listelement:
{nummenuitem} number of item in list, starts with 1
{title} title of event
{shorttext} shorttext of event
{start} event start time in hh::mm
{stop} event stop time
{day} day of current event
{date} date of current event in dd.mm.yy
{daynumeric} day as number
{month} month as number
{year} year as number
{running} true if event is currently running
{elapsed} elapsed time of event, if not running 0
{duration} duration of event
{durationhours} duration, full hours
{durationminutes} duration, rest of minutes
{current} true if item is currently selected
{separator} true if item is a list separator
{channelname} Channel Name
{channelnumber} Channel Number
{channelid} ChannelID as path to display channel logo
{channellogoexists} true if a channel logo exists
{whatson} true if menu "What's on" is displayed
{whatsonnow} true if menu "What's on now" is displayed
{whatsonnext} true if menu "What's on next" is displayed
{whatsonfavorites} true if EPGSearch Favorites menu is displayed
{timerpartitial} true if partitial timer is set for the event
{timerfull} true if full timer is set for the event
{hasVPS} true if event has VPS information
-->
<listelement>
<area x="0" width="51%" layer="2">
<drawimage condition="not{current}" imagetype="skinpart" path="menubutton" x="0" y="0" width="100%" height="100%"/>
<drawimage condition="{current}" imagetype="skinpart" path="menubuttonactive" x="0" y="0" width="100%" height="100%"/>
</area>
<!-- progress bar for running -->
<area condition="{running}" x="25%" width="25%" layer="4">
<drawimage imagetype="skinpart" path="progressbarback" x="0" y="10%" width="100%" height="20%"/>
</area>
<area condition="{running}" x="25%" width="25%" layer="5">
<drawimage imagetype="skinpart" path="progressbar" x="{areaheight}*0.1" y="10%" width="{elapsed}/{duration}*{areawidth} - {elapsed}/{duration}*{areaheight}*0.2" height="20%"/>
</area>
<area condition="{running}" x="25%" width="25%" layer="6">
<drawimage imagetype="skinpart" path="progressbarend" x="{areaheight}*0.1 + {elapsed}/{duration}*{areawidth} - {elapsed}/{duration}*{areaheight}*0.2 - 1" y="10%" width="{areaheight}*0.1" height="20%"/>
</area>
<!-- timer symbols-->
<area condition="{timerfull}||{timerpartitial}" x="47%" width="3%" layer="4">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer" align="right" y="1%" width="{areaheight}/2" height="{areaheight}/2" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer" align="right" y="1%" width="{areaheight} * 0.35" height="{areaheight} * 0.35" />
</area>
<!-- element whatson -->
<area condition="not{separator}++{whatson}++not{current}" x="1%" width="50%" layer="3">
<drawtext x="0" y="5%" font="{regular}" fontsize="35%" color="{clrGray}" text="{start} - {stop}" />
</area>
<areascroll condition="{showsubtitle}++not{separator}++{whatson}++not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="50%" layer="3">
<drawtext name="menutext" x="0" y="32%" font="{regular}" fontsize="45%" color="{clrGray}" text="{title}" />
</areascroll>
<area condition="{showsubtitle}++not{separator}++{whatson}++not{current}" x="1%" width="50%" layer="3">
<drawtext x="0" y="73%" width="98%" font="{regular}" fontsize="27%" color="{clrGray}" text="{shorttext}" />
</area>
<areascroll condition="not{showsubtitle}++not{separator}++{whatson}++not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="50%" layer="3">
<drawtext name="menutext" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrGray}" text="{title}" />
</areascroll>
<!-- current element whatson -->
<area condition="not{separator}++{whatson}++{current}" x="1%" width="50%" layer="3">
<drawtext x="0" y="5%" font="{regular}" fontsize="35%" color="{clrWhite}" text="{start} - {stop}" />
</area>
<areascroll condition="{showsubtitle}++not{separator}++{whatson}++{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="50%" layer="3">
<drawtext name="menutext" x="0" y="32%" font="{regular}" fontsize="45%" color="{clrWhite}" text="{title}" />
</areascroll>
<area condition="{showsubtitle}++not{separator}++{whatson}++{current}" x="1%" width="50%" layer="3">
<drawtext x="0" y="73%" width="98%" font="{regular}" fontsize="27%" color="{clrWhite}" text="{shorttext}" />
</area>
<areascroll condition="not{showsubtitle}++not{separator}++{whatson}++{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="50%" layer="3">
<drawtext name="menutext" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrWhite}" text="{title}" />
</areascroll>
<!-- element whatsonnow -->
<area condition="not{separator}++{whatsonnow}" x="1%" width="9%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" width="90%" height="90%" align="center" valign="center" />
</area>
<area condition="not{separator}++{whatsonnow}++not{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="5%" font="{regular}" fontsize="35%" color="{clrGray}" text="{start} - {stop}" />
</area>
<areascroll condition="{showsubtitle}++not{separator}++{whatsonnow}++not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="32%" font="{regular}" fontsize="45%" color="{clrGray}" text="{title}" />
</areascroll>
<area condition="{showsubtitle}++not{separator}++{whatsonnow}++not{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="73%" width="98%" font="{regular}" fontsize="27%" color="{clrGray}" text="{shorttext}" />
</area>
<areascroll condition="not{showsubtitle}++not{separator}++{whatsonnow}++not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrGray}" text="{title}" />
</areascroll>
<!-- current element whatsonnow -->
<area condition="not{separator}++{whatsonnow}++{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="5%" font="{regular}" fontsize="35%" color="{clrWhite}" text="{start} - {stop}" />
</area>
<areascroll condition="{showsubtitle}++not{separator}++{whatsonnow}++{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="32%" font="{regular}" fontsize="45%" color="{clrGray}" text="{title}" />
</areascroll>
<area condition="{showsubtitle}++not{separator}++{whatsonnow}++{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="73%" width="98%" font="{regular}" fontsize="27%" color="{clrGray}" text="{shorttext}" />
</area>
<areascroll condition="not{showsubtitle}++not{separator}++{whatsonnow}++{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrGray}" text="{title}" />
</areascroll>
<!-- element whatsonnext -->
<area condition="not{separator}++{whatsonnext}" x="1%" width="9%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" width="90%" height="90%" align="center" valign="center" />
</area>
<area condition="not{separator}++{whatsonnext}++not{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="5%" font="{regular}" fontsize="35%" color="{clrGray}" text="{start} - {stop}" />
</area>
<areascroll condition="{showsubtitle}++not{separator}++{whatsonnext}++not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="32%" font="{regular}" fontsize="45%" color="{clrGray}" text="{title}" />
</areascroll>
<area condition="{showsubtitle}++not{separator}++{whatsonnext}++not{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="73%" width="98%" font="{regular}" fontsize="27%" color="{clrGray}" text="{shorttext}" />
</area>
<areascroll condition="not{showsubtitle}++not{separator}++{whatsonnext}++not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrGray}" text="{title}" />
</areascroll>
<!-- current element whatsonnext -->
<area condition="not{separator}++{whatsonnext}++{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="5%" font="{regular}" fontsize="35%" color="{clrWhite}" text="{start} - {stop}" />
</area>
<areascroll condition="{showsubtitle}++not{separator}++{whatsonnext}++{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="32%" font="{regular}" fontsize="45%" color="{clrGray}" text="{title}" />
</areascroll>
<area condition="{showsubtitle}++not{separator}++{whatsonnext}++{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="73%" width="98%" font="{regular}" fontsize="27%" color="{clrGray}" text="{shorttext}" />
</area>
<areascroll condition="not{showsubtitle}++not{separator}++{whatsonnext}++{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrGray}" text="{title}" />
</areascroll>
<!-- element whatsonfavorites -->
<area condition="not{separator}++{whatsonfavorites}" x="1%" width="9%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" width="90%" height="90%" align="center" valign="center" />
</area>
<area condition="not{separator}++{whatsonfavorites}++not{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="5%" font="{regular}" fontsize="35%" color="{clrGray}" text="{start} - {stop}" />
</area>
<areascroll condition="{showsubtitle}++not{separator}++{whatsonfavorites}++not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="32%" font="{regular}" fontsize="45%" color="{clrGray}" text="{title}" />
</areascroll>
<area condition="{showsubtitle}++not{separator}++{whatsonfavorites}++not{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="73%" width="98%" font="{regular}" fontsize="27%" color="{clrGray}" text="{shorttext}" />
</area>
<areascroll condition="not{showsubtitle}++not{separator}++{whatsonfavorites}++not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrGray}" text="{title}" />
</areascroll>
<!-- current element whatsonfavorites -->
<area condition="not{separator}++{whatsonfavorites}++{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="5%" font="{regular}" fontsize="35%" color="{clrWhite}" text="{start} - {stop}" />
</area>
<areascroll condition="{showsubtitle}++not{separator}++{whatsonfavorites}++{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="32%" font="{regular}" fontsize="45%" color="{clrGray}" text="{title}" />
</areascroll>
<area condition="{showsubtitle}++not{separator}++{whatsonfavorites}++{current}" x="11%" width="39%" layer="3">
<drawtext x="0" y="73%" width="98%" font="{regular}" fontsize="27%" color="{clrGray}" text="{shorttext}" />
</area>
<areascroll condition="not{showsubtitle}++not{separator}++{whatsonfavorites}++{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="11%" width="39%" layer="3">
<drawtext name="menutext" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrGray}" text="{title}" />
</areascroll>
<!-- day or channel separator -->
<area condition="{separator}" x="1%" width="50%" layer="3">
<drawtext x="0" valign="center" font="{regular}" fontsize="70%" color="{clrWhite}" text="{title}" />
</area>
</listelement>
<!-- Available Variables schedules menu currentelement:
{menuitemx} x position of according menu item
{menuitemy} y position of according menu item
{menuitemwidth} width of according menu item
{menuitemheight} height of according menu item
{title} title of event
{shorttext} shorttext of event
{description} detailed description of event
{start} event start time in hh::mm
{stop} event stop time
{day} day of current event
{date} date of current event in dd.mm.yy
{daynumeric} day as number
{month} month as number
{year} year as number
{running} true if event is currently running
{elapsed} elapsed time of event, if not running 0
{duration} duration of event
{durationhours} duration, full hours
{durationminutes} duration, rest of minutes
{channelname} Channel Name
{channelnumber} Channel Number
{channelid} ChannelID as path to display channel logo
{channellogoexists} true if a channel logo exists
{hasposter} true if a scraped poster is available for this element
{posterwidth} width of scraped poster
{posterheight} height of scraped poster
{posterpath} absolute path of scraped poster
{timerpartitial} true if partitial timer is set for the event
{timerfull} true if full timer is set for the event
{whatson} true if menu "What's on" is displayed
{whatsonnow} true if menu "What's on now" is displayed
{whatsonnext} true if menu "What's on next" is displayed
{whatsonfavorites} true if EPGSearch Favorites menu is displayed
{schedule[]} array with next 10 schedules, only for whatsonnow and whatsonnext
{schedule[title]} title of event
{schedule[shorttext]} shorttext of event
{schedule[start]} start time of event in hh:mm
{schedule[stop]} stop time of event in hh:mm
-->
<currentelement delay="200" fadetime="0">
<area x="55%" y="52%" width="45%" height="48%" layer="2">
<drawimage imagetype="skinpart" path="displaymenucurrentback" x="0" y="0" width="100%" height="100%"/>
</area>
<areascroll condition="not{hasposter}" orientation="vertical" mode="forthandback" delay="1000" scrollspeed="medium" x="56%" y="53%" width="43%" height="46%" layer="3">
<drawtext x="0" y="0" font="{semibold}" width="100%" fontsize="10%" color="{clrWhite}" text="{day} {daynumeric}.{month} {start} - {stop}" />
<drawtext x="0" y="10%" font="{semibold}" width="100%" fontsize="12%" color="{clrWhite}" text="{title}" />
<drawtextbox name="shorttext" x="0" y="21%" width="100%" font="{regular}" fontsize="9%" color="{clrWhite}" text="{shorttext}" />
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)}" width="100%" font="{regular}" fontsize="8%" color="{clrWhite}" text="{description}" />
</areascroll>
<area condition="{hasposter}" x="56%" y="53%" width="15%" height="46%" layer="3">
<drawimage imagetype="image" path="{posterpath}" align="center" valign="center" width="{areawidth}" height="{areawidth} * {posterheight} / {posterwidth}"/>
</area>
<areascroll condition="{hasposter}" orientation="vertical" mode="forthandback" delay="1000" scrollspeed="medium" x="72%" y="53%" width="27%" height="46%" layer="3">
<drawtext x="0" y="0" font="{semibold}" width="100%" fontsize="10%" color="{clrWhite}" text="{day} {daynumeric}.{month} {start} - {stop}" />
<drawtext x="0" y="10%" font="{semibold}" width="100%" fontsize="12%" color="{clrWhite}" text="{title}" />
<drawtextbox name="shorttext" x="0" y="21%" width="100%" font="{regular}" fontsize="9%" color="{clrWhite}" text="{shorttext}" />
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)}" width="100%" font="{regular}" fontsize="8%" color="{clrWhite}" text="{description}" />
</areascroll>
</currentelement>
</menuitems>
</menuschedules>
|