adapted blackhole xml files to setup parameters

This commit is contained in:
louis
2015-01-20 14:26:28 +01:00
parent 3bcda748cd
commit 96076489bb
47 changed files with 477 additions and 294 deletions

View File

@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE displaychannel SYSTEM "../../../dtd/displaychannel.dtd">
<displaychannel x="0" y="70%" width="100%" height="30%" fadetime="{fadeTime}">
<displaychannel x="0" y="0" width="100%" height="100%" fadetime="{fadetime}">
<background>
<!-- global background -->
<area x="0" y="0" width="100%" height="100%" layer="1">
<area x="0" y="70%" width="100%" height="30%" layer="1">
<drawimage imagetype="skinpart" path="displaychannelback" x="0" y="0" width="100%" height="100%"/>
</area>
<!-- epg background -->
<area x="17%" y="36%" width="67%" height="40%" layer="2">
<area x="17%" y="80%" width="67%" height="14%" layer="2">
<drawimage imagetype="skinpart" path="displaychannelbackepg" x="0" y="0" width="100%" height="100%"/>
</area>
<!-- watch background -->
<area x="86%" y="20%" width="{areaheight}*0.6" height="{areaheight}*0.6" layer="2">
<area x="86%" y="77%" width="{areaheight}*0.18" height="{areaheight}*0.18" layer="2">
<drawimage imagetype="skinpart" path="watchback" x="0" y="0" width="100%" height="100%"/>
</area>
</background>
@@ -26,10 +26,10 @@
{switching} true if a number is pressed on the remote to switch to a dedicated channel
-->
<channelinfo>
<area x="17%" y="16%" width="67%" height="18%" layer="2">
<area x="17%" y="74%" width="67%" height="6%" layer="2">
<drawtext x="0" y="0" font="{semibold}" fontsize="100%" color="{clrWhite}" text="{channelnumber} {channelname}" />
</area>
<area x="2%" y="20%" width="13%" height="70%" layer="2">
<area x="2%" y="75%" width="13%" height="25%" layer="2">
<drawimage cache="true" imagetype="channellogo" path="{channelid}" width="100%" height="100%" align="center" valign="center"/>
</area>
</channelinfo>
@@ -56,13 +56,13 @@
{nextrecording} true if next Schedule will be recorded
-->
<epginfo>
<area x="17%" y="37%" width="66%" height="20%" layer="2">
<area x="17%" y="80%" width="66%" height="7%" layer="3">
<drawtext name="starttime" x="1%" valign="center" font="{regular}" fontsize="80%" color="{clrWhite}" text="{currentstart}" />
<drawtext align="right" name="elapsed" valign="center" font="{regular}" fontsize="75%" color="{clrWhite}" text="{currentelapsed}/{currentduration}min" />
<drawtext x="{width(starttime)} + 40" y="0" width="{areawidth} - {width(starttime)} - {width(elapsed)} - 45" font="{regular}" fontsize="70%" color="{clrWhite}" text="{currenttitle}" />
<drawtext x="{width(starttime)} + 40" y="56%" width="{areawidth} - {width(starttime)} - {width(elapsed)} - 45" font="{regular}" fontsize="45%" color="{clrWhite}" text="{currentsubtitle}" />
</area>
<area x="17%" y="57%" width="66%" height="20%" layer="2">
<area x="17%" y="87%" width="66%" height="7%" layer="3">
<drawtext name="starttime" x="1%" valign="center" font="{regular}" fontsize="80%" color="{clrGray}" text="{nextstart}" />
<drawtext align="right" name="duration" valign="center" font="{regular}" fontsize="75%" color="{clrGray}" text="{nextduration}min" />
<drawtext x="{width(starttime)} + 40" y="0" width="{areawidth} - {width(starttime)} - {width(duration)} - 45" font="{regular}" fontsize="70%" color="{clrGray}" text="{nexttitle}" />
@@ -78,16 +78,16 @@
{remaining} Remaining time of current Schedule in seconds
-->
<progressbar>
<area x="67%" y="5%" width="30%" height="5%" layer="4">
<area x="67%" y="72%" width="30%" height="2%" layer="4">
<drawimage imagetype="skinpart" path="progressbar" x="{areaheight}/2" y="0" width="{elapsed}/{duration}*{areawidth} - {elapsed}/{duration}*{areaheight}" height="100%"/>
</area>
<area x="67%" y="5%" width="30%" height="5%" layer="5">
<area x="67%" y="72%" width="30%" height="2%" layer="5">
<drawimage imagetype="skinpart" path="progressbarend" x="{areaheight}/2 + {elapsed}/{duration}*{areawidth} - {elapsed}/{duration}*{areaheight} - 1" y="0" width="{areaheight}/2" height="100%"/>
</area>
</progressbar>
<progressbarback>
<area x="67%" y="5%" width="30%" height="5%" layer="3">
<area x="67%" y="72%" width="30%" height="2%" layer="3">
<drawimage imagetype="skinpart" path="progressbarback" x="0" y="0" width="100%" height="100%"/>
</area>
</progressbarback>
@@ -102,7 +102,7 @@
{newmails} true if mailbox plugin is installed and new mails are available
-->
<statusinfo>
<area x="17%" y="80%" width="67%" height="15%" layer="3">
<area x="17%" y="95%" width="67%" height="4%" layer="3">
<drawimage condition="{isDolby}" imagetype="icon" path="ico_dolby" x="{areaheight}*6 + 20" y="0" width="{areaheight}*3" height="{areaheight}"/>
<drawimage condition="{hasVT}" imagetype="icon" path="ico_videotext" x="{areaheight}*9 + 30" y="0" width="{areaheight}" height="{areaheight}"/>
<drawimage condition="{isEncrypted}" imagetype="icon" path="ico_crypted" x="{areaheight}*10 + 40" y="0" width="{areaheight}*2" height="{areaheight}"/>
@@ -127,7 +127,7 @@
{isWideScreen} true if aspect is 16:9 or 21:9
-->
<screenresolution>
<area x="17%" y="80%" width="67%" height="15%" layer="4">
<area x="17%" y="95%" width="67%" height="4%" layer="4">
<drawimage imagetype="icon" path="ico_{resolution}" x="0" y="0" width="{areaheight}*3" height="{areaheight}"/>
<drawimage condition="{isWideScreen}" imagetype="icon" path="ico_widescreen" x="{areaheight}*3 + 10" y="0" width="{areaheight}*3" height="{areaheight}"/>
</area>
@@ -143,7 +143,7 @@
{seppath} path for separator logo to use in imagetype "seplogo"
-->
<channelgroup>
<area x="17%" y="37%" width="66%" height="40%" layer="3">
<area x="17%" y="82%" width="66%" height="10%" layer="3">
<drawtext x="1%" width="24%" valign="center" font="{semibold}" fontsize="40%" color="{clrWhite}" text="{prevgroup}" />
<drawtext x="30%" width="40%" valign="center" font="{semibold}" fontsize="60%" color="{clrWhite}" text="{group}" />
<drawtext align="right" width="25%" valign="center" font="{semibold}" fontsize="40%" color="{clrWhite}" text="{nextgroup}" />
@@ -180,6 +180,17 @@
{devices[source]} source of the currently tuned channel
-->
<devices>
<area condition="{showdevices}" x="56%" y="94%" width="28%" height="6%" layer="2">
<loop name="devices" x="0" y="0" orientation="horizontal" columnwidth="{areawidth}/{numdevices}" rowheight="{areaheight}">
<drawtext x="0" y="0" font="{regular}" fontsize="40%" color="{clrWhite}" text="{devices[num]}: {devices[type]}" />
<drawtext condition="{devices[hascam]}" align="right" y="0" font="{regular}" fontsize="40%" color="{clrWhite}" text="(CAM {devices[cam]})" />
<drawtext condition="{devices[recording]} ++ {devices[livetv]}" x="0" y="35%" font="{regular}" fontsize="30%" width="100%" color="{clrRed}" text="LiveTV, Recording ({devices[channelname]}) " />
<drawtext condition="{devices[recording]} ++ not{devices[livetv]}" x="0" y="35%" font="{regular}" fontsize="30%" width="100%" color="{clrRed}" text="Recording ({devices[channelname]}) " />
<drawtext condition="not{devices[recording]} ++ {devices[livetv]}" x="0" y="35%" font="{regular}" fontsize="30%" width="100%" color="{clrWhite}" text="LiveTV ({devices[channelname]}) " />
<drawrectangle x="0" y="70%" width="{columnwidth} * {devices[signalstrength]} / 100 - 10 * {devices[signalstrength]} / 100" height="{rowheight}/15" color="{clrWhite}" />
<drawrectangle x="0" y="85%" width="{columnwidth} * {devices[signalquality]} / 100 - 10 * {devices[signalquality]} / 100" height="{rowheight}/15" color="{clrWhite}" />
</loop>
</area>
</devices>
<!-- Available Variables scrapercontent:
@@ -199,6 +210,12 @@
{isbanner} true if image is a banner, false if it is a poster
-->
<scrapercontent>
<area condition="{showposter}++{isbanner}" x="1%" y="3%" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="7">
<drawimage imagetype="image" path="{mediapath}" align="center" valign="center" width="{areawidth}" height="{areaheight}"/>
</area>
<area condition="{showposter}++not{isbanner}" x="0" y="3%" width="{areaheight}*0.5*{mediawidth}/{mediaheight}" height="40%" layer="7">
<drawimage imagetype="image" path="{mediapath}" align="center" valign="center" width="{areawidth}" height="{areaheight}"/>
</area>
</scrapercontent>
<!-- Available Variables datetime:
@@ -213,10 +230,10 @@
{year} year in yyyy
-->
<datetime>
<area x="17%" y="16%" width="67%" height="18%" layer="3">
<drawtext align="right" y="0" font="{semibold}" fontsize="100%" color="{clrWhite}" text="{daynameshort} {day}.{month}" />
<area x="17%" y="74%" width="67%" height="6%" layer="3">
<drawtext align="right" valign="center" font="{semibold}" fontsize="90%" color="{clrWhite}" text="{dayname} {day}.{month}" />
</area>
<area x="86%" y="80%" width="{areaheight}*0.6" height="16%" layer="3">
<area x="86%" y="95%" width="{areaheight}*0.18" height="5%" layer="3">
<drawtext align="center" y="0" font="{digital}" fontsize="100%" color="{clrWhite}" text="{time}" />
</area>
</datetime>
@@ -228,19 +245,19 @@
{hmins} current "hourminutes" to display an hour hand
-->
<time>
<area x="86%" y="20%" width="{areaheight}*0.6" height="{areaheight}*0.6" layer="5">
<area x="86%" y="77%" width="{areaheight}*0.18" height="{areaheight}*0.18" layer="5">
<drawimage imagetype="skinpart" path="watchhands/s_{sec}" x="0" y="0" width="100%" height="100%"/>
</area>
<area x="86%" y="20%" width="{areaheight}*0.6" height="{areaheight}*0.6" layer="4">
<area x="86%" y="77%" width="{areaheight}*0.18" height="{areaheight}*0.18" layer="4">
<drawimage imagetype="skinpart" path="watchhands/m_{min}" x="0" y="0" width="100%" height="100%"/>
</area>
<area x="86%" y="20%" width="{areaheight}*0.6" height="{areaheight}*0.6" layer="3">
<area x="86%" y="77%" width="{areaheight}*0.18" height="{areaheight}*0.18" layer="3">
<drawimage imagetype="skinpart" path="watchhands/h_{hmins}" x="0" y="0" width="100%" height="100%"/>
</area>
</time>
<currentweather>
<area x="0" y="0" width="11%" height="16%" layer="3">
<area x="0" y="70%" width="11%" height="5%" layer="3">
<drawimage name="weathericon" imagetype="icon" path="{icon}" x="{areawidth}/2 + {width(temperature)}/2 - {width(weathericon)}/2 + 5" valign="center" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
<drawtext name="temperature" x="{areawidth}/2 - {width(temperature)}/2 - {width(weathericon)}/2" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{temperature}°C" />
</area>
@@ -254,13 +271,13 @@
{error} true if message is a error message
-->
<message>
<area x="5%" y="25%" width="90%" height="50%" layer="6">
<area x="5%" y="80%" width="90%" height="15%" layer="6">
<drawimage condition="{status}" imagetype="skinpart" path="messageblue" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{info}" imagetype="skinpart" path="messagegreen" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{warning}" imagetype="skinpart" path="messageyellow" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{error}" imagetype="skinpart" path="messagered" x="0" y="0" width="100%" height="100%" />
</area>
<area x="5%" y="25%" width="90%" height="50%" layer="7">
<area x="5%" y="80%" width="90%" height="15%" layer="6">
<drawtext align="center" valign="center" font="{regular}" fontsize="40%" color="{clrWhite}" text="{text}" />
</area>
</message>