2014-09-27 09:25:14 +02:00
|
|
|
<menuschedules x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="33%" scaletvy="10%" scaletvwidth="65%" scaletvheight="80%" >
|
|
|
|
<!-- Available Variables header:
|
|
|
|
{title} title of current menu
|
|
|
|
{vdrversion} running VDR Version
|
|
|
|
{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
|
|
|
|
-->
|
|
|
|
<header>
|
|
|
|
<area x="1%" y="0" width="64%" height="10%" layer="2">
|
|
|
|
<drawtext condition="{whatsonnow}||{whatsonnext}" x="5" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
2014-11-21 19:19:59 +01:00
|
|
|
<drawimage name="logo" condition="{whatson}" imagetype="channellogo" path="{channelid}" x="0" width="15%" height="100%" align="left" valign="center" />
|
2014-09-27 09:25:14 +02:00
|
|
|
<drawtext condition="{whatson}" x="{width(logo)}+20" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{channelnumber} - {channelname}" />
|
|
|
|
</area>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
|
|
<scrollbar>
|
|
|
|
<area x="30%" y="11%" width="2%" height="78%" layer="2">
|
2014-10-03 15:54:23 +02:00
|
|
|
<fill color="{clrBorder}" />
|
2014-09-27 09:25:14 +02:00
|
|
|
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
|
2014-10-03 15:54:23 +02:00
|
|
|
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrProgressbar}" />
|
2014-09-27 09:25:14 +02:00
|
|
|
</area>
|
|
|
|
</scrollbar>
|
|
|
|
|
|
|
|
<menuitems x="{areawidth}*0.005" y="10%" orientation="vertical" width="99%" height="80%" align="center" numlistelements="10">
|
|
|
|
<!-- Available Variables schedules menu listelement:
|
|
|
|
{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
|
|
|
|
{running} true if event is currently running
|
|
|
|
{elapsed} elapsed time of event, if not running 0
|
|
|
|
{duration} duration of event
|
|
|
|
{current} true if item is currently selected
|
|
|
|
{separator} true if item is a list separator
|
2014-10-04 13:32:09 +02:00
|
|
|
{channelname} Channel Name (for what's on now and next)
|
|
|
|
{channelid} ChannelID as path to display channel logo (for what's on now and next)
|
2014-09-27 09:25:14 +02:00
|
|
|
{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
|
|
|
|
{timerpartitial} true if partitial timer is set for the event
|
|
|
|
{timerfull} true if full timer is set for the event
|
2014-10-04 13:32:09 +02:00
|
|
|
{hasVPS} true if event has VPS information
|
2014-09-27 09:25:14 +02:00
|
|
|
-->
|
|
|
|
<listelement>
|
|
|
|
<!-- background and foreground-->
|
|
|
|
<area x="0" width="28%" layer="2">
|
|
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="menubutton" x="0" y="1%" width="{areawidth}" height="{areaheight}*0.98"/>
|
|
|
|
<drawimage condition="{current}" imagetype="skinpart" path="menubuttonactive" x="0" y="1%" width="{areawidth}" height="{areaheight}*0.98"/>
|
|
|
|
</area>
|
|
|
|
<area x="0" width="28%" layer="7">
|
|
|
|
<drawimage imagetype="skinpart" path="menubuttontop" x="0" y="1%" width="{areawidth}" height="{areaheight}*0.98"/>
|
|
|
|
</area>
|
|
|
|
<!-- element whatson -->
|
|
|
|
<area condition="not{separator}++{whatson}++not{current}" x="1%" width="27%" layer="3">
|
|
|
|
<drawtext x="0" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrFontMenuItem}" text="{start} - {stop}" />
|
|
|
|
<drawimage condition="{timerfull}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*5/10 - 10" y="10" width="{areaheight}*5/10" height="{areaheight}*5/10" />
|
|
|
|
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*3/10 - 10" y="10" width="{areaheight}*3/10" height="{areaheight}*3/10" />
|
|
|
|
</area>
|
|
|
|
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" condition="not{separator}++{whatson}++not{current}" x="1%" width="27%" layer="3">
|
|
|
|
<drawtext name="menutext" x="0" y="40%" font="{vdrOsd}" fontsize="55%" color="{clrFontMenuItem}" text="{title}" />
|
|
|
|
</areascroll>
|
|
|
|
<!-- current element whatson -->
|
|
|
|
<area condition="not{separator}++{whatson}++{current}" x="1%" width="27%" layer="3">
|
|
|
|
<drawtext x="0" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrFontMenuItemSelected}" text="{start} - {stop}" />
|
|
|
|
<drawimage condition="{timerfull}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*5/10 - 10" y="10" width="{areaheight}*5/10" height="{areaheight}*5/10" />
|
|
|
|
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*3/10 - 10" y="10" width="{areaheight}*3/10" height="{areaheight}*3/10" />
|
|
|
|
</area>
|
|
|
|
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" condition="not{separator}++{whatson}++{current}" x="1%" width="27%" layer="3">
|
|
|
|
<drawtext name="menutext" x="0" y="40%" font="{vdrOsd}" fontsize="55%" color="{clrFontMenuItemSelected}" text="{title}" />
|
|
|
|
</areascroll>
|
|
|
|
<!-- element whatsonnow -->
|
|
|
|
<area condition="not{separator}++{whatsonnow}" x="5" width="8%" layer="3">
|
2014-11-21 19:19:59 +01:00
|
|
|
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="94%" valign="center" />
|
2014-09-27 09:25:14 +02:00
|
|
|
</area>
|
|
|
|
<area condition="not{separator}++{whatsonnow}++not{current}" x="9%" width="18%" layer="3">
|
|
|
|
<drawtext x="0" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrFontMenuItem}" text="{start} - {stop}" />
|
|
|
|
<drawimage condition="{timerfull}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*5/10 - 10" y="10" width="{areaheight}*5/10" height="{areaheight}*5/10" />
|
|
|
|
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*3/10 - 10" y="10" width="{areaheight}*3/10" height="{areaheight}*3/10" />
|
|
|
|
</area>
|
|
|
|
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" condition="not{separator}++{whatsonnow}++not{current}" x="9%" width="18%" layer="3">
|
|
|
|
<drawtext name="menutext" x="0" y="40%" font="{vdrOsd}" fontsize="55%" color="{clrFontMenuItem}" text="{title}" />
|
|
|
|
</areascroll>
|
|
|
|
<!-- current element whatsonnow -->
|
|
|
|
<area condition="not{separator}++{whatsonnow}++{current}" x="9%" width="18%" layer="3">
|
|
|
|
<drawtext x="0" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrFontMenuItemSelected}" text="{start} - {stop}" />
|
|
|
|
<drawimage condition="{timerfull}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*5/10 - 10" y="10" width="{areaheight}*5/10" height="{areaheight}*5/10" />
|
|
|
|
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*3/10 - 10" y="10" width="{areaheight}*3/10" height="{areaheight}*3/10" />
|
|
|
|
</area>
|
|
|
|
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" condition="not{separator}++{whatsonnow}++{current}" x="9%" width="18%" layer="3">
|
|
|
|
<drawtext name="menutext" x="0" y="40%" font="{vdrOsd}" fontsize="55%" color="{clrFontMenuItemSelected}" text="{title}" />
|
|
|
|
</areascroll>
|
|
|
|
<!-- day or channel separator -->
|
|
|
|
<area condition="{separator}" x="0" width="28%" layer="3">
|
|
|
|
<drawimage name="sep" imagetype="icon" path="ico_daydelimiter" x="10" valign="center" width="{areaheight}-10" height="{areaheight}-10"/>
|
|
|
|
<drawtext x="{width(sep)} + 20" valign="center" font="{vdrOsd}" fontsize="60%" color="{clrFontInactive}" text="{title}" />
|
|
|
|
</area>
|
|
|
|
<!-- element whatsonnext -->
|
|
|
|
<area condition="not{separator}++{whatsonnext}" x="5" width="8%" layer="3">
|
2014-11-21 19:19:59 +01:00
|
|
|
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="94%" valign="center" />
|
2014-09-27 09:25:14 +02:00
|
|
|
</area>
|
|
|
|
<area condition="not{separator}++{whatsonnext}++not{current}" x="9%" width="18%" layer="3">
|
|
|
|
<drawtext x="0" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrFontMenuItem}" text="{start} - {stop}" />
|
|
|
|
<drawimage condition="{timerfull}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*5/10 - 10" y="10" width="{areaheight}*5/10" height="{areaheight}*5/10" />
|
|
|
|
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*3/10 - 10" y="10" width="{areaheight}*3/10" height="{areaheight}*3/10" />
|
|
|
|
</area>
|
|
|
|
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" condition="not{separator}++{whatsonnext}++not{current}" x="9%" width="18%" layer="3">
|
|
|
|
<drawtext name="menutext" x="0" y="40%" font="{vdrOsd}" fontsize="55%" color="{clrFontMenuItem}" text="{title}" />
|
|
|
|
</areascroll>
|
|
|
|
<!-- current element whatsonnext -->
|
|
|
|
<area condition="not{separator}++{whatsonnext}++{current}" x="9%" width="18%" layer="3">
|
|
|
|
<drawtext x="0" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrFontMenuItemSelected}" text="{start} - {stop}" />
|
|
|
|
<drawimage condition="{timerfull}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*5/10 - 10" y="10" width="{areaheight}*5/10" height="{areaheight}*5/10" />
|
|
|
|
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*3/10 - 10" y="10" width="{areaheight}*3/10" height="{areaheight}*3/10" />
|
|
|
|
</area>
|
|
|
|
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" condition="not{separator}++{whatsonnext}++{current}" x="9%" width="18%" layer="3">
|
|
|
|
<drawtext name="menutext" x="0" y="40%" font="{vdrOsd}" fontsize="55%" color="{clrFontMenuItemSelected}" text="{title}" />
|
|
|
|
</areascroll>
|
|
|
|
<!-- day or channel separator -->
|
|
|
|
<area condition="{separator}" x="0" width="28%" layer="3">
|
|
|
|
<drawimage name="sep" imagetype="icon" path="ico_daydelimiter" x="10" valign="center" width="{areaheight}-10" height="{areaheight}-10"/>
|
|
|
|
<drawtext x="{width(sep)} + 20" valign="center" font="{vdrOsd}" fontsize="60%" color="{clrFontInactive}" text="{title}" />
|
|
|
|
</area>
|
|
|
|
</listelement>
|
|
|
|
<!-- Available Variables schedules menu currentelement:
|
|
|
|
{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
|
|
|
|
{running} true if event is currently running
|
|
|
|
{elapsed} elapsed time of event, if not running 0
|
|
|
|
{duration} duration of event
|
|
|
|
{channelid} ChannelID as path to display channel logo
|
|
|
|
{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
|
|
|
|
{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="500" fadetime="300">
|
|
|
|
<area x="32%" y="2%" width="67%" height="96%" layer="2">
|
|
|
|
<fill color="{clrTransBlack}" />
|
|
|
|
</area>
|
|
|
|
<area condition="{whatson}" x="32%" y="2%" width="67%" height="96%" layer="2">
|
|
|
|
<!-- title -->
|
|
|
|
<drawtext name="title" align="center" y="0" font="{vdrOsd}" width="{areawidth}-20" fontsize="8%" color="{clrWhite}" text="{title}" />
|
|
|
|
<!-- progress bar if event is running -->
|
|
|
|
<drawtext condition="{running}" name="start" x="{areawidth}/4 - {width(start)}" y="9%" font="vdrOsd}" fontsize="6%" color="{clrWhite}" text="{start}" />
|
|
|
|
<drawtext condition="{running}" name="stop" x="{areawidth}*3/4" y="9%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{stop}" />
|
2014-10-03 15:54:23 +02:00
|
|
|
<drawellipse condition="{running}" x="{areawidth} / 4 + 5" y="{posy(start)} + {height(start)} / 2 - 6" width="11" height="11" quadrant="0" color="{clrBackground}" />
|
|
|
|
<drawrectangle condition="{running}" x="{areawidth} / 4 + 10" y="{posy(start)} + {height(start)} / 2 - 6" width="{areawidth}/2 - 20" height="11" color="{clrBackground}" />
|
|
|
|
<drawellipse condition="{running}" x="3 * {areawidth} / 4 - 16" y="{posy(start)} + {height(start)} / 2 - 6" width="11" height="11" quadrant="0" color="{clrBackground}" />
|
|
|
|
<drawellipse condition="{running}" x="{areawidth} / 4 + 6" y="{posy(start)} + {height(start)} / 2 - 5" width="9" height="9" quadrant="0" color="{clrProgressbar}" />
|
|
|
|
<drawrectangle condition="{running}" x="{areawidth} / 4 + 10" y="{posy(start)} + {height(start)} / 2 - 5" width="{areawidth}/2 * {elapsed} / {duration} - 20 * {elapsed} / {duration}" height="9" color="{clrProgressbar}" />
|
|
|
|
<drawellipse condition="{running}" x="{areawidth} / 4 + 10 + {areawidth}/2 * {elapsed} / {duration} - 20 * {elapsed} / {duration} - 4" y="{posy(start)} + {height(start)} / 2 - 5" width="9" height="9" quadrant="0" color="{clrProgressbar}" />
|
2014-09-27 09:25:14 +02:00
|
|
|
<!-- start and stop if event is not running -->
|
|
|
|
<drawtext condition="not{running}" x="10" y="9%" font="{vdrOsd}" fontsize="{areaheight}/20" color="{clrWhite}" text="{start} - {stop} ({duration} min)" />
|
|
|
|
<!-- scraper poster -->
|
|
|
|
<drawimage condition="{hasposter}" name="poster" imagetype="image" path="{posterpath}" x="{areawidth} - {areawidth}/3" y="{posy(start)} + {height(start)} + 10" width="{areawidth}/3" height="{areawidth}/3 * {posterheight} / {posterwidth}"/>
|
|
|
|
<!-- description -->
|
|
|
|
<drawtextbox condition="{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" float="topright" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 20" font="{vdrOsd}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
|
|
|
|
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" font="{vdrOsd}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
|
|
|
|
</area>
|
|
|
|
<!-- whatsonnow and whotsonnext -->
|
|
|
|
<area condition="{whatsonnow}||{whatsonnext}" x="32%" y="2%" width="67%" height="76%" layer="2">
|
|
|
|
<!-- title -->
|
|
|
|
<drawtext align="center" y="0" font="{vdrOsd}" width="{areawidth}-20" fontsize="10%" color="{clrWhite}" text="{title}" />
|
|
|
|
<!-- progress bar if event is running -->
|
|
|
|
<drawtext condition="{running}" name="start" x="{areawidth}/4 - {width(start)}" y="11%" font="vdrOsd}" fontsize="8%" color="{clrWhite}" text="{start}" />
|
|
|
|
<drawtext condition="{running}" name="stop" x="{areawidth}*3/4" y="11%" font="{vdrOsd}" fontsize="8%" color="{clrWhite}" text="{stop}" />
|
2014-10-03 15:54:23 +02:00
|
|
|
<drawellipse condition="{running}" x="{areawidth} / 4 + 5" y="{posy(start)} + {height(start)} / 2 - 6" width="11" height="11" quadrant="0" color="{clrBackground}" />
|
|
|
|
<drawrectangle condition="{running}" x="{areawidth} / 4 + 10" y="{posy(start)} + {height(start)} / 2 - 6" width="{areawidth}/2 - 20" height="11" color="{clrBackground}" />
|
|
|
|
<drawellipse condition="{running}" x="3 * {areawidth} / 4 - 16" y="{posy(start)} + {height(start)} / 2 - 6" width="11" height="11" quadrant="0" color="{clrBackground}" />
|
|
|
|
<drawellipse condition="{running}" x="{areawidth} / 4 + 6" y="{posy(start)} + {height(start)} / 2 - 5" width="9" height="9" quadrant="0" color="{clrProgressbar}" />
|
|
|
|
<drawrectangle condition="{running}" x="{areawidth} / 4 + 10" y="{posy(start)} + {height(start)} / 2 - 5" width="{areawidth}/2 * {elapsed} / {duration} - 20 * {elapsed} / {duration}" height="9" color="{clrProgressbar}" />
|
|
|
|
<drawellipse condition="{running}" x="{areawidth} / 4 + 10 + {areawidth}/2 * {elapsed} / {duration} - 20 * {elapsed} / {duration} - 4" y="{posy(start)} + {height(start)} / 2 - 5" width="9" height="9" quadrant="0" color="{clrProgressbar}" />
|
2014-09-27 09:25:14 +02:00
|
|
|
<!-- start and stop if event is not running -->
|
|
|
|
<drawtext condition="not{running}" x="10" y="9%" font="{vdrOsd}" fontsize="{areaheight}/20" color="{clrWhite}" text="{start} - {stop} ({duration} min)" />
|
|
|
|
<!-- scraper poster -->
|
|
|
|
<drawimage condition="{hasposter}" name="poster" imagetype="image" path="{posterpath}" x="{areawidth}* 2 / 3" y="{posy(start)} + {height(start)} + 10" width="{areawidth}/3" height="{areawidth}/3 * {posterheight} / {posterwidth}"/>
|
|
|
|
<!-- description -->
|
|
|
|
<drawtextbox condition="{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" float="topright" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 10" font="{vdrOsd}" fontsize="{areaheight}/18" color="{clrWhite}" text="{description}" />
|
|
|
|
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" font="{vdrOsd}" fontsize="{areaheight}/18" color="{clrWhite}" text="{description}" />
|
|
|
|
</area>
|
|
|
|
<areascroll condition="{whatsonnow}||{whatsonnext}" mode="forthandback" orientation="vertical" delay="1000" scrollspeed="medium" x="32%" y="78%" width="67%" height="20%" layer="2">
|
|
|
|
<drawtext x="10" y="0" font="{semibold}" fontsize="20%" color="{clrWhite}" text="{tr(nextschedules)}:" />
|
|
|
|
<loop name="schedule" x="0" y="{areaheight}/4 + 5" orientation="vertical">
|
|
|
|
<drawtext x="10" font="{vdrOsd}" width="{areawidth}-20" fontsize="20%" color="{clrWhite}" text="{schedule[start]} {schedule[title]}" />
|
|
|
|
</loop>
|
|
|
|
</areascroll>
|
|
|
|
</currentelement>
|
|
|
|
</menuitems>
|
2014-11-25 14:33:59 +01:00
|
|
|
</menuschedules>
|
2014-09-27 09:25:14 +02:00
|
|
|
|