updated metrixhd

This commit is contained in:
louis
2016-07-23 09:34:32 +02:00
parent 0534a8ae06
commit e3525032e8
78 changed files with 2628 additions and 1063 deletions

View File

@@ -12,7 +12,15 @@
<fill color="{menuheader}" />
</area>
</background>
<!--
<header orientation="vertical">
<area x="0" y="0" width="40%" height="10%" layer="2">
<drawtext condition="not{hasicon}" x="10" width="{areawidth}-10" valign="center" font="{light}" fontsize="50%" color="{fontdefault}" text="{title}" />
<drawimage condition="{hasicon}" name="menuicon" imagetype="menuicon" path="{icon}" x="10" valign="center" width="{areaheight}*8/10" height="80%"/>
<drawtextbox condition="{hasicon}" maxlines="2" valign="center" x="{width(menuicon)}+20" width="{areawidth}-{width(menuicon)}-30" font="{light}" fontsize="50%" color="{fontdefault}" text="{title}" />
</area>
</header>
-->
<header orientation="horizontal">
<!-- horizontal menu -->
<area x="0" y="0" width="70%" height="10%" layer="2">
@@ -71,10 +79,14 @@
</areacontainer>
<areacontainer condition="not{folder}++{current}">
<areascroll scrollelement="menutext" x="1%" width="51%" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" layer="3">
<areascroll condition="not{doitsimple}" scrollelement="menutext" x="1%" width="51%" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" layer="3">
<drawtext name="recdate" x="10" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{printf('%02d.%02d.%d', daynumeric, month, year)} {time}" />
<drawtext name="menutext" x="{posx(recdate)} + {width(recdate)} + 30" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{name}" />
</areascroll>
<area condition="{doitsimple}" x="1%" width="51%" layer="3">
<drawtext name="recdate" x="10" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{printf('%02d.%02d.%d', daynumeric, month, year)} {time}" />
<drawtext name="menutext" x="{posx(recdate)} + {width(recdate)} + 30" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{name}" />
</area>
<area x="1%" width="58%" layer="4">
<drawimage condition="{new}" name="new" imagetype="icon" path="ico_new_active" x="{areawidth} - {areaheight}" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
<drawimage condition="{new}++{cutted}" imagetype="icon" path="ico_cutted_active" x="{areawidth} - 2*{areaheight}" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
@@ -97,7 +109,7 @@
</currentelement>
</menuitems>
<menuitems x="0" y="10%" orientation="horizontal" width="100%" height="82%" align="center" numlistelements="10">
<menuitems x="0" y="10%" orientation="horizontal" width="100%" height="82%" align="center" numlistelements="8">
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<!-- Background -->
<area indicator="true" y="64%" height="36%" layer="2">
@@ -107,27 +119,37 @@
<areacontainer condition="not{current}">
<!-- recording folder -->
<area condition="{folder}" y="64%" height="36%" layer="3">
<drawimage name="foldericon" imagetype="icon" path="ico_recfolder" align="center" y="0" width="0.6*{areaheight} * 92 / 136" height="0.6*{areaheight}" />
<drawtextbox align="center" maxlines="3" x="1%" y="63%" width="98%" height="37%" font="{light}" fontsize="12%" color="{fontdefault}" text="{name} ({numrecordingsfolder}, {newrecordingsfolder} new)" />
<drawimage name="foldericon" imagetype="icon" path="recfolder" align="center" y="0" width="0.7*{areaheight} * 92 / 136" height="0.7*{areaheight}" />
<drawtextbox align="center" maxlines="3" x="1%" y="63%" width="98%" height="37%" font="{light}" fontsize="12%" color="{fontdefault}" text="{name} &#10;({numrecordingsfolder}, {newrecordingsfolder} {tr(new)})" />
</area>
<!-- recording item -->
<area condition="not{folder}" y="64%" height="36%" layer="3">
<drawimage condition="{hasposterthumbnail}" imagetype="image" path="{thumbnailpath}" align="center" y="8" width="{areaheight}*0.6 * {thumbnailwidth} / {thumbnailheight}" height="{areaheight}*0.6"/>
<drawimage condition="not{hasposterthumbnail}" imagetype="icon" path="ico_recfile" align="center" y="10%" width="{areaheight}*0.5 * {thumbnailwidth} / {thumbnailheight}" height="{areaheight}*0.4"/>
<drawtextbox align="center" maxlines="3" x="1%" y="63%" width="98%" height="37%" font="{light}" fontsize="12%" color="{fontdefault}" text="{name}" />
<drawimage condition="{hasposterthumbnail}" imagetype="image" path="{thumbnailpath}" align="center" y="10" width="{areaheight}*0.55 * {thumbnailwidth} / {thumbnailheight}" height="{areaheight}*0.55"/>
<drawimage condition="not{hasposterthumbnail}" imagetype="icon" path="recfile" align="center" y="10" width="{areaheight}*0.55 * {thumbnailwidth} / {thumbnailheight}" height="{areaheight}*0.55"/>
<drawtextbox align="center" maxlines="3" x="1%" y="63%" width="98%" height="37%" font="{light}" fontsize="12%" color="{fontdefault}" text="{name}" />
</area>
<area condition="not{folder}" y="64%" height="12%" layer="4">
<drawimage condition="{new}" name="new" imagetype="icon" path="ico_new" x="5" y="5" width="0.4*{areaheight}" height="0.4*{areaheight}" />
<drawimage condition="{new}++{cutted}" imagetype="icon" path="ico_cutted" x="5" y="{areaheight}*0.5 + 5" width="0.4*{areaheight}" height="0.4*{areaheight}" />
<drawimage condition="not{new}++{cutted}" imagetype="icon" path="ico_cutted" x="5" y="5" width="0.4*{areaheight}" height="0.4*{areaheight}" />
</area>
</areacontainer>
<areacontainer condition="{current}">
<!-- recording folder -->
<area condition="{folder}" y="64%" height="36%" layer="3">
<drawimage name="foldericon" imagetype="icon" path="ico_recfolder_active" align="center" y="0" width="0.6*{areaheight} * 92 / 136" height="0.6*{areaheight}" />
<drawtextbox align="center" maxlines="3" x="1%" y="63%" width="98%" height="37%" font="{light}" fontsize="12%" color="{fontactive}" text="{name} ({numrecordingsfolder}, {newrecordingsfolder} new)" />
<drawimage name="foldericon" imagetype="icon" path="recfolder_active" align="center" y="0" width="0.7*{areaheight} * 92 / 136" height="0.7*{areaheight}" />
<drawtextbox align="center" maxlines="3" x="1%" y="63%" width="98%" height="37%" font="{light}" fontsize="12%" color="{fontactive}" text="{name} &#10;({numrecordingsfolder}, {newrecordingsfolder} {tr(new)})" />
</area>
<!-- recording item -->
<area condition="not{folder}" y="64%" height="36%" layer="3">
<drawimage condition="{hasposterthumbnail}" imagetype="image" path="{thumbnailpath}" align="center" y="8" width="{areaheight}*0.6 * {thumbnailwidth} / {thumbnailheight}" height="{areaheight}*0.6"/>
<drawimage condition="not{hasposterthumbnail}" imagetype="icon" path="ico_recfile_active" align="center" y="10%" width="{areaheight}*0.5 * {thumbnailwidth} / {thumbnailheight}" height="{areaheight}*0.4"/>
<drawtextbox align="center" maxlines="3" x="1%" y="63%" width="98%" height="37%" font="{light}" fontsize="12%" color="{fontactive}" text="{name}" />
<drawimage condition="{hasposterthumbnail}" imagetype="image" path="{thumbnailpath}" align="center" y="10" width="{areaheight}*0.55 * {thumbnailwidth} / {thumbnailheight}" height="{areaheight}*0.55"/>
<drawimage condition="not{hasposterthumbnail}" imagetype="icon" path="recfile_active" align="center" y="10" width="{areaheight}*0.55 * {thumbnailwidth} / {thumbnailheight}" height="{areaheight}*0.55"/>
<drawtextbox align="center" maxlines="3" x="1%" y="63%" width="98%" height="37%" font="{light}" fontsize="12%" color="{fontactive}" text="{name}" />
</area>
<area condition="not{folder}" y="64%" height="12%" layer="4">
<drawimage condition="{new}" name="new" imagetype="icon" path="ico_new_active" x="5" y="5" width="0.4*{areaheight}" height="0.4*{areaheight}" />
<drawimage condition="{new}++{cutted}" imagetype="icon" path="ico_cutted_active" x="5" y="{areaheight}*0.5 + 5" width="0.4*{areaheight}" height="0.4*{areaheight}" />
<drawimage condition="not{new}++{cutted}" imagetype="icon" path="ico_cutted_active" x="5" y="5" width="0.4*{areaheight}" height="0.4*{areaheight}" />
</area>
</areacontainer>
</listelement>
@@ -135,11 +157,11 @@
<areacontainer condition="not{hasposter}">
<area x="5%" y="0" width="90%" height="61%" layer="2">
<!-- header -->
<drawtext name="title" x="2%" y="0" font="{semibold}" fontsize="12%" color="{fontactive}" text="{epgname}" />
<drawtext name="shorttext" x="2%" y="{height(title)}" width="98%" font="{semibold}" fontsize="10%" color="{fontactive}" text="{shorttext}" />
<drawtext name="datetime" x="2%" y="{posy(shorttext)} + {height(shorttext)}" font="{light}" fontsize="9%" color="{fontactive}" text="{date} {time}, {duration} min" />
<drawtext name="title" x="2%" y="0" width="96%" font="{semibold}" fontsize="12%" color="{fontactive}" text="{epgname}" />
<drawtext name="shorttext" x="2%" y="{height(title)}" width="96%" font="{semibold}" fontsize="10%" color="{fontactive}" text="{shorttext}" />
<drawtext name="datetime" x="2%" y="{posy(shorttext)} + {height(shorttext)}" width="96%" font="{light}" fontsize="9%" color="{fontactive}" text="{date} {time}, {duration} min" />
<!-- description -->
<drawtextbox name="desc" x="2%" y="{posy(datetime)} + {height(datetime)} + 10" width="{areawidth}*0.98" height="{areaheight}*0.92 - {posy(datetime)}" font="{light}" fontsize="9%" color="{fontactive}" text="{description}" />
<drawtextbox name="desc" x="2%" y="{posy(datetime)} + {height(datetime)} + 10" width="{areawidth}*0.98" height="{areaheight}*0.9 - {posy(datetime)}" font="{light}" fontsize="9%" color="{fontactive}" text="{description}" />
</area>
</areacontainer>
<areacontainer condition="{hasposter}">
@@ -147,30 +169,48 @@
<!-- scraper poster -->
<drawimage name="poster" imagetype="image" path="{posterpath}" x="1%" y="2%" width="{areaheight}*0.96 * {posterwidth} / {posterheight}" height="96%"/>
<!-- header -->
<drawtext name="title" x="{width(poster)} + 0.04*{areawidth}" y="0" font="{semibold}" fontsize="12%" color="{fontactive}" text="{epgname}" />
<drawtext name="shorttext" x="{width(poster)} + 0.04*{areawidth}" y="{height(title)}" width="0.96*{areawidth} - {width(poster)}" font="{semibold}" fontsize="10%" color="{fontactive}" text="{shorttext}" />
<drawtext name="datetime" x="{width(poster)} + 0.04*{areawidth}" y="{posy(shorttext)} + {height(shorttext)}" font="{light}" fontsize="9%" color="{fontactive}" text="{date} {time}, {duration} min" />
<drawtext name="title" x="{width(poster)} + 0.04*{areawidth}" y="0" width="0.94*{areawidth} - {width(poster)}" font="{semibold}" fontsize="12%" color="{fontactive}" text="{epgname}" />
<drawtext name="shorttext" x="{width(poster)} + 0.04*{areawidth}" y="{height(title)}" width="0.94*{areawidth} - {width(poster)}" font="{semibold}" fontsize="10%" color="{fontactive}" text="{shorttext}" />
<drawtext name="datetime" x="{width(poster)} + 0.04*{areawidth}" y="{posy(shorttext)} + {height(shorttext)}" width="0.94*{areawidth} - {width(poster)}" font="{light}" fontsize="9%" color="{fontactive}" text="{date} {time}, {duration} min" />
<!-- description -->
<drawtextbox name="desc" x="{width(poster)} + 0.04*{areawidth}" y="{posy(datetime)} + {height(datetime)} + 10" width="{areawidth}*0.94 - {width(poster)}" height="{areaheight}*0.92 - {posy(datetime)}" font="{light}" fontsize="9%" color="{fontactive}" text="{description}" />
<drawtextbox name="desc" x="{width(poster)} + 0.04*{areawidth}" y="{posy(datetime)} + {height(datetime)} + 10" width="{areawidth}*0.94 - {width(poster)}" height="{areaheight}*0.9 - {posy(datetime)}" font="{light}" fontsize="9%" color="{fontactive}" text="{description}" />
</area>
</areacontainer>
</currentelement>
</menuitems>
<scrollbar orientation="horizontal">
<area x="0" y="{areaheight}*0.6" width="100%" height="{areaheight}*0.025" layer="3">
<fill color="{clrWhite}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4 + {areawidth} * {offset} / 1000" y="4" width="{areawidth} * {height} / 1000 - 8" height="{areaheight} - 8" color="{clrWhite}" />
</area>
<areacontainer condition="lt({indexshowscrollbar},2)">
<area condition="{hasprev}||{hasnext}" x="0" y="{areaheight}*0.6" width="100%" height="{areaheight}*0.025" layer="3">
<fill color="{scrollbar}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4 + {areawidth} * {offset} / 1000" y="4" width="{areawidth} * {height} / 1000 - 8" height="{areaheight} - 8" color="{scrollbar}" />
</area>
</areacontainer>
<areacontainer condition="eq({indexshowscrollbar},2)">
<area x="0" y="{areaheight}*0.6" width="100%" height="{areaheight}*0.025" layer="3">
<fill color="{scrollbar}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4 + {areawidth} * {offset} / 1000" y="4" width="{areawidth} * {height} / 1000 - 8" height="{areaheight} - 8" color="{scrollbar}" />
</area>
</areacontainer>
</scrollbar>
<scrollbar orientation="vertical">
<area x="60%" y="10%" width="2%" height="82%" layer="3">
<fill color="{scrollbar}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{scrollbar}" />
</area>
<areacontainer condition="lt({indexshowscrollbar},2)">
<area condition="{hasprev}||{hasnext}" x="60%" y="10%" width="2%" height="82%" layer="3">
<fill color="{scrollbar}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{scrollbar}" />
</area>
</areacontainer>
<areacontainer condition="eq({indexshowscrollbar},2)">
<area x="60%" y="10%" width="2%" height="82%" layer="3">
<fill color="{scrollbar}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{scrollbar}" />
</area>
</areacontainer>
</scrollbar>
<colorbuttons orientation="horizontal">