vdr-plugin-skindesigner/skins/metrixhd/xmlfiles/displaymenuschedules.xml

200 lines
20 KiB
XML
Raw Normal View History

2014-09-27 09:25:14 +02:00
<menuschedules x="0" y="0" width="100%" height="100%" fadetime="0">
<header>
<area x="0" y="0" width="38%" height="10%" layer="2">
2016-06-19 06:39:50 +02:00
<drawimage condition="{whatsonnow}||{whatsonnext}||{whatsonfavorites}" name="menuicon" imagetype="menuicon" path="{icon}" x="10" valign="center" width="{areaheight}*8/10" height="80%"/>
<drawtext condition="{whatsonnow}||{whatsonnext}||{whatsonfavorites}" x="{width(menuicon)}+25" valign="center" font="{light}" fontsize="75%" color="{fontdefault}" text="{title}" />
<drawimage name="logo" condition="{whatson}" imagetype="channellogo" path="{channelid}" x="10" width="15%" height="100%" align="left" valign="center" />
<drawtext condition="{whatson}" x="{width(logo)}+25" valign="center" font="{light}" fontsize="75%" color="{fontdefault}" text="{channelnumber} - {channelname}" />
2014-09-27 09:25:14 +02:00
</area>
</header>
2016-06-25 06:35:48 +02:00
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="{listitemsmax}">
2016-07-22 15:21:09 +02:00
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
2014-09-27 09:25:14 +02:00
<!-- Background -->
2016-07-22 15:21:09 +02:00
<area indicator="true" condition="{current}||{separator}" x="1%" width="58%" layer="2">
2016-06-19 06:39:50 +02:00
<fill condition="{current}" color="{menuactive}" />
<fill condition="{separator}" color="{menuseparator}" />
2014-09-27 09:25:14 +02:00
</area>
<!-- WHATSON -->
2016-07-22 15:21:09 +02:00
2016-06-19 06:39:50 +02:00
<areacontainer x="1%" width="58%" condition="not{separator}++{whatson}++not{current}">
2016-07-22 15:21:09 +02:00
<area condition="not{running}" width="93%" layer="3">
2016-06-19 06:39:50 +02:00
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{start} {title}" />
</area>
<area condition="{running}" layer="3">
<drawtext condition="{timerfull}||{timerpartitial}" x="20" width="74%" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{start} {title}" />
<drawtext condition="not{timerfull}++not{timerpartitial}" x="20" width="80%" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{start} {title}" />
<drawrectangle condition="{timerfull}||{timerpartitial}" x="{areawidth}*0.85 - 14 - {areaheight}" y="{areaheight}/3" width="{areawidth}*0.15" height="{areaheight}/3" color="{fontdefault}" />
<drawrectangle condition="{timerfull}||{timerpartitial}" x="{areawidth}*0.85 - 12 - {areaheight}" y="{areaheight}/3 + 2" width="{areawidth}*0.15 - 4" height="{areaheight}/3 - 4" color="{clrTransparent}" />
<drawrectangle condition="{timerfull}||{timerpartitial}" x="{areawidth}*0.85 - 10 - {areaheight}" y="{areaheight}/3 + 4" width="{areawidth}*0.15 * {elapsed} / {duration} - 8" height="{areaheight}/3 - 8" color="{fontdefault}" />
<drawrectangle condition="not{timerfull}++not{timerpartitial}" x="{areawidth}*0.85 - 10" y="{areaheight}/3" width="{areawidth}*0.15" height="{areaheight}/3" color="{fontdefault}" />
<drawrectangle condition="not{timerfull}++not{timerpartitial}" x="{areawidth}*0.85 - 8" y="{areaheight}/3 + 2" width="{areawidth}*0.15 - 4" height="{areaheight}/3 - 4" color="{clrTransparent}" />
<drawrectangle condition="not{timerfull}++not{timerpartitial}" x="{areawidth}*0.85 - 6" y="{areaheight}/3 + 4" width="{areawidth}*0.15 * {elapsed} / {duration} - 8" height="{areaheight}/3 - 8" color="{fontdefault}" />
</area>
<area layer="4">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer" x="{areawidth} - 0.9*{areaheight} - 5" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer" x="{areawidth} - 0.5*{areaheight} - 5" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
</area>
</areacontainer>
<areacontainer x="1%" width="58%" condition="not{separator}++{whatson}++{current}">
<areascroll condition="not{running}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" width="93%" layer="3">
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{start} {title}" />
</areascroll>
2016-06-19 06:39:50 +02:00
<areascroll condition="{running}++not{timerfull}++not{timerpartitial}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" width="80%" layer="3">
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{start} {title}" />
</areascroll>
2016-06-19 06:39:50 +02:00
<areascroll condition="{running}++{timerpartitial}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" width="74%" layer="3">
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{start} {title}" />
</areascroll>
<areascroll condition="{running}++{timerfull}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" width="74%" layer="3">
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{start} {title}" />
</areascroll>
<area condition="{running}" layer="4">
<drawrectangle condition="{timerfull}||{timerpartitial}" x="{areawidth}*0.85 - 14 - {areaheight}" y="{areaheight}/3" width="{areawidth}*0.15" height="{areaheight}/3" color="{fontactive}" />
<drawrectangle condition="{timerfull}||{timerpartitial}" x="{areawidth}*0.85 - 12 - {areaheight}" y="{areaheight}/3 + 2" width="{areawidth}*0.15 - 4" height="{areaheight}/3 - 4" color="{clrTransparent}" />
<drawrectangle condition="{timerfull}||{timerpartitial}" x="{areawidth}*0.85 - 10 - {areaheight}" y="{areaheight}/3 + 4" width="{areawidth}*0.15 * {elapsed} / {duration} - 8" height="{areaheight}/3 - 8" color="{fontactive}" />
<drawrectangle condition="not{timerfull}++not{timerpartitial}" x="{areawidth}*0.85 - 10" y="{areaheight}/3" width="{areawidth}*0.15" height="{areaheight}/3" color="{fontactive}" />
<drawrectangle condition="not{timerfull}++not{timerpartitial}" x="{areawidth}*0.85 - 8" y="{areaheight}/3 + 2" width="{areawidth}*0.15 - 4" height="{areaheight}/3 - 4" color="{clrTransparent}" />
<drawrectangle condition="not{timerfull}++not{timerpartitial}" x="{areawidth}*0.85 - 6" y="{areaheight}/3 + 4" width="{areawidth}*0.15 * {elapsed} / {duration} - 8" height="{areaheight}/3 - 8" color="{fontactive}" />
</area>
<area layer="5">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer_active" x="{areawidth} - 0.9*{areaheight} - 5" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer_active" x="{areawidth} - 0.5*{areaheight} - 5" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
</area>
</areacontainer>
2014-09-27 09:25:14 +02:00
<!-- WHATSONNOW -->
2016-06-19 06:39:50 +02:00
<areacontainer condition="not{separator}++{whatsonnow}++not{current}">
<area x="1%" width="6%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="100%" valign="center" />
</area>
<area condition="{running}" x="8%" width="7%" layer="3">
2016-06-19 06:39:50 +02:00
<drawrectangle x="0" y="{areaheight}/3" width="{areawidth}" height="{areaheight}/3" color="{fontdefault}" />
<drawrectangle x="2" y="{areaheight}/3 + 2" width="{areawidth} - 4" height="{areaheight}/3 - 4" color="{clrTransparent}" />
2016-06-19 06:39:50 +02:00
<drawrectangle x="4" y="{areaheight}/3 + 4" width="{areawidth} * {elapsed} / {duration} - 8" height="{areaheight}/3 - 8" color="{fontdefault}" />
</area>
2016-06-19 06:39:50 +02:00
<area x="15%" width="40%" layer="4">
<drawtext x="10" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{start} {title}" />
</area>
2016-06-19 06:39:50 +02:00
<area x="53%" width="6%" layer="5">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer" x="{areawidth} - 0.9*{areaheight} - 5" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer" x="{areawidth} - 0.5*{areaheight} - 5" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
</area>
2016-06-19 06:39:50 +02:00
</areacontainer>
<areacontainer condition="not{separator}++{whatsonnow}++{current}">
<area x="1%" width="6%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="100%" valign="center" />
</area>
<area condition="{running}" x="8%" width="7%" layer="3">
<drawrectangle x="0" y="{areaheight}/3" width="{areawidth}" height="{areaheight}/3" color="{fontactive}" />
<drawrectangle x="2" y="{areaheight}/3 + 2" width="{areawidth} - 4" height="{areaheight}/3 - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="{areaheight}/3 + 4" width="{areawidth} * {elapsed} / {duration} - 8" height="{areaheight}/3 - 8" color="{fontactive}" />
</area>
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="15%" width="40%" layer="4">
<drawtext name="menutext" x="10" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{start} {title}" />
</areascroll>
2016-06-19 06:39:50 +02:00
<area x="53%" width="6%" layer="5">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer_active" x="{areawidth} - 0.9*{areaheight} - 5" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer_active" x="{areawidth} - 0.5*{areaheight} - 5" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
</area>
</areacontainer>
2014-09-27 09:25:14 +02:00
<!-- WHATSONNEXT -->
2016-06-19 06:39:50 +02:00
<areacontainer condition="not{separator}++{whatsonnext}++not{current}">
<area x="1%" width="6%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="100%" valign="center" />
</area>
2016-06-19 06:39:50 +02:00
<area x="7%" width="47%" layer="4">
<drawtext x="10" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{start} {title}" />
</area>
<area x="53%" width="6%" layer="5">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer" x="{areawidth} - 0.9*{areaheight} - 5" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer" x="{areawidth} - 0.5*{areaheight} - 5" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
</area>
2016-06-19 06:39:50 +02:00
</areacontainer>
<areacontainer condition="not{separator}++{whatsonnext}++{current}">
<area x="1%" width="6%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="100%" valign="center" />
</area>
2016-06-19 06:39:50 +02:00
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="7%" width="47%" layer="4">
<drawtext name="menutext" x="10" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{start} {title}" />
</areascroll>
2016-06-19 06:39:50 +02:00
<area x="53%" width="6%" layer="5">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer_active" x="{areawidth} - 0.9*{areaheight} - 5" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer_active" x="{areawidth} - 0.5*{areaheight} - 5" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
</area>
</areacontainer>
<!-- WHATSONFAVORITES -->
2016-06-19 06:39:50 +02:00
<areacontainer condition="not{separator}++{whatsonfavorites}++not{current}">
<area x="1%" width="6%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="100%" valign="center" />
</area>
2016-06-19 06:39:50 +02:00
<area x="7%" width="46%" layer="4">
<drawtext x="10" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{start} {title}" />
</area>
<area x="53%" width="6%" layer="5">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer" x="{areawidth} - 0.9*{areaheight} - 5" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer" x="{areawidth} - 0.5*{areaheight} - 5" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
</area>
2016-06-19 06:39:50 +02:00
</areacontainer>
<areacontainer condition="not{separator}++{whatsonfavorites}++{current}">
<area x="1%" width="6%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="100%" valign="center" />
</area>
2016-06-19 06:39:50 +02:00
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="7%" width="46%" layer="4">
<drawtext name="menutext" x="10" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{start} {title}" />
</areascroll>
2016-06-19 06:39:50 +02:00
<area x="53%" width="6%" layer="5">
<drawimage condition="{timerfull}" imagetype="icon" path="ico_timer_active" x="{areawidth} - 0.9*{areaheight} - 5" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_timer_active" x="{areawidth} - 0.5*{areaheight} - 5" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
</area>
</areacontainer>
2014-09-27 09:25:14 +02:00
<!-- Separator -->
<area condition="{separator}" x="0" width="68%" layer="3">
2016-06-19 06:39:50 +02:00
<drawtext x="20" valign="center" font="{light}" fontsize="95%" color="{fontseparator}" text="{title}" />
2014-09-27 09:25:14 +02:00
</area>
</listelement>
2016-06-19 06:39:50 +02:00
<currentelement delay="0" fadetime="{fadetimecurrent}">
2016-06-25 06:35:48 +02:00
<area condition="{whatson}" x="63%" y="0" width="36%" height="100%" layer="2">
2014-09-27 09:25:14 +02:00
<!-- title -->
2016-06-25 06:35:48 +02:00
<drawtext name="title" x="10" y="0" font="{semibold}" width="{areawidth}-20" fontsize="8%" color="{fontactive}" text="{title}" />
2014-09-27 09:25:14 +02:00
<!-- progress bar if event is running -->
2016-06-25 06:35:48 +02:00
<drawtext condition="{running}" name="start" x="{areawidth}/4 - {width(start)}" y="{posy(title)}+{height(title)}" font="{light}" fontsize="6%" color="{fontactive}" text="{start}" />
<drawtext condition="{running}" name="stop" x="{areawidth}*3/4" y="{posy(title)}+{height(title)}" font="{light}" fontsize="6%" color="{fontactive}" text="{stop}" />
<drawrectangle condition="{running}" x="{areawidth}/4+10" y="{height(start)}/2+{posy(start)}" width="{areawidth}/2 - 20" height="1" color="{fontactive}" />
<drawrectangle condition="{running}" x="{areawidth}/4+10" y="{height(start)}/2+{posy(start)} -2" width="{areawidth}/2 * {elapsed} / {duration} - 20 * {elapsed} / {duration}" height="5" color="{fontactive}" />
2014-09-27 09:25:14 +02:00
<!-- start and stop if event is not running -->
2016-06-25 06:35:48 +02:00
<drawtext condition="not{running}" x="10" y="{posy(title)}+{height(title)}" font="{light}" fontsize="7%" color="{fontactive}" text="{start} - {stop} ({duration} min)" />
2014-09-27 09:25:14 +02:00
<!-- scraper poster -->
<drawimage condition="{hasposter}" name="poster" imagetype="image" path="{posterpath}" x="10" y="{posy(start)} + {height(start)} + 20" width="{areawidth}/3" height="{areawidth}/3 * {posterheight} / {posterwidth}"/>
<!-- description -->
2016-06-25 06:35:48 +02:00
<drawtextbox condition="{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" float="topleft" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 10" font="{light}" fontsize="6%" color="{fontactive}" text="{description}" />
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="{areawidth} - 20" height="{areaheight} - {posy(poster)}" font="{light}" fontsize="6%" color="{fontactive}" text="{description}" />
2014-09-27 09:25:14 +02:00
</area>
2016-02-09 15:38:51 +01:00
<areacontainer condition="{whatsonnow}||{whatsonnext}||{whatsonfavorites}">
2016-06-25 06:35:48 +02:00
<area x="63%" y="0" width="36%" height="100%" layer="2">
<!-- title -->
2016-06-25 06:35:48 +02:00
<drawtext name="title" x="10" y="0" font="{semibold}" width="{areawidth}-20" fontsize="8%" color="{fontactive}" text="{title}" />
<!-- progress bar if event is running -->
2016-06-25 06:35:48 +02:00
<drawtext condition="{running}" name="start" x="{areawidth}/4 - {width(start)}" y="{posy(title)}+{height(title)}" font="{light}" fontsize="6%" color="{fontactive}" text="{start}" />
<drawtext condition="{running}" name="stop" x="{areawidth}*3/4" y="{posy(title)}+{height(title)}" font="{light}" fontsize="6%" color="{fontactive}" text="{stop}" />
<drawrectangle condition="{running}" x="{areawidth}/4+10" y="{height(start)}/2+{posy(start)}" width="{areawidth}/2 - 20" height="1" color="{fontactive}" />
<drawrectangle condition="{running}" x="{areawidth}/4+10" y="{height(start)}/2+{posy(start)}-2" width="{areawidth}/2 * {elapsed} / {duration} - 20 * {elapsed} / {duration}" height="5" color="{fontactive}" />
<!-- start and stop if event is not running -->
2016-06-25 06:35:48 +02:00
<drawtext condition="not{running}" x="10" y="{posy(title)}+{height(title)}" font="{light}" fontsize="6%" color="{fontactive}" text="{start} - {stop} ({duration} min)" />
<!-- scraper poster -->
<drawimage condition="{hasposter}" name="poster" imagetype="image" path="{posterpath}" x="10" y="{posy(start)} + {height(start)} + 10" width="{areawidth}/3" height="{areawidth}/3 * {posterheight} / {posterwidth}"/>
<!-- description -->
2016-06-25 06:35:48 +02:00
<drawtextbox condition="{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight}*0.85 - {posy(poster)}" float="topleft" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 10" font="{light}" fontsize="6%" color="{fontactive}" text="{description}" />
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight}*0.85 - {posy(poster)}" font="{light}" fontsize="6%" color="{fontactive}" text="{description}" />
</area>
2016-06-25 06:35:48 +02:00
<areascroll mode="forthandback" orientation="vertical" delay="2000" scrollspeed="medium" x="63%" y="85%" width="36%" height="15%" layer="3">
2016-06-19 06:39:50 +02:00
<drawtext x="10" y="0" font="{semibold}" fontsize="30%" color="{fontactive}" text="Next Schedules:" />
<loop name="schedule" x="0" y="{areaheight}/4 + 5" orientation="vertical">
2016-06-19 06:39:50 +02:00
<drawtext x="10" font="{light}" width="{areawidth}-20" fontsize="30%" color="{fontactive}" text="{schedule[start]} {schedule[title]}" />
</loop>
</areascroll>
</areacontainer>
2014-09-27 09:25:14 +02:00
</currentelement>
</menuitems>
2015-08-08 11:04:15 +02:00
</menuschedules>