mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
initial commit version 0.0.1
This commit is contained in:
46
skins/default/xmlfiles/displayaudiotracks.xml
Normal file
46
skins/default/xmlfiles/displayaudiotracks.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displayaudiotracks SYSTEM "../../dtd/displayaudiotracks.dtd">
|
||||
|
||||
<displayaudiotracks x="25%" y="0" width="50%" height="100%" fadetime="{fadeTime}">
|
||||
<!-- Available Variables background:
|
||||
{numtracks} number of displayed tracks
|
||||
-->
|
||||
<background>
|
||||
<area x="0" y="{areaheight} - {numtracks} * {areaheight} / 10 - {areaheight} / 10" width="100%" height="{areaheight} / 10 + {areaheight} / 10 * {numtracks}" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
</background>
|
||||
|
||||
<!-- Available Variables header:
|
||||
{numtracks} number of displayed tracks
|
||||
{title} title of menu
|
||||
-->
|
||||
<header>
|
||||
<area x="0" y="{areaheight} - {numtracks} * {areaheight} / 10 - {areaheight} / 10" width="100%" height="{areaheight} / 10" layer="2">
|
||||
<drawtext x="10" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
||||
<drawimage condition="{isstereo}" imagetype="icon" path="ico_stereo" x="{areawidth} - {areaheight}*0.9" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
<drawimage condition="{isac3}" imagetype="icon" path="ico_ac3" x="{areawidth} - {areaheight}*0.9" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
</area>
|
||||
</header>
|
||||
|
||||
<!-- Available Variables header:
|
||||
{numelements} number of displayed tracks
|
||||
-->
|
||||
<menuitems x="0" y="{areaheight} - {numelements} * {areaheight} / 10" orientation="vertical" width="100%" height="{numelements} * {areaheight} / 10" align="top" numlistelements="{numelements}">
|
||||
<!-- Available Variables auidotrack listelement:
|
||||
{current} true if item is currently selected
|
||||
{title} title of auio track
|
||||
-->
|
||||
<listelement>
|
||||
<!-- Background -->
|
||||
<area x="1%" width="98%" layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<area x="1%" width="98%" layer="3">
|
||||
<drawtext x="10" valign="center" font="{light}" fontsize="60%" color="{clrWhite}" text="{title}" />
|
||||
</area>
|
||||
</listelement>
|
||||
</menuitems>
|
||||
|
||||
</displayaudiotracks>
|
||||
213
skins/default/xmlfiles/displaychannel.xml
Normal file
213
skins/default/xmlfiles/displaychannel.xml
Normal file
@@ -0,0 +1,213 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displaychannel SYSTEM "../../dtd/displaychannel.dtd">
|
||||
|
||||
<displaychannel x="0" y="0" width="100%" height="100%" fadetime="{fadeTime}">
|
||||
<background>
|
||||
<!-- background infobar -->
|
||||
<area x="0" y="80%" width="100%" height="20%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<!-- background datetime -->
|
||||
<area x="70%" y="0" width="30%" height="13%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
<drawrectangle x="0" y="0" width="45%" height="100%" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<!-- background channellogo -->
|
||||
<area x="0" y="80%" width="20%" height="20%" layer="2">
|
||||
<fill color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</background>
|
||||
|
||||
<!-- Available Variables channelinfo:
|
||||
{channelnumber} Number of Channel, with "-" in case of channel switching
|
||||
{channelname} Name of current Channel
|
||||
{channellogoexists} true if a channel logo exists
|
||||
{channelid} ChannelID as path to display channel logo
|
||||
{switching} true if a number is pressed on the remote to switch to a dedicated channel
|
||||
-->
|
||||
<channelinfo>
|
||||
<area x="22%" y="80%" width="76%" height="7%" layer="2">
|
||||
<fill condition="not{switching}" color="{clrTransparent}" />
|
||||
<drawtext condition="{switching}" x="0" y="-10" font="{light}" fontsize="99%" color="{clrWhite}" text="{channelnumber}: {channelname}" />
|
||||
</area>
|
||||
<area x="0" y="80%" width="20%" height="20%" layer="3">
|
||||
<drawimage cache="true" condition="{channellogoexists}" imagetype="channellogo" path="{channelid}" height="98%" align="center" valign="center" />
|
||||
<drawtext condition="not{channellogoexists}" x="5" valign="center" font="{light}" fontsize="40%" color="{clrWhite}" text="{channelnumber}: {channelname}" />
|
||||
</area>
|
||||
</channelinfo>
|
||||
<!-- Available Variables epginfo:
|
||||
{currenttitle} Title of the current Schedule
|
||||
{currentsubtitle} Subtitle of the current Schedule
|
||||
{currentstart} Start of current Schedule in hh:mm
|
||||
{currentstop} End of current Schedule in hh:mm
|
||||
{currentduration} Duration of current Schedule in min
|
||||
{currentelapsed} Elapsed time of current Schedule in min
|
||||
{currentremaining} Remaining time of current Schedule in min
|
||||
{currentrecording} true if current Schedule is recorded
|
||||
{nexttitle} Title of next Schedule
|
||||
{nextsubtitle} Subtitle of next Schedule
|
||||
{nextstart} Start of next Schedule in hh:mm
|
||||
{nextstop} Stop of next Schedule in hh:mm
|
||||
{nextduration} Duration of next Schedule in min
|
||||
{nextrecording} true if next Schedule will be recorded
|
||||
-->
|
||||
<epginfo>
|
||||
<area x="22%" y="80%" width="76%" height="7%" layer="2">
|
||||
<drawtext name="title" x="0" valign="center" font="{light}" fontsize="99%" color="{clrWhite}" text="{currenttitle}" width="{areawidth} - {width(startstop)}"/>
|
||||
<drawtext name="startstop" align="right" y="0" font="{light}" fontsize="60%" color="{clrWhite}" text="{currentstart} - {currentstop}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="60%" color="{clrWhite}" text="+ {currentremaining} min" />
|
||||
</area>
|
||||
<area x="22%" y="87%" width="76%" height="7%" layer="2">
|
||||
<drawtext x="0" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{nexttitle}" width="{areawidth} - {width(startstop)}"/>
|
||||
<drawtext name="startstop" align="right" y="0" font="{light}" fontsize="60%" color="{clrWhite}" text="{nextstart} - {nextstop}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="60%" color="{clrWhite}" text="{nextduration} min" />
|
||||
</area>
|
||||
</epginfo>
|
||||
|
||||
<!-- Available Variables progressbar:
|
||||
{start} Start of current Schedule in hh:mm
|
||||
{stop} End of current Schedule in hh:mm
|
||||
{duration} Total Duration of current Schedule in seconds
|
||||
{elapsed} Elapsed time of current Schedule in seconds
|
||||
{remaining} Remaining time of current Schedule in seconds
|
||||
-->
|
||||
<progressbar>
|
||||
<area x="22%" y="87%" width="76%" height="3" layer="2">
|
||||
<drawrectangle x="0" y="1" width="100%" height="1" color="{clrWhite}" />
|
||||
<drawrectangle x="0" y="0" width="{elapsed}/{duration}*{areawidth}" height="3" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</progressbar>
|
||||
|
||||
<!-- Available Variables statusinfo:
|
||||
{isRadio} true if channel is a radio channel
|
||||
{hasVT} true if channel has video text
|
||||
{isStereo} true if a stereo audio trac is available
|
||||
{isDolby} true if a dolby audio track is available
|
||||
{isEncrypted} true if channel is encrypted
|
||||
{isRecording} true if currently a recording is running on this channel
|
||||
-->
|
||||
<statusinfo>
|
||||
<area x="22%" y="94%" width="76%" height="6%" layer="2">
|
||||
<!-- encrypted / decrypted icon -->
|
||||
<drawimage name="enc" condition="{isEncrypted}" imagetype="icon" path="ico_crypt_on" x="{areawidth} - {width(enc)}" valign="center" width="{areaheight}*0.8*1.76" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{isEncrypted}" imagetype="icon" path="ico_crypt_off" x="{areawidth} - {width(enc)}" valign="center" width="{areaheight}*0.8*1.76" height="{areaheight}*0.8"/>
|
||||
<!-- dolby icon -->
|
||||
<drawimage name="dolby" condition="{isDolby}" imagetype="icon" path="ico_dolby_on" x="{posx(enc)} - 15 - {width(dolby)}" valign="center" width="{areaheight}*0.8*1.48" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{isDolby}" imagetype="icon" path="ico_dolby_off" x="{posx(enc)} - 15 - {width(dolby)}" valign="center" width="{areaheight}*0.8*1.48" height="{areaheight}*0.8"/>
|
||||
<!-- videotext icon -->
|
||||
<drawimage name="txt" condition="{hasVT}" imagetype="icon" path="ico_txt_on" x="{posx(dolby)} - 15 - {width(txt)}" valign="center" width="{areaheight}*0.8*1.3" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{hasVT}" imagetype="icon" path="ico_txt_off" x="{posx(dolby)} - 15 - {width(txt)}" valign="center" width="{areaheight}*0.8*1.3" height="{areaheight}*0.8"/>
|
||||
<!-- recording icon -->
|
||||
<drawimage name="rec" condition="{isRecording}" imagetype="icon" path="ico_rec_on" x="{posx(txt)} - 15 - {width(rec)}" valign="center" width="{areaheight}*0.8*1.96" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{isRecording}" imagetype="icon" path="ico_rec_off" x="{posx(txt)} - 15 - {width(rec)}" valign="center" width="{areaheight}*0.8*1.96" height="{areaheight}*0.8"/>
|
||||
</area>
|
||||
</statusinfo>
|
||||
|
||||
<!-- Available Variables screenresolution:
|
||||
{screenwidth} width of currently displayed channel in px
|
||||
{screenheight} height of currently displayed channel in px
|
||||
{resolution} resolution: hd1080i, hd720p, sd576i
|
||||
{aspect} screen aspect, each 4:3, 16:9 or 21:9
|
||||
{isHD} true for hd1080i and hd720p
|
||||
{isWideScreen} true if aspect is 16:9 or 21:9
|
||||
-->
|
||||
<screenresolution>
|
||||
<area x="22%" y="94%" width="76%" height="6%" layer="2">
|
||||
<!-- widescreen icon -->
|
||||
<drawimage name="widescreen" condition="{isWideScreen}" imagetype="icon" path="ico_widescreen_on" x="{areawidth} - {areaheight}*0.8*1.76 - 15 - {areaheight}*0.8*1.48 - 15 - {areaheight}*0.8*1.3 - 15 - {areaheight}*0.8*1.96 - 15 - {width(widescreen)}" valign="center" width="{areaheight}*0.8*1.87" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{isWideScreen}" imagetype="icon" path="ico_widescreen_off" x="{areawidth} - {areaheight}*0.8*1.76 - 15 - {areaheight}*0.8*1.48 - 15 - {areaheight}*0.8*1.3 - 15 - {areaheight}*0.8*1.96 - 15 - {width(widescreen)}" valign="center" width="{areaheight}*0.8*1.87" height="{areaheight}*0.8"/>
|
||||
<!-- hd/sd icon -->
|
||||
<drawimage name="hd" condition="{isHD}" imagetype="icon" path="ico_hd_on" x="{posx(widescreen)} - 15 - {width(hd)}" valign="center" width="{areaheight}*0.8*2.04" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{isHD}" imagetype="icon" path="ico_hd_off" x="{posx(widescreen)} - 15 - {width(hd)}" valign="center" width="{areaheight}*0.8*2.04" height="{areaheight}*0.8"/>
|
||||
<!-- screenresolution text -->
|
||||
<drawtext name="reslabel" x="{posx(hd)} - 30 - {width(reslabel)}" valign="center" font="{light}" fontsize="70%" color="{clrWhite}" text="{screenwidth}x{screenheight}" />
|
||||
</area>
|
||||
</screenresolution>
|
||||
|
||||
<!-- Available Variables dvbdeviceinfo:
|
||||
{prevAvailable} true if previous Channel Group is avaialble
|
||||
{nextAvailable} true if next Channel Group is avaialble
|
||||
{group} Name of current Channel Group
|
||||
{nextgroup} Name of next Channel Group
|
||||
{prevgroup} Name of prev Channel Group
|
||||
{sepexists} true if a channel separator logo exists
|
||||
{seppath} path for separator logo to use in imagetype "seplogo"
|
||||
-->
|
||||
<channelgroup>
|
||||
<area x="0" y="80%" width="20%" height="20%" layer="2">
|
||||
<drawimage condition="{sepexists}" imagetype="seplogo" path="{seppath}" height="98%" align="center" valign="center" />
|
||||
<drawimage condition="not{sepexists}" imagetype="icon" path="ico_channelsep" align="center" valign="center" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
</area>
|
||||
<area x="22%" y="85%" width="76%" height="10%" layer="2">
|
||||
<drawtext x="0" width="30%" valign="center" font="{light}" fontsize="60%" color="{clrWhite}" text="{prevgroup}" />
|
||||
<drawtext x="30%" width="40%" valign="center" font="{semibold}" fontsize="80%" color="{clrWhite}" text="{group}" />
|
||||
<drawtext align="right" width="30%" valign="center" font="{light}" fontsize="60%" color="{clrWhite}" text="{nextgroup}" />
|
||||
</area>
|
||||
</channelgroup>
|
||||
|
||||
<!-- Available Variables signalquality:
|
||||
{signalstrength} STR value of currently displayed channel
|
||||
{signalquality} SNR value of currently displayed channel
|
||||
-->
|
||||
<signalquality>
|
||||
<area x="22%" y="94%" width="76%" height="6%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{light}" fontsize="70%" color="{clrWhite}" text="STR: {signalstrength}% SNR: {signalquality}%" />
|
||||
</area>
|
||||
</signalquality>
|
||||
|
||||
<!-- background of signalmeter, will only be drawn if signalquality was deleted -->
|
||||
<signalqualityback>
|
||||
</signalqualityback>
|
||||
|
||||
<!-- Available Variables scrapercontent:
|
||||
{mediapath} Full Path of Poster or Banner to use in image path attribute
|
||||
{mediawidth} width of image in pixel
|
||||
{mediaheight} height of image in pixel
|
||||
{isbanner} true if image is a banner, false if it is a poster
|
||||
-->
|
||||
<scrapercontent>
|
||||
<area condition="{isbanner}" x="0" y="0" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="2">
|
||||
<drawimage imagetype="image" path="{mediapath}" align="center" valign="center" width="{areawidth}" height="{areaheight}"/>
|
||||
</area>
|
||||
<area condition="not{isbanner}" x="0" y="0" width="{areaheight}*0.5*{mediawidth}/{mediaheight}" height="50%" layer="2">
|
||||
<drawimage imagetype="image" path="{mediapath}" x="5" y="5" width="{areawidth}-10" height="{areaheight}-10"/>
|
||||
</area>
|
||||
</scrapercontent>
|
||||
|
||||
<!-- Available Variables datetime:
|
||||
{time} time in hh:mm
|
||||
{day} day in digits
|
||||
{dayleadingzero} day in digits with leading 0
|
||||
{dayname} Full name of the day
|
||||
{daynameshort} Short 3 char name of the day
|
||||
{month} month in digits with leading 0
|
||||
{monthname} Full name of the month
|
||||
{monthnameshort} 3 letter abbrivation of month name
|
||||
{year} year in yyyy
|
||||
-->
|
||||
<datetime>
|
||||
<area x="70%" y="0" width="13%" height="13%" layer="2">
|
||||
<drawtext align="right" y="0" font="{light}" fontsize="50%" color="{clrWhite}" text="{dayname}" />
|
||||
<drawtext align="right" y="48%" font="{light}" fontsize="50%" color="{clrWhite}" text="{day}. {monthnameshort}" />
|
||||
</area>
|
||||
<area x="85%" y="0" width="13%" height="13%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{time}" />
|
||||
</area>
|
||||
</datetime>
|
||||
<!-- Available Variables message:
|
||||
{text} message text
|
||||
{status} true if message is a status message
|
||||
{info} true if message is a info message
|
||||
{warning} true if message is a warn message
|
||||
{error} true if message is a error message
|
||||
-->
|
||||
<message>
|
||||
<area x="10%" y="45%" width="80%" height="10%" layer="1">
|
||||
<drawrectangle condition="{status}" x="20" y="0" width="20" height="100%" color="{clrGreen}" />
|
||||
<drawrectangle condition="{info}" x="20" y="0" width="20" height="100%" color="{clrBlue}" />
|
||||
<drawrectangle condition="{warning}" x="20" y="0" width="20" height="100%" color="{clrYellow}" />
|
||||
<drawrectangle condition="{error}" x="20" y="0" width="20" height="100%" color="{clrRed}" />
|
||||
<drawtext align="center" valign="center" width="{areawidth} - 80" font="{light}" fontsize="40%" color="{clrWhite}" text="{text}" />
|
||||
</area>
|
||||
</message>
|
||||
</displaychannel>
|
||||
155
skins/default/xmlfiles/displaymenu.xml
Normal file
155
skins/default/xmlfiles/displaymenu.xml
Normal file
@@ -0,0 +1,155 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displaymenu SYSTEM "../../dtd/displaymenu.dtd" [
|
||||
<!ENTITY displaymenudefault SYSTEM "displaymenudefault.xml">
|
||||
<!ENTITY displaymenumain SYSTEM "displaymenumain.xml">
|
||||
<!ENTITY displaymenusetup SYSTEM "displaymenusetup.xml">
|
||||
<!ENTITY displaymenuschedules SYSTEM "displaymenuschedules.xml">
|
||||
<!ENTITY displaymenutimers SYSTEM "displaymenutimers.xml">
|
||||
<!ENTITY displaymenuchannels SYSTEM "displaymenuchannels.xml">
|
||||
<!ENTITY displaymenurecordings SYSTEM "displaymenurecordings.xml">
|
||||
<!ENTITY displaymenudetailepg SYSTEM "displaymenudetailepg.xml">
|
||||
<!ENTITY displaymenudetailrecording SYSTEM "displaymenudetailrecording.xml">
|
||||
<!ENTITY displaymenudetailtext SYSTEM "displaymenudetailtext.xml">
|
||||
]>
|
||||
|
||||
<displaymenu x="3%" y="5%" width="94%" height="90%" fadetime="0">
|
||||
<!--
|
||||
The following background, header, datetime and colorbuttons definitions are default
|
||||
implementations. If one or more of these elements are not implemented in the subview,
|
||||
the default implementations are used.
|
||||
-->
|
||||
<background>
|
||||
<!-- background left Menu -->
|
||||
<area x="0" y="0" width="63%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<!-- background right detail view -->
|
||||
<area x="63%" y="3%" width="37%" height="94%" layer="1">
|
||||
<fill color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</background>
|
||||
<!-- 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
|
||||
-->
|
||||
<header>
|
||||
<area x="0" y="0" width="41%" height="10%" layer="2">
|
||||
<drawtext condition="not{hasicon}" x="5" width="{areawidth}-10" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
||||
<drawimage condition="{hasicon}" name="menuicon" imagetype="menuicon" path="{icon}" x="5" valign="center" width="{areaheight}*8/10" height="80%"/>
|
||||
<drawtext condition="{hasicon}" x="{areaheight}" valign="center" width="{areawidth}-{areaheight}-10" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
||||
</area>
|
||||
</header>
|
||||
<!-- Available Variables datetime:
|
||||
{time} time in hh:mm
|
||||
{day} day in digits
|
||||
{dayleadingzero} day in digits with leading 0
|
||||
{dayname} Full name of the day
|
||||
{daynameshort} Short 3 char name of the day
|
||||
{month} month in digits with leading 0
|
||||
{monthname} Full name of the month
|
||||
{monthnameshort} 3 letter abbrivation of month name
|
||||
{year} year in yyyy
|
||||
-->
|
||||
<datetime>
|
||||
<area x="41%" y="0" width="12%" height="10%" layer="2">
|
||||
<drawtext align="right" y="5%" font="{light}" fontsize="50%" color="{clrWhite}" text="{dayname}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="50%" color="{clrWhite}" text="{day}. {monthnameshort}" />
|
||||
</area>
|
||||
<area x="53%" y="0" width="10%" height="10%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{time}" />
|
||||
</area>
|
||||
</datetime>
|
||||
<!-- Available Variables message:
|
||||
{text} message text
|
||||
{status} true if message is an status message
|
||||
{info} true if message is an info message
|
||||
{warning} true if message is an warn message
|
||||
{error} true if message is an error message
|
||||
-->
|
||||
<message>
|
||||
<area x="5%" y="75%" width="90%" height="15%" layer="7">
|
||||
<fill color="{clrTransBlack}" />
|
||||
<drawrectangle condition="{status}" x="10" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawrectangle condition="{info}" x="10" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
<drawrectangle condition="{warning}" x="10" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawrectangle condition="{error}" x="10" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{clrWhite}" text="{text}" />
|
||||
</area>
|
||||
</message>
|
||||
<!-- Available Variables colorbuttons:
|
||||
{red1} true if red button is button 1
|
||||
{red2} true if red button is button 2
|
||||
{red3} true if red button is button 3
|
||||
{red4} true if red button is button 4
|
||||
{green1} true if green button is button 1
|
||||
{green2} true if green button is button 2
|
||||
{green3} true if green button is button 3
|
||||
{green4} true if green button is button 4
|
||||
{yellow1} true if yellow button is button 1
|
||||
{yellow2} true if yellow button is button 2
|
||||
{yellow3} true if yellow button is button 3
|
||||
{yellow4} true if yellow button is button 4
|
||||
{blue1} true if blue button is button 1
|
||||
{blue2} true if blue button is button 2
|
||||
{blue3} true if blue button is button 3
|
||||
{blue4} true if blue button is button 4
|
||||
{red} label of red button
|
||||
{green} label of green button
|
||||
{yellow} label of yellow button
|
||||
{blue} label of blue button
|
||||
-->
|
||||
<colorbuttons>
|
||||
<area x="0" y="92%" width="15%" height="8%" layer="2">
|
||||
<drawtext condition="{red1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red1}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green1}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow1}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue1}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="15%" y="92%" width="15%" height="8%" layer="2">
|
||||
<drawtext condition="{red2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red2}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green2}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow2}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue2}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="30%" y="92%" width="15%" height="8%" layer="2">
|
||||
<drawtext condition="{red3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red3}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green3}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow3}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue3}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="45%" y="92%" width="15%" height="8%" layer="2">
|
||||
<drawtext condition="{red4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red4}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green4}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow4}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue4}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
</colorbuttons>
|
||||
&displaymenudefault;
|
||||
&displaymenumain;
|
||||
&displaymenusetup;
|
||||
&displaymenuschedules;
|
||||
&displaymenutimers;
|
||||
&displaymenuchannels;
|
||||
&displaymenurecordings;
|
||||
&displaymenudetailepg;
|
||||
&displaymenudetailrecording;
|
||||
&displaymenudetailtext;
|
||||
</displaymenu>
|
||||
117
skins/default/xmlfiles/displaymenuchannels.xml
Normal file
117
skins/default/xmlfiles/displaymenuchannels.xml
Normal file
@@ -0,0 +1,117 @@
|
||||
<menuchannels x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="16">
|
||||
<!-- Available Variables channels menu listelement:
|
||||
{number} number of the displayed channel
|
||||
{name} name of the displayed channel
|
||||
{channelid} ChannelID as path to display channel logo
|
||||
{transponder} Transponder of channel
|
||||
{frequency} Frequency of channel
|
||||
{source} Source of channel (S, C, T)
|
||||
{sourcedescription} Descriptin of source from sources.conf
|
||||
{position} orbital position of the satellite in case this is a DVB-S source
|
||||
{isAtsc} true if channel is a ATSC channel
|
||||
{isCable} true if channel is cable channel
|
||||
{isSat} true if channel is a satellite channel
|
||||
{isTerr} true if channel is terrestrical
|
||||
{presenteventtitle} title of present event on this channel
|
||||
{presenteventstart} present event start time in hh::mm
|
||||
{presenteventstop} present event event stop time in hh::mm
|
||||
{current} true if item is currently selected
|
||||
{separator} true if item is a list separator
|
||||
-->
|
||||
<listelement>
|
||||
<!-- Background -->
|
||||
<area x="1%" width="58%" layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{clrTransBlueLight}" />
|
||||
<fill condition="{separator}" color="{clrSemiTransBlack}" />
|
||||
</area>
|
||||
<area condition="not{separator}" x="1%" width="6%" layer="3">
|
||||
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="10" height="100%" valign="center" />
|
||||
</area>
|
||||
<areascroll condition="not{separator}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" width="52%" layer="3">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text="{number} {name} - {sourcedescription}, Transp. {transponder}" />
|
||||
</areascroll>
|
||||
<area condition="{separator}" x="7%" width="52%" layer="3">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text="{name}" />
|
||||
</area>
|
||||
</listelement>
|
||||
<!-- additional element which is drawn for current element -->
|
||||
<!-- Available Variables channels menu currentelement:
|
||||
{number} number of the displayed channel
|
||||
{name} name of the displayed channel
|
||||
{channelid} ChannelID as path to display channel logo
|
||||
{transponder} Transponder of channel
|
||||
{frequency} Frequency of channel
|
||||
{source} Source of channel (S, C, T)
|
||||
{sourcedescription} Descriptin of source from sources.conf
|
||||
{position} orbital position of the satellite in case this is a DVB-S source
|
||||
{isAtsc} true if channel is a ATSC channel
|
||||
{isCable} true if channel is cable channel
|
||||
{isSat} true if channel is a satellite channel
|
||||
{isTerr} true if channel is terrestrical
|
||||
{presenteventtitle} title of present event on this channel
|
||||
{presenteventstart} present event start time in hh::mm
|
||||
{presenteventstop} present event stop time in hh::mm
|
||||
{presenteventshorttext} present event short text
|
||||
{presenteventdescription} present event description
|
||||
{presenteventday} present event name of day
|
||||
{presenteventdate} present event date in dd:mm:yy
|
||||
{presenteventelapsed} present event elapsed time
|
||||
{presenteventduration} present event duration
|
||||
{hasposter} true if a scraped poster is available for this elements present evemt
|
||||
{posterwidth} width of scraped poster
|
||||
{posterheight} height of scraped poster
|
||||
{posterpath} absolute path of scraped poster
|
||||
{nexteventtitle} title of next event on this channel
|
||||
{nexteventstart} next event start time in hh::mm
|
||||
{nexteventstop} next event event stop time in hh::mm
|
||||
{nexteventshorttext} next event short text
|
||||
{nexteventdescription} next event description
|
||||
{nexteventday} next event name of day
|
||||
{nexteventdate} next event date in dd:mm:yy
|
||||
{nexteventdate} next event duration
|
||||
{schedule[]} array with following 10 schedules
|
||||
{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="0">
|
||||
<area x="63%" y="0" width="36%" height="85%" layer="2">
|
||||
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="10" y="0" width="30%" />
|
||||
<drawtext name="channame" align="right" y="{height(logo)}/2 - {height(channame)}/2" width="65%" font="{semibold}" fontsize="10%" color="{clrWhite}" text="{name}" />
|
||||
<!-- now -->
|
||||
<drawtext name="now" x="2%" y="{height(logo)}" width="96%" font="{semibold}" fontsize="8%" color="{clrWhite}" text="Now: {presenteventtitle}" />
|
||||
<!--progressbar for now -->
|
||||
<drawtext name="start" x="{areawidth}/4 - {width(start)}" y="{height(logo)} + {height(now)}" font="{light}" fontsize="7%" color="{clrWhite}" text="{presenteventstart}" />
|
||||
<drawtext name="stop" x="{areawidth}*3/4" y="{height(logo)} + {height(now)}" font="{light}" fontsize="7%" color="{clrWhite}" text="{presenteventstop}" />
|
||||
<drawrectangle x="{areawidth}/4+10" y="{height(logo)} + {height(now)} + {height(start)} / 2" width="{areawidth}/2 - 20" height="1" color="{clrWhite}" />
|
||||
<drawrectangle x="{areawidth}/4+10" y="{height(logo)} + {height(now)} + {height(start)} / 2 - 2" width="{areawidth}/2 * {presenteventelapsed} / {presenteventduration} - 20 * {presenteventelapsed} / {presenteventduration}" height="5" color="{clrWhite}" />
|
||||
<!-- shorttext and description -->
|
||||
<drawtextbox name="nowshort" x="2%" y="{posy(start)} + {height(start)} + 10" width="96%" font="{light}" fontsize="6%" color="{clrWhite}" text="{presenteventshorttext}" />
|
||||
<drawtextbox name="nowdesc" x="2%" y="{posy(nowshort)} + {height(nowshort)}" width="96%" height="36%" font="{light}" fontsize="6%" color="{clrWhite}" text="{presenteventdescription}" />
|
||||
<!-- next -->
|
||||
<drawtext name="next" x="2%" y="{posy(nowdesc)} + {height(nowdesc)}" width="96%" font="{semibold}" fontsize="7%" color="{clrWhite}" text="Next: {nexteventtitle}" />
|
||||
<drawtext name="nexttime" x="2%" y="{posy(next)} + {height(next)}" width="96%" font="{light}" fontsize="6%" color="{clrWhite}" text="{nexteventstart} - {nexteventstop} ({presenteventduration} min)" />
|
||||
</area>
|
||||
<areascroll mode="forthandback" orientation="vertical" delay="1000" scrollspeed="medium" x="63%" y="85%" width="36%" height="15%" layer="2">
|
||||
<drawtext x="10" y="0" font="{semibold}" fontsize="30%" color="{clrWhite}" text="Following Schedules:" />
|
||||
<loop name="schedule" x="0" y="{areaheight}/4 + 5" orientation="vertical">
|
||||
<drawtext x="10" font="{light}" width="{areawidth}-20" fontsize="30%" color="{clrWhite}" text="{schedule[start]} {schedule[title]}" />
|
||||
</loop>
|
||||
</areascroll>
|
||||
</currentelement>
|
||||
</menuitems>
|
||||
<!-- Available Variables colorbuttons:
|
||||
{height} height in one-tenth of a percent of total height
|
||||
{offset} offset from top in one-tenth of a percent of total height
|
||||
-->
|
||||
<scrollbar>
|
||||
<area x="60%" y="10%" width="2%" height="82%" layer="3">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
</menuchannels>
|
||||
184
skins/default/xmlfiles/displaymenudefault.xml
Normal file
184
skins/default/xmlfiles/displaymenudefault.xml
Normal file
@@ -0,0 +1,184 @@
|
||||
<menudefault x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<background>
|
||||
<!-- background Menu -->
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
</background>
|
||||
<!-- 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
|
||||
-->
|
||||
<header>
|
||||
<area x="0" y="0" width="75%" height="10%" layer="2">
|
||||
<drawtext condition="not{hasicon}" x="5" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
||||
<drawimage condition="{hasicon}" name="icon" imagetype="menuicon" path="{icon}" x="5" valign="center" width="{areaheight}*8/10" height="80%"/>
|
||||
<drawtext condition="{hasicon}" x="{areaheight}" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
||||
</area>
|
||||
</header>
|
||||
<!-- Available Variables datetime:
|
||||
{time} time in hh:mm
|
||||
{day} day in digits
|
||||
{dayleadingzero} day in digits with leading 0
|
||||
{dayname} Full name of the day
|
||||
{daynameshort} Short 3 char name of the day
|
||||
{month} month in digits with leading 0
|
||||
{monthname} Full name of the month
|
||||
{year} year in yyyy
|
||||
-->
|
||||
<datetime>
|
||||
<area x="80%" y="0" width="10%" height="10%" layer="2">
|
||||
<drawtext align="right" y="0%" font="{light}" fontsize="50%" color="{clrWhite}" text="{dayname}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="50%" color="{clrWhite}" text="{day}. {monthname}" />
|
||||
</area>
|
||||
<area x="90%" y="0" width="10%" height="10%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{time}" />
|
||||
</area>
|
||||
</datetime>
|
||||
|
||||
<!-- Available Variables colorbuttons:
|
||||
{red1} true if red button is button 1
|
||||
{red2} true if red button is button 2
|
||||
{red3} true if red button is button 3
|
||||
{red4} true if red button is button 4
|
||||
{green1} true if green button is button 1
|
||||
{green2} true if green button is button 2
|
||||
{green3} true if green button is button 3
|
||||
{green4} true if green button is button 4
|
||||
{yellow1} true if yellow button is button 1
|
||||
{yellow2} true if yellow button is button 2
|
||||
{yellow3} true if yellow button is button 3
|
||||
{yellow4} true if yellow button is button 4
|
||||
{blue1} true if blue button is button 1
|
||||
{blue2} true if blue button is button 2
|
||||
{blue3} true if blue button is button 3
|
||||
{blue4} true if blue button is button 4
|
||||
{red} label of red button
|
||||
{green} label of green button
|
||||
{yellow} label of yellow button
|
||||
{blue} label of blue button
|
||||
-->
|
||||
<colorbuttons>
|
||||
<area x="0" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red1}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green1}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow1}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue1}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="25%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red2}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green2}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow2}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue2}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="50%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red3}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green3}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow3}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue3}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="75%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red4}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green4}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow4}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue4}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
</colorbuttons>
|
||||
|
||||
<scrollbar>
|
||||
<area x="96%" y="10%" width="2%" height="82%" layer="3">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
<!-- IMPORTANT: menuitemwidth and determinatefont have to be defined here. menuitemwidth defines the total width of the
|
||||
default menu items, determinatefont the function which sets the actual font to use. With that it is possible to determinate
|
||||
the correct column widths -->
|
||||
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" menuitemwidth="94%" determinatefont="column1" numlistelements="16">
|
||||
<!-- Available Variables default menu listelement:
|
||||
{column1} text of column1
|
||||
{column2} text of column2
|
||||
{column3} text of column3
|
||||
{column4} text of column4
|
||||
{column5} text of column5
|
||||
{column6} text of column6
|
||||
{column2set} true if column2 is used
|
||||
{column3set} true if column3 is used
|
||||
{column4set} true if column4 is used
|
||||
{column5set} true if column5 is used
|
||||
{column6set} true if column6 is used
|
||||
{column2x} proposed x value of column2
|
||||
{column3x} proposed x value of column3
|
||||
{column4x} proposed x value of column4
|
||||
{column5x} proposed x value of column5
|
||||
{column6x} proposed x value of column6
|
||||
{column1width} proposed width of column1
|
||||
{column2width} proposed width of column2
|
||||
{column3width} proposed width of column3
|
||||
{column4width} proposed width of column4
|
||||
{column5width} proposed width of column5
|
||||
{column6width} proposed width of column6
|
||||
{columnscroll} number of column which should have scrollable text
|
||||
{current} true if column is currently selected
|
||||
{separator} true if column is a list separator
|
||||
-->
|
||||
<listelement>
|
||||
<area x="0" width="95%" layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
|
||||
<areascroll scrollelement="column1" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="{column1width}" layer="3">
|
||||
<drawtext name="column1" x="{column1x}" width="{column1width}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column1}" />
|
||||
</areascroll>
|
||||
<area x="1%" width="100%" layer="3">
|
||||
<drawtext condition="{column2set}" x="{column2x}" valign="center" font="{light}" fontsize="90%" width="{column2width}" color="{clrWhite}" text="{column2}" />
|
||||
<drawtext condition="{column3set}" x="{column3x}" valign="center" font="{light}" fontsize="90%" width="{column3width}" color="{clrWhite}" text="{column3}" />
|
||||
<drawtext condition="{column4set}" x="{column4x}" valign="center" font="{light}" fontsize="90%" width="{column4width}" color="{clrWhite}" text="{column4}" />
|
||||
<drawtext condition="{column5set}" x="{column5x}" valign="center" font="{light}" fontsize="90%" width="{column5width}" color="{clrWhite}" text="{column5}" />
|
||||
<drawtext condition="{column6set}" x="{column6x}" valign="center" font="{light}" fontsize="90%" width="{column6width}" color="{clrWhite}" text="{column6}" />
|
||||
</area>
|
||||
<!--
|
||||
<areascroll condition="not{separator}++eq({columnscroll},1)" scrollelement="column1" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="{column1width}" layer="3">
|
||||
<drawtext name="column1" x="{column1x}" width="{column1width}" valign="center" font="{vdrOsd}" fontsize="90%" color="{clrWhite}" text="{column1}" />
|
||||
</areascroll>
|
||||
<area condition="not{separator}++eq({columnscroll},1)" x="1%" width="100%" layer="3">
|
||||
<drawtext condition="{column2set}" x="{column2x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column2}" />
|
||||
<drawtext condition="{column3set}" x="{column3x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column3}" />
|
||||
<drawtext condition="{column4set}" x="{column4x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column4}" />
|
||||
<drawtext condition="{column5set}" x="{column5x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column5}" />
|
||||
<drawtext condition="{column6set}" x="{column6x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column6}" />
|
||||
</area>
|
||||
<areascroll condition="not{separator}++gt({columnscroll},1)" scrollelement="column2" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="{column2x}" width="{column2width}" layer="3">
|
||||
<drawtext name="column2" x="0" width="{column2width}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column2}" />
|
||||
</areascroll>
|
||||
<area condition="not{separator}++gt({columnscroll},1)" x="1%" width="100%" layer="3">
|
||||
<drawtext condition="{column1set}" x="{column1x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column1}" />
|
||||
<drawtext condition="{column3set}" x="{column3x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column3}" />
|
||||
<drawtext condition="{column4set}" x="{column4x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column4}" />
|
||||
<drawtext condition="{column5set}" x="{column5x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column5}" />
|
||||
<drawtext condition="{column6set}" x="{column6x}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column6}" />
|
||||
</area>
|
||||
-->
|
||||
</listelement>
|
||||
</menuitems>
|
||||
</menudefault>
|
||||
335
skins/default/xmlfiles/displaymenudetailepg.xml
Normal file
335
skins/default/xmlfiles/displaymenudetailepg.xml
Normal file
@@ -0,0 +1,335 @@
|
||||
<menudetailedepg x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<background>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<area x="0" y="0" width="100%" height="20%" layer="2">
|
||||
<fill color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<area x="0" y="85%" width="100%" height="2" layer="3">
|
||||
<fill color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</background>
|
||||
<!-- dummyheader -->
|
||||
<header>
|
||||
<area x="0" y="0" width="1" height="1" layer="1">
|
||||
<fill color="{clrTransparent}" />
|
||||
</area>
|
||||
</header>
|
||||
<datetime>
|
||||
<area x="0" y="0" width="1" height="1" layer="1">
|
||||
<fill color="{clrTransparent}" />
|
||||
</area>
|
||||
</datetime>
|
||||
<!-- Available Variables colorbuttons:
|
||||
{red1} true if red button is button 1
|
||||
{red2} true if red button is button 2
|
||||
{red3} true if red button is button 3
|
||||
{red4} true if red button is button 4
|
||||
{green1} true if green button is button 1
|
||||
{green2} true if green button is button 2
|
||||
{green3} true if green button is button 3
|
||||
{green4} true if green button is button 4
|
||||
{yellow1} true if yellow button is button 1
|
||||
{yellow2} true if yellow button is button 2
|
||||
{yellow3} true if yellow button is button 3
|
||||
{yellow4} true if yellow button is button 4
|
||||
{blue1} true if blue button is button 1
|
||||
{blue2} true if blue button is button 2
|
||||
{blue3} true if blue button is button 3
|
||||
{blue4} true if blue button is button 4
|
||||
{red} label of red button
|
||||
{green} label of green button
|
||||
{yellow} label of yellow button
|
||||
{blue} label of blue button
|
||||
-->
|
||||
<colorbuttons>
|
||||
<area x="0" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red1}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green1}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow1}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue1}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="25%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red2}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green2}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow2}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue2}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="50%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red3}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green3}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow3}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue3}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="75%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red4}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green4}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow4}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue4}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
</colorbuttons>
|
||||
<!-- Available Variables in detailheader elements:
|
||||
{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
|
||||
{channelid} ChannelID as path to display channel logo
|
||||
{ismovie} true if event is scraped as a movie
|
||||
{isseries} true if event is scraped as a series
|
||||
{posteravailable} true if a poster is available
|
||||
{posterwidth} width of scraped poster
|
||||
{posterheight} height of scraped poster
|
||||
{posterpath} absolute path of scraped poster
|
||||
{banneravailable} true if a banner is available
|
||||
{bannerwidth} width of banner
|
||||
{bannerheight} height of banner
|
||||
{bannerpath} path of banner
|
||||
{epgpicavailable} true if a epg picture is available
|
||||
{epgpicpath} path of epg picture
|
||||
-->
|
||||
<detailheader>
|
||||
<area x="1%" y="0" width="98%" height="20%" layer="3">
|
||||
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" height="80%" valign="center" />
|
||||
<drawimage condition="{isseries}++{banneravailable}++not{epgpicavailable}" imagetype="image" path="{bannerpath}" x="{areawidth} - {areawidth}/3 - 10" valign="center" width="{areawidth}/3" height="{areawidth}/3 * {bannerheight} / {bannerwidth}"/>
|
||||
<drawimage condition="{ismovie}++{posteravailable}++not{epgpicavailable}" imagetype="image" path="{posterpath}" x="{areawidth} - {areaheight}*8/10" valign="center" width="{areaheight}*8 / 10 * {posterheight} / {posterwidth}" height="{areaheight}*8 / 10"/>
|
||||
<drawimage condition="{epgpicavailable}" imagetype="image" path="{epgpicpath}" x="{areawidth} - {areaheight}*8/10 * 174 / 130" valign="center" width="{areaheight}*8/10 * 174 / 130" height="{areaheight}*8 / 10"/>
|
||||
|
||||
<drawtext name="title" x="{width(logo)} + 20" valign="center" font="{semibold}" fontsize="35%" color="{clrWhite}" text="{title}" />
|
||||
<drawtext name="datetime" x="{width(logo)} + 20" y="{posy(title)} - {height(datetime)}" font="{light}" fontsize="25%" color="{clrWhite}" text="{day} {date} {start} - {stop} ({duration} mins)" />
|
||||
<drawtext name="shorttext" x="{width(logo)} + 20" y="{posy(title)} + {height(title)}" font="{light}" fontsize="25%" color="{clrWhite}" text="{shorttext}" />
|
||||
</area>
|
||||
</detailheader>
|
||||
<!-- Available Variables scrollbar:
|
||||
{height} height in one-tenth of a percent of total height
|
||||
{offset} offset from top in one-tenth of a percent of total height
|
||||
-->
|
||||
<scrollbar>
|
||||
<area x="98%" y="20%" width="2%" height="65%" layer="3">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
<!-- Available Variables in tab elements:
|
||||
{title} title of event
|
||||
{shorttext} shorttext of event
|
||||
{description} 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
|
||||
{hasreruns} true if reruns of this event are found
|
||||
{reruns[]} array with reruns
|
||||
{reruns[title]} title of rerun
|
||||
{reruns[shorttext]} shorttext of rerun
|
||||
{reruns[date]} date of rerun in dd:mm
|
||||
{reruns[day]} short dayname of rerun
|
||||
{reruns[start]} start time of rerun in hh:mm
|
||||
{reruns[stop]} stop time of rerun in hh:mm
|
||||
{reruns[channelname]} name of channel on which rerun occurs
|
||||
{reruns[channelnumber]} number of channel on which rerun occurs
|
||||
{reruns[channelid]} id of channel on which rerun occurs to display channel logo
|
||||
{reruns[channellogoexists]} true if channel logo exists
|
||||
{epgpic1avaialble} true if first epg picture is available
|
||||
{epgpic2avaialble} true if first epg picture is available
|
||||
{epgpic3avaialble} true if first epg picture is available
|
||||
{epgpic1path} path of first epg picture
|
||||
{epgpic2path} path of second epg picture
|
||||
{epgpic3path} path of third epg picture
|
||||
|
||||
{ismovie} true if event is scraped as a movie
|
||||
Available variables for movies:
|
||||
{movietitle} movie title from themoviedb
|
||||
{movieoriginalTitle} movie original title from themoviedb
|
||||
{movietagline} movie tagline from themoviedb
|
||||
{movieoverview} movie overview from themoviedb
|
||||
{movieadult} true if movie is rated as adult
|
||||
{moviebudget} movie budget from themoviedb in $
|
||||
{movierevenue} movie revenue from themoviedb in $
|
||||
{moviegenres} movie genres from themoviedb
|
||||
{moviehomepage} movie homepage from themoviedb
|
||||
{moviereleasedate} movie release date from themoviedb
|
||||
{movieruntime} movie runtime from themoviedb
|
||||
{moviepopularity} movie popularity from themoviedb
|
||||
{movievoteaverage} movie vote average from themoviedb
|
||||
{posterwidth} width of scraped poster
|
||||
{posterheight} height of scraped poster
|
||||
{posterpath} absolute path of scraped poster
|
||||
{fanartwidth} width of scraped fanart
|
||||
{fanartheight} height of scraped fanart
|
||||
{fanartpath} absolute path of scraped fanart
|
||||
{movieiscollection} true if movie is part of a collection
|
||||
{moviecollectionName} name of movie collection
|
||||
{collectionposterwidth} width of scraped collection poster
|
||||
{collectionposterheight} height of scraped collection poster
|
||||
{collectionposterpath} absolute path of scraped collection poster
|
||||
{collectionfanartwidth} width of scraped collection fanart
|
||||
{collectionfanartheight} height of scraped collection fanart
|
||||
{collectionfanartpath} absolute path of scraped collection fanart
|
||||
{actors[]} array with movie actors
|
||||
{actors[name]} real name of actor
|
||||
{actors[role]} actor role
|
||||
{actors[thumb]} absolute path of scraped actor thumb
|
||||
{actors[thumbwidth]} width of scraped actor thumb
|
||||
{actors[thumbheight]} height of scraped actor thumb
|
||||
|
||||
{isseries} true if event is scraped as a series
|
||||
Available variables for series:
|
||||
{seriesname} name of series
|
||||
{seriesoverview} series overview
|
||||
{seriesfirstaired} first aired date
|
||||
{seriesnetwork} network which produces series
|
||||
{seriesgenre} series genre
|
||||
{seriesrating} series thetvdb rating
|
||||
{seriesstatus} status of series (running / finished)
|
||||
{episodetitle} title of episode
|
||||
{episodenumber} number of episode
|
||||
{episodeseason} season of episode
|
||||
{episodefirstaired} first aired date of episode
|
||||
{episodegueststars} guest stars of episode
|
||||
{episodeoverview} episode overview
|
||||
{episoderating} user rating for episode
|
||||
{episodeimagewidth} episode image width
|
||||
{episodeimageheight} episode image height
|
||||
{episodeimagepath} episode image path
|
||||
{seasonposterwidth} episode season poster width
|
||||
{seasonposterheight} episode season poster height
|
||||
{seasonposterpath} episode season poster path
|
||||
{seriesposter1width} width of 1st poster
|
||||
{seriesposter1height} height of 1st poster
|
||||
{seriesposter1path} path of 1st poster
|
||||
{seriesposter2width} width of 2nd poster
|
||||
{seriesposter2height} height of 2nd poster
|
||||
{seriesposter2path} path of 2nd poster
|
||||
{seriesposter3width} width of 3rd poster
|
||||
{seriesposter3height} height of 3rd poster
|
||||
{seriesposter3path} path of 3rd poster
|
||||
{seriesfanart1width} width of 1st fanart
|
||||
{seriesfanart1height} height of 1st fanart
|
||||
{seriesfanart1path} path of 1st fanart
|
||||
{seriesfanart2width} width of 2nd fanart
|
||||
{seriesfanart2height} height of 2nd fanart
|
||||
{seriesfanart2path} path of 2nd fanart
|
||||
{seriesfanart3width} width of 3rd fanart
|
||||
{seriesfanart3height} height of 3rd fanart
|
||||
{seriesfanart3path} path of 3rd fanart
|
||||
{seriesbanner1width} width of 1st banner
|
||||
{seriesbanner1height} height of 1st banner
|
||||
{seriesbanner1path} path of 1st banner
|
||||
{seriesbanner2width} width of 2nd banner
|
||||
{seriesbanner2height} height of 2nd banner
|
||||
{seriesbanner2path} path of 2nd banner
|
||||
{seriesbanner3width} width of 3rd banner
|
||||
{seriesbanner3height} height of 3rd banner
|
||||
{seriesbanner3path} path of 3rd fanart
|
||||
{actors[]} array with movie actors
|
||||
{actors[name]} real name of actor
|
||||
{actors[role]} actor role
|
||||
{actors[thumb]} absolute path of scraped actor thumb
|
||||
{actors[thumbwidth]} width of scraped actor thumb
|
||||
{actors[thumbheight]} height of scraped actor thumb
|
||||
-->
|
||||
|
||||
<!-- a tab is one scrolling area, just position and draw as inside a normal area -->
|
||||
|
||||
<!-- TAB EPGINFO -->
|
||||
<tab name="EPG Info" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtextbox condition="not{isseries}++not{ismovie}" x="0" y="0" width="96%" font="{light}" fontsize="8%" color="{clrWhite}" text="{description}" />
|
||||
<drawimage condition="{isseries}" name="seriesposter" imagetype="image" path="{seriesposter1path}" x="{areawidth}*0.75" y="0" width="{areawidth}*0.25" height="{areawidth} * 0.25 * {seriesposter1height} / {seriesposter1width}"/>
|
||||
<drawimage condition="{ismovie}" name="movieposter" imagetype="image" path="{posterpath}" x="{areawidth}*0.75" y="0" width="{areawidth}*0.25" height="{areawidth} * 0.25 * {posterheight} / {posterwidth}" />
|
||||
<drawtextbox condition="{isseries}" x="0" y="0" width="96%" float="topright" floatwidth="{width(seriesposter)} + 10" floatheight="{height(seriesposter)} + 20" font="{light}" fontsize="8%" color="{clrWhite}" text="{description}" />
|
||||
<drawtextbox condition="{ismovie}" x="0" y="0" width="96%" float="topright" floatwidth="{width(movieposter)} + 10" floatheight="{height(movieposter)} + 20" font="{light}" fontsize="8%" color="{clrWhite}" text="{description}" />
|
||||
</tab>
|
||||
<!-- TAB RERUNS -->
|
||||
<tab condition="{hasreruns}" name="{tr(reruns)}" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtext align="center" y="0" name="title" font="{light}" fontsize="10%" color="{clrWhite}" text="{tr(rerunsof)} '{title}'" />
|
||||
<loop name="reruns" x="0" y="{height(title)} + 10" width="{areawidth}" orientation="vertical">
|
||||
<drawimage name="logo" condition="{reruns[channellogoexists]}" imagetype="channellogo" path="{reruns[channelid]}" x="0" height="10%" />
|
||||
<drawtext name="channelname" condition="not{reruns[channellogoexists]}" x="-5" font="{light}" fontsize="10%" color="{clrWhite}" text="{reruns[channelname]}" />
|
||||
<drawtext condition="{reruns[channellogoexists]}" x="{width(logo)}+20" y="-5" width="{areawidth} - {width(logo)} - 20" font="{light}" fontsize="8%" color="{clrWhite}" text="{reruns[day]} {reruns[date]} {reruns[start]} - {reruns[stop]}: {reruns[title]} {reruns[shorttext]}" />
|
||||
<drawtext condition="not{reruns[channellogoexists]}" x="{width(channelname)}+20" y="-5" width="{areawidth} - {width(logo)} - 20" font="{light}" fontsize="8%" color="{clrWhite}" text="{reruns[day]} {reruns[date]} {reruns[start]} - {reruns[stop]}: {reruns[title]} {reruns[shorttext]}" />
|
||||
</loop>
|
||||
</tab>
|
||||
<!-- TAB ACTORS -->
|
||||
<tab condition="{isseries}||{ismovie}" name="{tr(actors)}" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtext align="center" name="title" y="0" font="{semibold}" fontsize="15%" color="{clrWhite}" text="{tr(actors)}" />
|
||||
<loop name="actors" x="0" y="{height(title)} + 10" width="{areawidth}" orientation="horizontal" columnwidth="{areawidth}/5" rowheight="{areawidth}/5*1.8" overflow="linewrap">
|
||||
<drawimage name="thumb" imagetype="image" path="{actors[thumb]}" x="20" y="0" width="{columnwidth}-40" height="{columnwidth} * {actors[thumbheight]} / {actors[thumbwidth]} - 40 * {actors[thumbheight]} / {actors[thumbwidth]}"/>
|
||||
<drawtext align="center" y="{height(thumb)} + 10" width="{columnwidth}" name="actorname" font="{light}" fontsize="7%" color="{clrWhite}" text="{actors[name]}" />
|
||||
<drawtext align="center" y="{height(thumb)} + 10 + {height(actorname)}" width="{columnwidth}" font="{light}" fontsize="7%" color="{clrWhite}" text="{actors[role]}" />
|
||||
</loop>
|
||||
</tab>
|
||||
<!-- TAB TVDBINFO -->
|
||||
<tab condition="{isseries}" name="TvDBInfo" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawimage name="banner" imagetype="image" path="{seriesbanner1path}" align="center" y="10" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesbanner1height} / {seriesbanner1width}"/>
|
||||
<drawimage name="episodeimage" imagetype="image" path="{episodeimagepath}" x="{areawidth}*0.7" y="{height(banner)} + 20" width="{areawidth}*0.3" height="{areawidth} * 0.3 * {episodeimageheight} / {episodeimagewidth}"/>
|
||||
<drawimage name="seasonposter" imagetype="image" path="{seasonposterpath}" x="{areawidth}*0.7" y="{height(banner)} + {height(episodeimage)} + 30" width="{areawidth}*0.3" height="{areawidth} * 0.3 * {seasonposterheight} / {seasonposterwidth}"/>
|
||||
<drawtextbox x="0" y="{height(banner)} + 20" width="96%" float="topright" floatwidth="{width(seasonposter)} + 10" floatheight="{height(episodeimage)} + {height(seasonposter)} + 30" font="{light}" fontsize="8%" color="{clrWhite}" text="{tr(episode)}: {episodetitle} ({tr(season)} {episodeseason}, {tr(episode)} {episodenumber}) {episodeoverview}| {tr(gueststars)}: {episodegueststars}|| {tr(seriesfirstaired)}: {seriesfirstaired}|| {tr(episodefirstaired)}: {episodefirstaired}|| {tr(network)}: {seriesnetwork}|| {tr(genre)}: {seriesgenre}|| {tr(status)}: {seriesstatus}|| {tr(rating)}: {seriesrating}|| {tr(episoderating)}: {episoderating} |{seriesoverview} " />
|
||||
</tab>
|
||||
<!-- TAB SERIESGALERY -->
|
||||
<tab condition="{isseries}" name="{tr(seriesgalery)}" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawimage name="banner1" imagetype="image" path="{seriesbanner1path}" align="center" y="10" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesbanner1height} / {seriesbanner1width}"/>
|
||||
<drawimage name="fanart1" imagetype="image" path="{seriesfanart1path}" align="center" y="{posy(banner1)} + {height(banner1)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesfanart1height} / {seriesfanart1width}"/>
|
||||
<drawimage name="banner2" imagetype="image" path="{seriesbanner2path}" align="center" y="{posy(fanart1)} + {height(fanart1)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesbanner2height} / {seriesbanner2width}"/>
|
||||
<drawimage name="fanart2" imagetype="image" path="{seriesfanart2path}" align="center" y="{posy(banner2)} + {height(banner2)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesfanart2height} / {seriesfanart2width}"/>
|
||||
<drawimage name="banner3" imagetype="image" path="{seriesbanner3path}" align="center" y="{posy(fanart2)} + {height(fanart2)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesbanner3height} / {seriesbanner3width}"/>
|
||||
<drawimage name="fanart3" imagetype="image" path="{seriesfanart3path}" align="center" y="{posy(banner3)} + {height(banner3)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesfanart3height} / {seriesfanart3width}"/>
|
||||
<drawimage name="poster1" imagetype="image" path="{seriesposter1path}" align="center" y="{posy(fanart3)} + {height(fanart3)} + 20" width="{areawidth}*0.5" height="{areawidth} * 0.5 * {seriesposter1height} / {seriesposter1width}"/>
|
||||
<drawimage name="poster2" imagetype="image" path="{seriesposter2path}" align="center" y="{posy(poster1)} + {height(poster1)} + 20" width="{areawidth}*0.5" height="{areawidth} * 0.5 * {seriesposter2height} / {seriesposter2width}"/>
|
||||
<drawimage name="poster3" imagetype="image" path="{seriesposter3path}" align="center" y="{posy(poster2)} + {height(poster2)} + 20" width="{areawidth}*0.5" height="{areawidth} * 0.5 * {seriesposter3height} / {seriesposter3width}"/>
|
||||
</tab>
|
||||
<!-- TAB MOVIEDBINFO -->
|
||||
<tab condition="{ismovie}" name="MovieDBInfo" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawimage name="poster" imagetype="image" path="{posterpath}" x="70%" y="10" width="{areawidth}*0.3" height="{areawidth} * 0.3 * {posterheight} / {posterwidth}"/>
|
||||
<drawtextbox x="0" y="10" width="96%" float="topright" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 20" font="{light}" fontsize="8%" color="{clrWhite}" text="{tr(originaltitle)}: {movieoriginalTitle} |{tr(genre)}: {moviegenres} ||{movietagline} |{movieoverview} |{tr(budget)}: {moviebudget} ||{tr(revenue)}: {movierevenue} ||{tr(adult)}: {movieadult} ||{tr(releasedate)}: {moviereleasedate} ||{tr(runtime)}: {movieruntime} min || {tr(popularity)}: {moviepopularity} || {tr(voteaverage)}: {movievoteaverage} || {tr(homepage)}: {moviehomepage}| " />
|
||||
</tab>
|
||||
<!-- TAB MOVIEGALERY -->
|
||||
<tab condition="{ismovie}" name="{tr(moviegalery)}" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawimage name="fanart" imagetype="image" path="{fanartpath}" align="center" y="10" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {fanartheight} / {fanartwidth}"/>
|
||||
<drawimage name="poster" imagetype="image" path="{posterpath}" align="center" y="{height(fanart)} + 30" width="{areawidth}*0.6" height="{areawidth} * 0.6 * {posterheight} / {posterwidth}"/>
|
||||
<drawimage condition="{movieiscollection}" name="collectionfanart" imagetype="image" path="{collectionfanartpath}" align="center" y="{posy(poster)} + {height(poster)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {collectionfanartheight} / {collectionfanartwidth}"/>
|
||||
<drawimage condition="{movieiscollection}" name="collectionposter" imagetype="image" path="{collectionposterpath}" align="center" y="{posy(collectionfanart)} + {height(collectionfanart)} + 20" width="{areawidth}*0.6" height="{areawidth} * 0.6 * {collectionposterheight} / {collectionposterwidth}"/>
|
||||
</tab>
|
||||
|
||||
<!-- Available Variables tablabels:
|
||||
{tabs[]} array with available tab labels
|
||||
{tabs[title]} title of tab
|
||||
{tabs[current]} true if tab is displayed currently
|
||||
-->
|
||||
<tablabels>
|
||||
<area x="0" y="85%" width="98%" height="5%" layer="3">
|
||||
<loop name="tabs" x="0" y="0" orientation="horizontal">
|
||||
<drawrectangle condition="{tabs[current]}" x="0" y="0" width="{width(label)}" height="100%" color="{clrTransBlueLight}" />
|
||||
<drawrectangle condition="not{tabs[current]}" x="0" y="0" width="{width(label)}" height="100%" color="{clrTransBlueLight}" />
|
||||
<drawrectangle condition="not{tabs[current]}" x="2" y="2" width="{width(label)} - 4" height="{areaheight}-4" color="{clrTransparent}" />
|
||||
<drawtext name="label" x="0" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text=" {tabs[title]} " />
|
||||
</loop>
|
||||
</area>
|
||||
</tablabels>
|
||||
</menudetailedepg>
|
||||
310
skins/default/xmlfiles/displaymenudetailrecording.xml
Normal file
310
skins/default/xmlfiles/displaymenudetailrecording.xml
Normal file
@@ -0,0 +1,310 @@
|
||||
<menudetailedrecording x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<background>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<area x="0" y="0" width="100%" height="20%" layer="2">
|
||||
<fill color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<area x="0" y="85%" width="100%" height="2" layer="3">
|
||||
<fill color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</background>
|
||||
<!-- dummyheader -->
|
||||
<header>
|
||||
<area x="0" y="0" width="1" height="1" layer="1">
|
||||
<fill color="{clrTransparent}" />
|
||||
</area>
|
||||
</header>
|
||||
<datetime>
|
||||
<area x="0" y="0" width="1" height="1" layer="1">
|
||||
<fill color="{clrTransparent}" />
|
||||
</area>
|
||||
</datetime>
|
||||
<!-- Available Variables colorbuttons:
|
||||
{red1} true if red button is button 1
|
||||
{red2} true if red button is button 2
|
||||
{red3} true if red button is button 3
|
||||
{red4} true if red button is button 4
|
||||
{green1} true if green button is button 1
|
||||
{green2} true if green button is button 2
|
||||
{green3} true if green button is button 3
|
||||
{green4} true if green button is button 4
|
||||
{yellow1} true if yellow button is button 1
|
||||
{yellow2} true if yellow button is button 2
|
||||
{yellow3} true if yellow button is button 3
|
||||
{yellow4} true if yellow button is button 4
|
||||
{blue1} true if blue button is button 1
|
||||
{blue2} true if blue button is button 2
|
||||
{blue3} true if blue button is button 3
|
||||
{blue4} true if blue button is button 4
|
||||
{red} label of red button
|
||||
{green} label of green button
|
||||
{yellow} label of yellow button
|
||||
{blue} label of blue button
|
||||
-->
|
||||
<colorbuttons>
|
||||
<area x="0" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red1}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green1}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow1}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue1}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="25%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red2}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green2}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow2}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue2}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="50%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red3}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green3}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow3}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue3}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="75%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red4}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green4}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow4}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue4}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
</colorbuttons>
|
||||
<!-- Available Variables in detailheader elements:
|
||||
{name} name of recording
|
||||
{shorttext} shorttext of recording
|
||||
{date} date of recording in dd.mm.yy
|
||||
{time} time of current event in hh:mm
|
||||
{duration} real duration of recording in minutes
|
||||
{durationevent} duration of according event in minutes
|
||||
{ismovie} true if event is scraped as a movie
|
||||
{isseries} true if event is scraped as a series
|
||||
{posteravailable} true if a poster is available
|
||||
{posterwidth} width of scraped poster
|
||||
{posterheight} height of scraped poster
|
||||
{posterpath} absolute path of scraped poster
|
||||
{banneravailable} true if a banner is available
|
||||
{bannerwidth} width of banner
|
||||
{bannerheight} height of banner
|
||||
{bannerpath} path of banner
|
||||
{recimgavailable} true if a recording image is available in the recording path
|
||||
{recimgpath} path of rec image
|
||||
-->
|
||||
<detailheader>
|
||||
<area x="1%" y="0" width="98%" height="20%" layer="3">
|
||||
<drawimage condition="{isseries}++{banneravailable}++not{recimgavailable}" imagetype="image" path="{bannerpath}" x="{areawidth} - {areawidth}/3 - 10" valign="center" width="{areawidth}/3" height="{areawidth}/3 * {bannerheight} / {bannerwidth}"/>
|
||||
<drawimage condition="{ismovie}++{posteravailable}++not{recimgavailable}" imagetype="image" path="{posterpath}" x="{areawidth} - {areaheight}*8/10" valign="center" width="{areaheight}*8 / 10 * {posterheight} / {posterwidth}" height="{areaheight}*8 / 10"/>
|
||||
<drawimage condition="{recimgavailable}" imagetype="image" path="{recimgpath}" x="{areawidth} - {areaheight}*8/10 * 174 / 130" valign="center" width="{areaheight}*8/10 * 174 / 130" height="{areaheight}*8 / 10"/>
|
||||
|
||||
<drawtext name="title" x="20" valign="center" font="{semibold}" fontsize="35%" color="{clrWhite}" text="{name}" />
|
||||
<drawtext name="datetime" x="20" y="{posy(title)} - {height(datetime)}" font="{light}" fontsize="25%" color="{clrWhite}" text="{date} {time} ({duration} mins)" />
|
||||
<drawtext name="shorttext" x="20" y="{posy(title)} + {height(title)}" font="{light}" fontsize="25%" color="{clrWhite}" text="{shorttext}" />
|
||||
</area>
|
||||
</detailheader>
|
||||
<!-- Available Variables scrollbar:
|
||||
{height} height in one-tenth of a percent of total height
|
||||
{offset} offset from top in one-tenth of a percent of total height
|
||||
-->
|
||||
<scrollbar>
|
||||
<area x="98%" y="20%" width="2%" height="65%" layer="3">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
<!-- Available Variables in tab elements:
|
||||
{name} title of recording
|
||||
{shorttext} shorttext of recording
|
||||
{description} description of recording
|
||||
{date} date of recording in dd.mm.yy
|
||||
{time} time of recording in hh:mm
|
||||
{duration} real duration of recording in minutes
|
||||
{durationevent} duration of according event in minutes
|
||||
|
||||
{recordingsize} size of recording (automatically in GB / MB)
|
||||
{recordingsizecutted} size of cutted recording (automatically in GB / MB)
|
||||
{recordinglength} length of recording (in hh::mm:ss)
|
||||
{recordinglengthcutted} length of cutted recording (in hh::mm:ss)
|
||||
{recordingbitrate} bitrate of recording (in MBit/s)
|
||||
{recordingformat} format of recording (TS / PS)
|
||||
{searchtimer} name of accordign searchtimer (if available)
|
||||
|
||||
{recimg1avaialble} true if first recording image is available
|
||||
{recimg2avaialble} true if first recording image is available
|
||||
{recimg3avaialble} true if first recording image is available
|
||||
{recimg1path} path of first recording image
|
||||
{recimg2path} path of second recording image
|
||||
{recimg3path} path of third recording image
|
||||
|
||||
{ismovie} true if event is scraped as a movie
|
||||
Available variables for movies:
|
||||
{movietitle} movie title from themoviedb
|
||||
{movieoriginalTitle} movie original title from themoviedb
|
||||
{movietagline} movie tagline from themoviedb
|
||||
{movieoverview} movie overview from themoviedb
|
||||
{movieadult} true if movie is rated as adult
|
||||
{moviebudget} movie budget from themoviedb in $
|
||||
{movierevenue} movie revenue from themoviedb in $
|
||||
{moviegenres} movie genres from themoviedb
|
||||
{moviehomepage} movie homepage from themoviedb
|
||||
{moviereleasedate} movie release date from themoviedb
|
||||
{movieruntime} movie runtime from themoviedb
|
||||
{moviepopularity} movie popularity from themoviedb
|
||||
{movievoteaverage} movie vote average from themoviedb
|
||||
{posterwidth} width of scraped poster
|
||||
{posterheight} height of scraped poster
|
||||
{posterpath} absolute path of scraped poster
|
||||
{fanartwidth} width of scraped fanart
|
||||
{fanartheight} height of scraped fanart
|
||||
{fanartpath} absolute path of scraped fanart
|
||||
{movieiscollection} true if movie is part of a collection
|
||||
{moviecollectionName} name of movie collection
|
||||
{collectionposterwidth} width of scraped collection poster
|
||||
{collectionposterheight} height of scraped collection poster
|
||||
{collectionposterpath} absolute path of scraped collection poster
|
||||
{collectionfanartwidth} width of scraped collection fanart
|
||||
{collectionfanartheight} height of scraped collection fanart
|
||||
{collectionfanartpath} absolute path of scraped collection fanart
|
||||
{actors[]} array with movie actors
|
||||
{actors[name]} real name of actor
|
||||
{actors[role]} actor role
|
||||
{actors[thumb]} absolute path of scraped actor thumb
|
||||
{actors[thumbwidth]} width of scraped actor thumb
|
||||
{actors[thumbheight]} height of scraped actor thumb
|
||||
|
||||
{isseries} true if event is scraped as a series
|
||||
Available variables for series:
|
||||
{seriesname} name of series
|
||||
{seriesoverview} series overview
|
||||
{seriesfirstaired} first aired date
|
||||
{seriesnetwork} network which produces series
|
||||
{seriesgenre} series genre
|
||||
{seriesrating} series thetvdb rating
|
||||
{seriesstatus} status of series (running / finished)
|
||||
{episodetitle} title of episode
|
||||
{episodenumber} number of episode
|
||||
{episodeseason} season of episode
|
||||
{episodefirstaired} first aired date of episode
|
||||
{episodegueststars} guest stars of episode
|
||||
{episodeoverview} episode overview
|
||||
{episoderating} user rating for episode
|
||||
{episodeimagewidth} episode image width
|
||||
{episodeimageheight} episode image height
|
||||
{episodeimagepath} episode image path
|
||||
{seasonposterwidth} episode season poster width
|
||||
{seasonposterheight} episode season poster height
|
||||
{seasonposterpath} episode season poster path
|
||||
{seriesposter1width} width of 1st poster
|
||||
{seriesposter1height} height of 1st poster
|
||||
{seriesposter1path} path of 1st poster
|
||||
{seriesposter2width} width of 2nd poster
|
||||
{seriesposter2height} height of 2nd poster
|
||||
{seriesposter2path} path of 2nd poster
|
||||
{seriesposter3width} width of 3rd poster
|
||||
{seriesposter3height} height of 3rd poster
|
||||
{seriesposter3path} path of 3rd poster
|
||||
{seriesfanart1width} width of 1st fanart
|
||||
{seriesfanart1height} height of 1st fanart
|
||||
{seriesfanart1path} path of 1st fanart
|
||||
{seriesfanart2width} width of 2nd fanart
|
||||
{seriesfanart2height} height of 2nd fanart
|
||||
{seriesfanart2path} path of 2nd fanart
|
||||
{seriesfanart3width} width of 3rd fanart
|
||||
{seriesfanart3height} height of 3rd fanart
|
||||
{seriesfanart3path} path of 3rd fanart
|
||||
{seriesbanner1width} width of 1st banner
|
||||
{seriesbanner1height} height of 1st banner
|
||||
{seriesbanner1path} path of 1st banner
|
||||
{seriesbanner2width} width of 2nd banner
|
||||
{seriesbanner2height} height of 2nd banner
|
||||
{seriesbanner2path} path of 2nd banner
|
||||
{seriesbanner3width} width of 3rd banner
|
||||
{seriesbanner3height} height of 3rd banner
|
||||
{seriesbanner3path} path of 3rd fanart
|
||||
{actors[]} array with movie actors
|
||||
{actors[name]} real name of actor
|
||||
{actors[role]} actor role
|
||||
{actors[thumb]} absolute path of scraped actor thumb
|
||||
{actors[thumbwidth]} width of scraped actor thumb
|
||||
{actors[thumbheight]} height of scraped actor thumb
|
||||
-->
|
||||
|
||||
<!-- a tab is one scrolling area, just position and draw as inside a normal area -->
|
||||
<tab name="Info" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtextbox condition="not{isseries}++not{ismovie}" x="0" y="0" width="96%" font="{light}" fontsize="8%" color="{clrWhite}" text="{description}" />
|
||||
<drawimage condition="{isseries}" name="seriesposter" imagetype="image" path="{seriesposter1path}" x="{areawidth}*0.7" y="0" width="{areawidth}*0.3" height="{areawidth} * 0.3 * {seriesposter1height} / {seriesposter1width}"/>
|
||||
<drawimage condition="{ismovie}" name="movieposter" imagetype="image" path="{posterpath}" x="{areawidth}*0.7" y="0" width="{areawidth}*0.3" height="{areawidth} * 0.3 * {posterheight} / {posterwidth}" />
|
||||
<drawtextbox condition="{isseries}" x="0" y="0" width="96%" float="topright" floatwidth="{width(seriesposter)} + 10" floatheight="{height(seriesposter)} + 20" font="{light}" fontsize="8%" color="{clrWhite}" text="{description}" />
|
||||
<drawtextbox condition="{ismovie}" x="0" y="0" width="96%" float="topright" floatwidth="{width(movieposter)} + 10" floatheight="{height(movieposter)} + 20" font="{light}" fontsize="8%" color="{clrWhite}" text="{description}" />
|
||||
</tab>
|
||||
<tab name="{tr(recinfo)}" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtext align="center" y="0" name="title" font="{light}" fontsize="10%" color="{clrWhite}" text="{tr(recinfo)}" />
|
||||
<drawtextbox x="0" y="{height(title)} + 20" width="96%" font="{light}" fontsize="10%" color="{clrWhite}" text="{tr(recsize)}: {recordingsize} {tr(recsizecutted)}: {recordingsizecutted} {tr(reclength)}: {recordinglength} {tr(reclengthcutted)}: {recordinglengthcutted} {tr(bitrate)}: {recordingbitrate} {tr(format)}: {recordingformat} {tr(searchtimer)}: {searchtimer} " />
|
||||
</tab>
|
||||
<tab condition="{isseries}||{ismovie}" name="{tr(actors)}" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtext align="center" name="title" y="0" font="{light}" fontsize="10%" color="{clrWhite}" text="{tr(actors)}" />
|
||||
<loop name="actors" x="0" y="{height(title)} + 10" width="{areawidth}" orientation="horizontal" columnwidth="{areawidth}/5" rowheight="{areawidth}/5*1.8" overflow="linewrap">
|
||||
<drawimage name="thumb" imagetype="image" path="{actors[thumb]}" x="20" y="0" width="{columnwidth}-40" height="{columnwidth} * {actors[thumbheight]} / {actors[thumbwidth]} - 40 * {actors[thumbheight]} / {actors[thumbwidth]}"/>
|
||||
<drawtext align="center" y="{height(thumb)} + 10" width="{columnwidth}" name="actorname" font="{light}" fontsize="7%" color="{clrWhite}" text="{actors[name]}" />
|
||||
<drawtext align="center" y="{height(thumb)} + 10 + {height(actorname)}" width="{columnwidth}" font="{light}" fontsize="7%" color="{clrWhite}" text="{actors[role]}" />
|
||||
</loop>
|
||||
</tab>
|
||||
<tab condition="{isseries}" name="TvDBInfo" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawimage name="banner" imagetype="image" path="{seriesbanner1path}" align="center" y="10" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesbanner1height} / {seriesbanner1width}"/>
|
||||
<drawimage name="episodeimage" imagetype="image" path="{episodeimagepath}" x="{areawidth}*0.7" y="{height(banner)} + 20" width="{areawidth}*0.3" height="{areawidth} * 0.3 * {episodeimageheight} / {episodeimagewidth}"/>
|
||||
<drawimage name="seasonposter" imagetype="image" path="{seasonposterpath}" x="{areawidth}*0.7" y="{height(banner)} + {height(episodeimage)} + 30" width="{areawidth}*0.3" height="{areawidth} * 0.3 * {seasonposterheight} / {seasonposterwidth}"/>
|
||||
<drawtextbox x="0" y="{height(banner)} + 20" width="96%" float="topright" floatwidth="{width(seasonposter)} + 10" floatheight="{height(episodeimage)} + {height(seasonposter)} + 30" font="{light}" fontsize="8%" color="{clrWhite}" text="{tr(episode)}: {episodetitle} ({tr(season)} {episodeseason}, {tr(episode)} {episodenumber}) {episodeoverview}| {tr(gueststars)}: {episodegueststars}|| {tr(seriesfirstaired)}: {seriesfirstaired}|| {tr(episodefirstaired)}: {episodefirstaired}|| {tr(network)}: {seriesnetwork}|| {tr(genre)}: {seriesgenre}|| {tr(status)}: {seriesstatus}|| {tr(rating)}: {seriesrating}|| {tr(episoderating)}: {episoderating} |{seriesoverview} " />
|
||||
</tab>
|
||||
<tab condition="{isseries}" name="{tr(seriesgalery)}" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawimage name="banner1" imagetype="image" path="{seriesbanner1path}" align="center" y="10" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesbanner1height} / {seriesbanner1width}"/>
|
||||
<drawimage name="fanart1" imagetype="image" path="{seriesfanart1path}" align="center" y="{posy(banner1)} + {height(banner1)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesfanart1height} / {seriesfanart1width}"/>
|
||||
<drawimage name="banner2" imagetype="image" path="{seriesbanner2path}" align="center" y="{posy(fanart1)} + {height(fanart1)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesbanner2height} / {seriesbanner2width}"/>
|
||||
<drawimage name="fanart2" imagetype="image" path="{seriesfanart2path}" align="center" y="{posy(banner2)} + {height(banner2)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesfanart2height} / {seriesfanart2width}"/>
|
||||
<drawimage name="banner3" imagetype="image" path="{seriesbanner3path}" align="center" y="{posy(fanart2)} + {height(fanart2)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesbanner3height} / {seriesbanner3width}"/>
|
||||
<drawimage name="fanart3" imagetype="image" path="{seriesfanart3path}" align="center" y="{posy(banner3)} + {height(banner3)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {seriesfanart3height} / {seriesfanart3width}"/>
|
||||
<drawimage name="poster1" imagetype="image" path="{seriesposter1path}" align="center" y="{posy(fanart3)} + {height(fanart3)} + 20" width="{areawidth}*0.5" height="{areawidth} * 0.5 * {seriesposter1height} / {seriesposter1width}"/>
|
||||
<drawimage name="poster2" imagetype="image" path="{seriesposter2path}" align="center" y="{posy(poster1)} + {height(poster1)} + 20" width="{areawidth}*0.5" height="{areawidth} * 0.5 * {seriesposter2height} / {seriesposter2width}"/>
|
||||
<drawimage name="poster3" imagetype="image" path="{seriesposter3path}" align="center" y="{posy(poster2)} + {height(poster2)} + 20" width="{areawidth}*0.5" height="{areawidth} * 0.5 * {seriesposter3height} / {seriesposter3width}"/>
|
||||
</tab>
|
||||
<tab condition="{ismovie}" name="MovieDBInfo" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawimage name="poster" imagetype="image" path="{posterpath}" x="70%" y="10" width="{areawidth}*0.3" height="{areawidth} * 0.3 * {posterheight} / {posterwidth}"/>
|
||||
<drawtextbox x="0" y="10" width="96%" float="topright" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 20" font="{light}" fontsize="8%" color="{clrWhite}" text="{tr(originaltitle)}: {movieoriginalTitle} |{tr(genre)}: {moviegenres} ||{movietagline} |{movieoverview} |{tr(budget)}: {moviebudget}$ ||{tr(revenue)}: {movierevenue}$ ||{tr(adult)}: {movieadult} ||{tr(releasedate)}: {moviereleasedate} ||{tr(runtime)}: {movieruntime} min || {tr(popularity)}: {moviepopularity} || {tr(voteaverage)}: {movievoteaverage} || {tr(homepage)}: {moviehomepage}| " />
|
||||
</tab>
|
||||
<tab condition="{ismovie}" name="{tr(moviegalery)}" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawimage name="fanart" imagetype="image" path="{fanartpath}" align="center" y="10" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {fanartheight} / {fanartwidth}"/>
|
||||
<drawimage name="poster" imagetype="image" path="{posterpath}" align="center" y="{height(fanart)} + 30" width="{areawidth}*0.6" height="{areawidth} * 0.6 * {posterheight} / {posterwidth}"/>
|
||||
<drawimage condition="{movieiscollection}" name="collectionfanart" imagetype="image" path="{collectionfanartpath}" align="center" y="{posy(poster)} + {height(poster)} + 20" width="{areawidth}*0.9" height="{areawidth} * 0.9 * {collectionfanartheight} / {collectionfanartwidth}"/>
|
||||
<drawimage condition="{movieiscollection}" name="collectionposter" imagetype="image" path="{collectionposterpath}" align="center" y="{posy(collectionfanart)} + {height(collectionfanart)} + 20" width="{areawidth}*0.6" height="{areawidth} * 0.6 * {collectionposterheight} / {collectionposterwidth}"/>
|
||||
</tab>
|
||||
|
||||
<!-- Available Variables tablabels:
|
||||
{tabs[]} array with available tab labels
|
||||
{tabs[title]} title of tab
|
||||
{tabs[current]} true if tab is displayed currently
|
||||
-->
|
||||
<tablabels>
|
||||
<area x="0" y="85%" width="98%" height="5%" layer="3">
|
||||
<loop name="tabs" x="0" y="0" orientation="horizontal">
|
||||
<drawrectangle condition="{tabs[current]}" x="0" y="0" width="{width(label)}" height="100%" color="{clrTransBlueLight}" />
|
||||
<drawrectangle condition="not{tabs[current]}" x="0" y="0" width="{width(label)}" height="100%" color="{clrTransBlueLight}" />
|
||||
<drawrectangle condition="not{tabs[current]}" x="2" y="2" width="{width(label)} - 4" height="{areaheight}-4" color="{clrTransparent}" />
|
||||
<drawtext name="label" x="0" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text=" {tabs[title]} " />
|
||||
</loop>
|
||||
</area>
|
||||
</tablabels>
|
||||
</menudetailedrecording>
|
||||
99
skins/default/xmlfiles/displaymenudetailtext.xml
Normal file
99
skins/default/xmlfiles/displaymenudetailtext.xml
Normal file
@@ -0,0 +1,99 @@
|
||||
<menudetailedtext x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<background>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
</background>
|
||||
<header>
|
||||
<area x="0" y="0" width="75%" height="10%" layer="2">
|
||||
<drawtext x="5" valign="center" font="{light}" fontsize="50%" color="{clrWhite}" text="{title}" />
|
||||
</area>
|
||||
</header>
|
||||
<datetime>
|
||||
<area x="75%" y="0" width="12%" height="10%" layer="2">
|
||||
<drawtext align="right" y="15%" font="{light}" fontsize="30%" color="{clrWhite}" text="{dayname}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="30%" color="{clrWhite}" text="{day}. {monthname}" />
|
||||
</area>
|
||||
<area x="87%" y="0" width="13%" height="10%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="60%" color="{clrWhite}" text="{time}" />
|
||||
</area>
|
||||
</datetime>
|
||||
<!-- Available Variables colorbuttons:
|
||||
{red1} true if red button is button 1
|
||||
{red2} true if red button is button 2
|
||||
{red3} true if red button is button 3
|
||||
{red4} true if red button is button 4
|
||||
{green1} true if green button is button 1
|
||||
{green2} true if green button is button 2
|
||||
{green3} true if green button is button 3
|
||||
{green4} true if green button is button 4
|
||||
{yellow1} true if yellow button is button 1
|
||||
{yellow2} true if yellow button is button 2
|
||||
{yellow3} true if yellow button is button 3
|
||||
{yellow4} true if yellow button is button 4
|
||||
{blue1} true if blue button is button 1
|
||||
{blue2} true if blue button is button 2
|
||||
{blue3} true if blue button is button 3
|
||||
{blue4} true if blue button is button 4
|
||||
{red} label of red button
|
||||
{green} label of green button
|
||||
{yellow} label of yellow button
|
||||
{blue} label of blue button
|
||||
-->
|
||||
<colorbuttons>
|
||||
<area x="0" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red1}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green1}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow1}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue1}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="25%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red2}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green2}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow2}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue2}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="50%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red3}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green3}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow3}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue3}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="75%" y="92%" width="25%" height="8%" layer="2">
|
||||
<drawtext condition="{red4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red4}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green4}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow4}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue4}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
</colorbuttons>
|
||||
<scrollbar>
|
||||
<area x="98%" y="10%" width="2%" height="80%" layer="3">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
|
||||
<!-- Available Variables in tab elements:
|
||||
{text} detailed text
|
||||
-->
|
||||
<tab name="text" x="2%" y="10%" width="94%" height="80%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtextbox x="0" y="0" width="96%" font="{light}" fontsize="5%" color="{clrWhite}" text="{text}" />
|
||||
</tab>
|
||||
</menudetailedtext>
|
||||
276
skins/default/xmlfiles/displaymenumain.xml
Normal file
276
skins/default/xmlfiles/displaymenumain.xml
Normal file
@@ -0,0 +1,276 @@
|
||||
<menumain x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<!--
|
||||
static content of main menu, is only drawn once at main menu startup
|
||||
-->
|
||||
<background>
|
||||
<!-- main menu background -->
|
||||
<area x="0" y="0" width="71%" height="70%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<!-- datetime background -->
|
||||
<area x="75%" y="0" width="25%" height="10%" layer="2">
|
||||
<drawrectangle x="0" y="0" width="53%" height="100%" color="{clrTransBlueLight}" />
|
||||
<drawrectangle x="53%" y="0" width="47%" height="100%" color="{clrTransBlack}" />
|
||||
</area>
|
||||
</background>
|
||||
<!-- Available Variables header:
|
||||
{title} title of current menu
|
||||
{vdrversion} running VDR Version
|
||||
-->
|
||||
<header>
|
||||
<area x="0" y="0" width="70%" height="7%" layer="2">
|
||||
<drawtext x="10" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{title} {vdrversion}" />
|
||||
</area>
|
||||
</header>
|
||||
<!-- Available Variables datetime:
|
||||
{time} time in hh:mm
|
||||
{day} day in digits
|
||||
{dayleadingzero} day in digits with leading 0
|
||||
{dayname} Full name of the day
|
||||
{daynameshort} Short 3 char name of the day
|
||||
{month} month in digits with leading 0
|
||||
{monthname} Full name of the month
|
||||
{monthnameshort} 3 letter abbrivation of month name
|
||||
{year} year in yyyy
|
||||
-->
|
||||
<datetime>
|
||||
<area x="75%" y="0" width="13%" height="10%" layer="3">
|
||||
<drawtext align="right" y="0%" font="{light}" fontsize="55%" color="{clrWhite}" text="{dayname}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="55%" color="{clrWhite}" text="{day}. {monthnameshort}" />
|
||||
</area>
|
||||
<area x="88%" y="0" width="12%" height="10%" layer="3">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{time}" />
|
||||
</area>
|
||||
</datetime>
|
||||
|
||||
<!-- Available Variables colorbuttons:
|
||||
{red1} true if red button is button 1
|
||||
{red2} true if red button is button 2
|
||||
{red3} true if red button is button 3
|
||||
{red4} true if red button is button 4
|
||||
{green1} true if green button is button 1
|
||||
{green2} true if green button is button 2
|
||||
{green3} true if green button is button 3
|
||||
{green4} true if green button is button 4
|
||||
{yellow1} true if yellow button is button 1
|
||||
{yellow2} true if yellow button is button 2
|
||||
{yellow3} true if yellow button is button 3
|
||||
{yellow4} true if yellow button is button 4
|
||||
{blue1} true if blue button is button 1
|
||||
{blue2} true if blue button is button 2
|
||||
{blue3} true if blue button is button 3
|
||||
{blue4} true if blue button is button 4
|
||||
{red} label of red button
|
||||
{green} label of green button
|
||||
{yellow} label of yellow button
|
||||
{blue} label of blue button
|
||||
-->
|
||||
<colorbuttons>
|
||||
<area x="0" y="63%" width="18%" height="7%" layer="2">
|
||||
<drawtext condition="{red1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red1}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green1}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow1}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue1}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="18%" y="63%" width="17%" height="7%" layer="2">
|
||||
<drawtext condition="{red2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red2}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green2}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow2}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue2}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="35%" y="63%" width="18%" height="7%" layer="2">
|
||||
<drawtext condition="{red3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red3}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green3}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow3}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue3}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
<area x="53%" y="63%" width="17%" height="7%" layer="2">
|
||||
<drawtext condition="{red4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle condition="{red4}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
<drawtext condition="{green4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle condition="{green4}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
<drawtext condition="{yellow4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle condition="{yellow4}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
<drawtext condition="{blue4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle condition="{blue4}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
</colorbuttons>
|
||||
<!-- Available Variables timers:
|
||||
{numtimers} number of active timers (max. 15 timers will be displayed)
|
||||
{numtimerconflicts} number of current timer conflicts
|
||||
|
||||
{timers[]} array with active timers (local and remote if remotetimers plugin is in use)
|
||||
{timers[title]} title of timer
|
||||
{timers[datetime]} date and time of timer
|
||||
{timers[recording]} true if timer is recording currently
|
||||
{timers[channelname]} name of channel for which timer is created
|
||||
{timers[channelnumber]} number of channel
|
||||
{timers[channelid]} ChannelID of channel
|
||||
{timers[channellogoexists]} true if channel logo exists
|
||||
-->
|
||||
<timers>
|
||||
<area x="0" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<area condition="not{numtimerconflicts}" x="0" y="75%" width="{areawidth}/8 - 5" height="25%" layer="2">
|
||||
<drawtext align="center" y="15%" font="{light}" fontsize="50%" color="{clrWhite}" text="{numtimers}" />
|
||||
<drawtext condition="eq({numtimers}, 0)||gt({numtimers}, 1)" name="timersheader" align="center" y="60%" font="{light}" fontsize="20%" color="{clrWhite}" text="{tr(activetimers)}" />
|
||||
<drawtext condition="eq({numtimers}, 1)" name="timersheader" align="center" y="60%" font="{light}" fontsize="20%" color="{clrWhite}" text="{tr(activetimer)}" />
|
||||
</area>
|
||||
<area condition="{numtimerconflicts}" x="0" y="75%" width="{areawidth}/8 - 5" height="25%" layer="2">
|
||||
<drawtext align="center" y="0" font="{light}" fontsize="50%" color="{clrWhite}" text="{numtimers}" />
|
||||
<drawtext name="timersheader" align="center" y="45%" font="{light}" fontsize="20%" color="{clrWhite}" text="{tr(activetimers)}" />
|
||||
<drawtext align="center" y="65%" font="{semibold}" fontsize="20%" color="{clrRed}" text="{numtimerconflicts} {tr(conflicts)}!" />
|
||||
</area>
|
||||
|
||||
<area condition="gt({numtimers}, 0)" x="{areawidth}/8" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area condition="gt({numtimers}, 1)" x="2*{areawidth}/8" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area condition="gt({numtimers}, 2)" x="3*{areawidth}/8" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area condition="gt({numtimers}, 3)" x="4*{areawidth}/8" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area condition="gt({numtimers}, 4)" x="5*{areawidth}/8" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area condition="gt({numtimers}, 5)" x="6*{areawidth}/8" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area condition="gt({numtimers}, 6)" x="7*{areawidth}/8" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area x="{areawidth}/8" y="75%" width="{areawidth}*0.875" height="25%" layer="2">
|
||||
<loop name="timers" x="0" y="0" orientation="horizontal" columnwidth="{areawidth}/7" rowheight="{areaheight}" overflow="cut">
|
||||
<drawrectangle condition="{timers[recording]}" x="0" y="0" width="{columnwidth}-5" height="{rowheight}" color="{clrRed}" />
|
||||
<drawimage cache="true" name="logo" imagetype="channellogo" path="{timers[channelid]}" height="40%" align="center" y="10" />
|
||||
<drawtextbox x="5" y="{height(logo)} + 10" width="{columnwidth}-10" align="center" maxlines="2" font="{light}" fontsize="15%" color="{clrWhite}" text="{timers[title]}" />
|
||||
<drawtext align="center" y="75%" font="{light}" fontsize="20%" color="{clrWhite}" text="{timers[datetime]}" />
|
||||
</loop>
|
||||
</area>
|
||||
</timers>
|
||||
|
||||
<!-- Available Variables discusage:
|
||||
{freetime} available disc capacity in hh:mm
|
||||
{freepercent} available disc capacity in percent
|
||||
{usedpercent} used disc capacity in percent
|
||||
{freegb} available disc capacity in gigabytes
|
||||
{discalert} true if disc usage is > 95%
|
||||
{vdrusagestring} localized VDR internal usage string
|
||||
-->
|
||||
<discusage>
|
||||
<area x="75%" y="15%" width="25%" height="10%" layer="1">
|
||||
<fill condition="not{discalert}" color="{clrTransBlack}"/>
|
||||
<fill condition="{discalert}" color="{clrRed}"/>
|
||||
</area>
|
||||
<area x="75%" y="15%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="icon" path="ico_discusage" x="1%" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
<drawtext x="{areaheight}+10" y="0" font="{light}" fontsize="55%" color="{clrWhite}" text="{tr(disc)}: {freepercent}% {tr(free)}" />
|
||||
<drawtext x="{areaheight}+10" y="45%" font="{light}" fontsize="55%" color="{clrWhite}" text="{freetime} {tr(hours)}" />
|
||||
</area>
|
||||
</discusage>
|
||||
|
||||
<!-- Available Variables devices:
|
||||
{numdevices} number of available devices
|
||||
{devices[]} array with available devices
|
||||
{devices[num]} number of current device
|
||||
{devices[type]} type of device (DVB-S, DVB-C, ...)
|
||||
{devices[istuned]} true if device is currently tuned to a transponder
|
||||
{devices[livetv]} true if device is currently playing livetv
|
||||
{devices[recording]} true if device is currently recording
|
||||
{devices[hascam]} true if device has a CAM
|
||||
{devices[cam]} number of CAM
|
||||
{devices[signalstrength]} signalstrength of devcie
|
||||
{devices[signalquality]} signalstrength of devcie
|
||||
{devices[channelnumber]} number of the currently tuned channel
|
||||
{devices[channelname]} name of the currently tuned channel
|
||||
{devices[channelid]} ID of the currently tuned channel
|
||||
{devices[source]} source of the currently tuned channel
|
||||
-->
|
||||
<devices>
|
||||
<area x="75%" y="40%" width="25%" height="{areaheight}/12 * {numdevices}" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area x="75%" y="40%" width="25%" height="{areaheight}/12 * {numdevices}" layer="2">
|
||||
<loop name="devices" x="0" y="0" orientation="vertical" columnwidth="{areawidth}" rowheight="{areaheight} / {numdevices}" overflow="cut">
|
||||
<drawtext name="label" x="5" y="0" font="{light}" fontsize="{rowheight}*0.4" color="{clrWhite}" text="{devices[num]}: {devices[type]}" />
|
||||
<drawtext condition="{devices[hascam]}" x="{width(label)} + 15" y="0" font="{light}" fontsize="{rowheight}*0.40" color="{clrWhite}" text="(CAM {devices[cam]})" />
|
||||
<drawtext condition="{devices[recording]} ++ {devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.40" color="{clrRed}" text="LiveTV, Recording ({devices[channelname]}) " />
|
||||
<drawtext condition="{devices[recording]} ++ not{devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.40" color="{clrRed}" text="Recording ({devices[channelname]}) " />
|
||||
<drawtext condition="not{devices[recording]} ++ {devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.40" color="{clrWhite}" text="LiveTV ({devices[channelname]}) " />
|
||||
<drawrectangle condition="{devices[istuned]}" x="5" y="{rowheight}/3 + 5" width="{areawidth} * {devices[signalstrength]} / 100 - 10 * {devices[signalstrength]} / 100" height="{rowheight}/3 - 10" color="{clrTransWhite}" />
|
||||
<drawrectangle condition="{devices[istuned]}" x="5" y="2*{rowheight}/3 + 5" width="{areawidth} * {devices[signalquality]} / 100 - 10 * {devices[signalquality]} / 100" height="{rowheight}/3 - 10" color="{clrTransWhite}" />
|
||||
<drawtext condition="not{devices[istuned]}" align="center" y="{rowheight}/2" font="{light}" fontsize="{rowheight}*0.40" color="{clrWhite}" text="not tuned" />
|
||||
</loop>
|
||||
</area>
|
||||
</devices>
|
||||
|
||||
<!-- Available Variables systemload:
|
||||
{load} current system load
|
||||
-->
|
||||
<systemload>
|
||||
<area x="75%" y="30%" width="25%" height="5%" layer="1">
|
||||
<fill color="{clrTransBlack}"/>
|
||||
</area>
|
||||
<area x="75%" y="30%" width="25%" height="5%" layer="2">
|
||||
<drawtext x="5" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="System Load: {load}" />
|
||||
</area>
|
||||
</systemload>
|
||||
|
||||
<menuitems x="0" y="7%" orientation="vertical" width="70%" height="56%" align="center" numlistelements="8">
|
||||
<!-- Available Variables main menu listelement:
|
||||
{label} label of menu item
|
||||
{number} number of menu item (or empty string if not set)
|
||||
{icon} path of appropriate icon
|
||||
{current} true if item is currently selected
|
||||
{separator} true if item is a list separator
|
||||
-->
|
||||
<listelement>
|
||||
<area x="0" width="60%" layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="0" width="60%" layer="3">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{number} {label}" />
|
||||
</areascroll>
|
||||
</listelement>
|
||||
<!-- additional element which is drawn for current element -->
|
||||
<!-- Available Variables main menu currentelement:
|
||||
{label} label of menu item
|
||||
{number} number of menu item (or empty string if not set)
|
||||
{icon} path of appropriate icon
|
||||
-->
|
||||
<currentelement delay="50" fadetime="0">
|
||||
<area x="61%" y="22%" width="36%" height="52%" layer="2">
|
||||
<fill color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<area x="61%" y="23%" width="36%" height="50%" layer="3">
|
||||
<drawimage imagetype="menuicon" path="{icon}" align="center" valign="center" width="{areaheight} - 10" height="{areaheight} - 10"/>
|
||||
</area>
|
||||
</currentelement>
|
||||
</menuitems>
|
||||
|
||||
<scrollbar>
|
||||
<area x="68%" y="7%" width="2%" height="56%" layer="2">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
</menumain>
|
||||
85
skins/default/xmlfiles/displaymenurecordings.xml
Normal file
85
skins/default/xmlfiles/displaymenurecordings.xml
Normal file
@@ -0,0 +1,85 @@
|
||||
<menurecordings x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="16">
|
||||
<!-- Available Variables recordings menu listelement:
|
||||
{name} Name of recording
|
||||
{date} Date of recording
|
||||
{time} Time of recording
|
||||
{duration} real duration of recording in minutes
|
||||
{durationevent} duration of corresponding event in minutes
|
||||
{current} true if item is currently selected
|
||||
{new} true if recording is new
|
||||
{cutted} true if recording is cutted
|
||||
{folder} true if item is a folder
|
||||
{numrecordingsfolder} if item is a folder, number of recordings in this folder
|
||||
{newrecordingsfolder} if item is a folder, number of new recordings in this folder
|
||||
{hasposterthumbnail} true if a scraped poster thumbnail is available for recording
|
||||
{thumbnailbwidth} width of scraped poster thumbnail
|
||||
{thumbnailheight} height of scraped poster thumbnail
|
||||
{thumbnailpath} absolute path of scraped poster thumbnail
|
||||
-->
|
||||
<listelement>
|
||||
<!-- Background -->
|
||||
<area x="1%" width="58%" layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{clrTransBlueLight}" />
|
||||
<fill condition="{separator}" color="{clrSemiTransBlack}" />
|
||||
</area>
|
||||
<!-- recording folder -->
|
||||
<area condition="{folder}" x="1%" width="58%" layer="2">
|
||||
<drawimage name="foldericon" imagetype="icon" path="ico_recfolder" x="10" width="0.9*{areaheight} * 92 / 136" height="0.9*{areaheight}" valign="center" />
|
||||
<drawtext x="{width(foldericon)} + 20" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text="{name} ({numrecordingsfolder}, {newrecordingsfolder} new)" />
|
||||
</area>
|
||||
<!-- recording item -->
|
||||
<area condition="not{folder}" x="1%" width="58%" layer="2">
|
||||
<drawtext x="10" valign="center" font="{light}" fontsize="85%" color="{clrWhite}" text="{date} {time}" />
|
||||
<drawtext x="35%" width="60%" valign="center" font="{light}" fontsize="85%" color="{clrWhite}" text="{name}" />
|
||||
<drawimage condition="{new}" name="new" imagetype="icon" path="ico_recnew" x="{areawidth} - {areaheight}" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
<drawimage condition="{new}++{cutted}" imagetype="icon" path="ico_cutted" x="{areawidth} - 2*{areaheight}" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
<drawimage condition="not{new}++{cutted}" imagetype="icon" path="ico_cutted" x="{areawidth} - {areaheight}" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
</area>
|
||||
</listelement>
|
||||
<!-- additional element which is drawn for current element -->
|
||||
<!-- Available Variables channels menu currentelement:
|
||||
{name} Name of recording
|
||||
{shorttext} Short Text of recording
|
||||
{description} Descrption of recording
|
||||
{date} Date of recording
|
||||
{time} Time of recording
|
||||
{duration} real duration of recording in minutes
|
||||
{durationevent} duration of corresponding event in minutes
|
||||
{new} true if recording is new
|
||||
{cutted} true if recording is cutted
|
||||
{folder} true if item is a folder
|
||||
{numrecordingsfolder} if item is a folder, number of recordings in this folder
|
||||
{newrecordingsfolder} if item is a folder, number of new recordings in this folder
|
||||
{hasposter} true if a scraped poster is available for recording
|
||||
{posterwidth} width of scraped poster
|
||||
{posterheight} height of scraped poster
|
||||
{posterpath} absolute path of scraped poster
|
||||
-->
|
||||
<currentelement delay="500" fadetime="0">
|
||||
<area x="63%" y="0" width="36%" height="100%" layer="2">
|
||||
<!-- header -->
|
||||
<drawtext name="title" x="1%" y="0" width="98%" font="{semibold}" fontsize="8%" color="{clrWhite}" text="{name}" />
|
||||
<drawtext name="shorttext" x="1%" y="{height(title)}" width="98%" font="{semibold}" fontsize="6%" color="{clrWhite}" text="{shorttext}" />
|
||||
<drawtext name="datetime" x="1%" y="{posy(shorttext)} + {height(shorttext)}" font="{light}" fontsize="5%" color="{clrWhite}" text="{date} {time}, {duration} min" />
|
||||
<!-- scraper poster -->
|
||||
<drawimage condition="{hasposter}" name="poster" imagetype="image" path="{posterpath}" x="1%" y="{posy(datetime)} + {height(datetime)} + 20" width="{areawidth}/3" height="{areawidth}/3 * {posterheight} / {posterwidth}"/>
|
||||
<!-- description -->
|
||||
<drawtextbox condition="{hasposter}" x="1%" y="{posy(poster)}" width="98%" height="{areaheight} - {posy(poster)}" float="topleft" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 10" font="{light}" fontsize="6%" color="{clrWhite}" text="{description}" />
|
||||
<drawtextbox condition="not{hasposter}" x="1%" y="{posy(poster)}" width="98%" height="{areaheight} - {posy(poster)}" font="{light}" fontsize="6%" color="{clrWhite}" text="{description}" />
|
||||
</area>
|
||||
</currentelement>
|
||||
</menuitems>
|
||||
<!-- Available Variables colorbuttons:
|
||||
{height} height in one-tenth of a percent of total height
|
||||
{offset} offset from top in one-tenth of a percent of total height
|
||||
-->
|
||||
<scrollbar>
|
||||
<area x="60%" y="10%" width="2%" height="82%" layer="3">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
</menurecordings>
|
||||
179
skins/default/xmlfiles/displaymenuschedules.xml
Normal file
179
skins/default/xmlfiles/displaymenuschedules.xml
Normal file
@@ -0,0 +1,179 @@
|
||||
<menuschedules x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<!-- 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="0" y="0" width="38%" height="10%" layer="2">
|
||||
<drawtext condition="{whatsonnow}||{whatsonnext}" x="5" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
||||
<drawimage name="logo" condition="{whatson}" imagetype="channellogo" path="{channelid}" x="0" height="100%" align="left" valign="center" />
|
||||
<drawtext condition="{whatson}" x="{width(logo)}+20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{channelnumber} - {channelname}" />
|
||||
</area>
|
||||
</header>
|
||||
|
||||
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="16">
|
||||
<!-- 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
|
||||
{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
|
||||
{timerpartitial} true if partitial timer is set for the event
|
||||
{timerfull} true if full timer is set for the event
|
||||
-->
|
||||
<listelement>
|
||||
<!-- Background -->
|
||||
<area x="1%" width="58%" layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{clrTransBlueLight}" />
|
||||
<fill condition="{separator}" color="{clrSemiTransBlack}" />
|
||||
</area>
|
||||
<!-- WHATSON -->
|
||||
<areascroll condition="not{separator}++{whatson}++not{running}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="58%" layer="3">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text="{start} {title}" />
|
||||
</areascroll>
|
||||
<areascroll condition="not{separator}++{whatson}++{running}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="48%" layer="3">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text="{start} {title}" />
|
||||
</areascroll>
|
||||
<area condition="not{separator}++{whatson}" x="1%" width="58%" layer="3">
|
||||
<drawimage condition="{timerfull}" imagetype="icon" path="ico_activetimer" x="{areawidth} - 0.9*{areaheight} - 10" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
<drawimage condition="{timerpartitial}" imagetype="icon" path="ico_activetimer" x="{areawidth} - 0.5*{areaheight} - 10" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
|
||||
<drawrectangle condition="{running}" x="{areawidth}*0.85 - 10" y="{areaheight}/3" width="{areawidth}*0.15" height="{areaheight}/3" color="{clrWhite}" />
|
||||
<drawrectangle condition="{running}" x="{areawidth}*0.85 - 8" y="{areaheight}/3 + 2" width="{areawidth}*0.15 - 4" height="{areaheight}/3 - 4" color="{clrTransparent}" />
|
||||
<drawrectangle condition="{running}" x="{areawidth}*0.85 - 6" y="{areaheight}/3 + 4" width="{areawidth}*0.15 * {elapsed} / {duration} - 8" height="{areaheight}/3 - 8" color="{clrWhite}" />
|
||||
</area>
|
||||
<!-- WHATSONNOW -->
|
||||
<area condition="not{separator}++{whatsonnow}" x="1%" width="6%" layer="3">
|
||||
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="10" height="100%" valign="center" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnow}++{running}" x="8%" width="7%" layer="3">
|
||||
<drawrectangle condition="{current}" x="0" y="{areaheight}/3" width="{areawidth}" height="{areaheight}/3" color="{clrWhite}" />
|
||||
<drawrectangle condition="not{current}" x="0" y="{areaheight}/3" width="{areawidth}" height="{areaheight}/3" color="{clrTransBlueLight}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnow}++{timerfull}" x="53%" width="6%" layer="4">
|
||||
<drawimage imagetype="icon" path="ico_activetimer" x="{areawidth} - 0.9*{areaheight} - 10" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnow}++{timerpartitial}" x="53%" width="6%" layer="5">
|
||||
<drawimage imagetype="icon" path="ico_activetimer" x="{areawidth} - 0.5*{areaheight} - 10" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
|
||||
</area>
|
||||
<areascroll condition="not{separator}++{whatsonnow}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="15%" width="44%" layer="4">
|
||||
<drawtext name="menutext" x="10" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text="{start} {title}" />
|
||||
</areascroll>
|
||||
<!-- WHATSONNEXT -->
|
||||
<area condition="not{separator}++{whatsonnext}" x="1%" width="6%" layer="3">
|
||||
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="10" height="100%" valign="center" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnext}++{timerfull}" x="53%" width="6%" layer="4">
|
||||
<drawimage imagetype="icon" path="ico_activetimer" x="{areawidth} - 0.9*{areaheight} - 10" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnext}++{timerpartitial}" x="53%" width="6%" layer="5">
|
||||
<drawimage imagetype="icon" path="ico_activetimer" x="{areawidth} - 0.5*{areaheight} - 10" width="0.5*{areaheight}" height="0.5*{areaheight}" valign="center" />
|
||||
</area>
|
||||
<areascroll condition="not{separator}++{whatsonnext}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" width="52%" layer="4">
|
||||
<drawtext name="menutext" x="10" valign="center" font="{light}" fontsize="95%" color="{clrWhite}" text="{start} {title}" />
|
||||
</areascroll>
|
||||
<!-- Separator -->
|
||||
<area condition="{separator}" x="0" width="68%" layer="3">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="95%" color="{clrBlueLight}" text="{title}" />
|
||||
</area>
|
||||
</listelement>
|
||||
<!-- additional element which is drawn for current element -->
|
||||
<!-- 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="0">
|
||||
<area condition="{whatson}" x="63%" y="0" width="36%" height="100%" layer="2">
|
||||
<!-- title -->
|
||||
<drawtext align="center" y="0" font="{semibold}" 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="{areaheight}/16 + 20" font="{light}" fontsize="{areaheight}/18" color="{clrWhite}" text="{start}" />
|
||||
<drawtext condition="{running}" name="stop" x="{areawidth}*3/4" y="{areaheight}/16 + 20" font="{light}" fontsize="{areaheight}/18" color="{clrWhite}" text="{stop}" />
|
||||
<drawrectangle condition="{running}" x="{areawidth}/4+10" y="{areaheight}/16 + 20 + {areaheight}/36" width="{areawidth}/2 - 20" height="1" color="{clrWhite}" />
|
||||
<drawrectangle condition="{running}" x="{areawidth}/4+10" y="{areaheight}/16 + 20 + {areaheight}/36 -2" width="{areawidth}/2 * {elapsed} / {duration} - 20 * {elapsed} / {duration}" height="5" color="{clrWhite}" />
|
||||
<!-- start and stop if event is not running -->
|
||||
<drawtext condition="not{running}" x="10" y="{areaheight}/18 + 20" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{start} - {stop} ({duration} min)" />
|
||||
<!-- 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 -->
|
||||
<drawtextbox condition="{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" float="topleft" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 20" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
|
||||
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
|
||||
</area>
|
||||
<area condition="{whatsonnow}||{whatsonnext}" x="63%" y="0" width="36%" height="85%" layer="2">
|
||||
<!-- title -->
|
||||
<drawtext align="center" y="0" font="{semibold}" 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="{areaheight}/16 + 15" font="{light}" fontsize="{areaheight}/15" color="{clrWhite}" text="{start}" />
|
||||
<drawtext condition="{running}" name="stop" x="{areawidth}*3/4" y="{areaheight}/16 + 15" font="{light}" fontsize="{areaheight}/15" color="{clrWhite}" text="{stop}" />
|
||||
<drawrectangle condition="{running}" x="{areawidth}/4+10" y="{areaheight}/16 + 15 + {areaheight}/30" width="{areawidth}/2 - 20" height="1" color="{clrWhite}" />
|
||||
<drawrectangle condition="{running}" x="{areawidth}/4+10" y="{areaheight}/16 + 15 + {areaheight}/30 -2" width="{areawidth}/2 * {elapsed} / {duration} - 20 * {elapsed} / {duration}" height="5" color="{clrWhite}" />
|
||||
<!-- start and stop if event is not running -->
|
||||
<drawtext condition="not{running}" x="10" y="{areaheight}/18 + 15" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" 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 -->
|
||||
<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="{areaheight}/18" color="{clrWhite}" text="{description}" />
|
||||
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" font="{light}" fontsize="{areaheight}/18" color="{clrWhite}" text="{description}" />
|
||||
</area>
|
||||
<areascroll condition="{whatsonnow}||{whatsonnext}" mode="forthandback" orientation="vertical" delay="1000" scrollspeed="medium" x="63%" y="85%" width="36%" height="15%" layer="2">
|
||||
<drawtext x="10" y="0" font="{semibold}" fontsize="30%" color="{clrWhite}" text="Next Schedules:" />
|
||||
<loop name="schedule" x="0" y="{areaheight}/4 + 5" orientation="vertical">
|
||||
<drawtext x="10" font="{light}" width="{areawidth}-20" fontsize="30%" color="{clrWhite}" text="{schedule[start]} {schedule[title]}" />
|
||||
</loop>
|
||||
</areascroll>
|
||||
</currentelement>
|
||||
</menuitems>
|
||||
<!-- Available Variables scrollbar:
|
||||
{height} height in one-tenth of a percent of total height
|
||||
{offset} offset from top in one-tenth of a percent of total height
|
||||
-->
|
||||
<scrollbar>
|
||||
<area x="60%" y="10%" width="2%" height="82%" layer="3">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
</menuschedules>
|
||||
107
skins/default/xmlfiles/displaymenusetup.xml
Normal file
107
skins/default/xmlfiles/displaymenusetup.xml
Normal file
@@ -0,0 +1,107 @@
|
||||
<menusetup x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<!--
|
||||
static content of main menu, is only drawn once at main menu startup
|
||||
-->
|
||||
<background>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<area x="84%" y="0" width="16%" height="7%" layer="2">
|
||||
<drawrectangle x="0" y="0" width="52%" height="100%" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</background>
|
||||
<!-- Available Variables header:
|
||||
{title} title of current menu
|
||||
{vdrversion} running VDR Version
|
||||
-->
|
||||
<header>
|
||||
<area x="0" y="0" width="70%" height="7%" layer="2">
|
||||
<drawtext x="10" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
||||
</area>
|
||||
</header>
|
||||
<!-- Available Variables datetime:
|
||||
{time} time in hh:mm
|
||||
{day} day in digits
|
||||
{dayleadingzero} day in digits with leading 0
|
||||
{dayname} Full name of the day
|
||||
{daynameshort} Short 3 char name of the day
|
||||
{month} month in digits with leading 0
|
||||
{monthname} Full name of the month
|
||||
{year} year in yyyy
|
||||
-->
|
||||
<datetime>
|
||||
<area x="84%" y="0" width="8%" height="7%" layer="3">
|
||||
<drawtext align="right" y="0%" font="{light}" fontsize="55%" color="{clrWhite}" text="{dayname}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="55%" color="{clrWhite}" text="{day}. {monthname}" />
|
||||
</area>
|
||||
<area x="92%" y="0" width="8%" height="7%" layer="3">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{time}" />
|
||||
</area>
|
||||
</datetime>
|
||||
|
||||
<!-- Available Variables colorbuttons:
|
||||
{red} label of red button
|
||||
{green} label of green button
|
||||
{yellow} label of yellow button
|
||||
{blue} label of blue button
|
||||
-->
|
||||
<colorbuttons>
|
||||
<area x="0" y="93%" width="25%" height="7%" layer="2">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
||||
<drawrectangle x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
||||
</area>
|
||||
<area x="25%" y="93%" width="25%" height="7%" layer="2">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
||||
<drawrectangle x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
||||
</area>
|
||||
<area x="50%" y="93%" width="25%" height="7%" layer="2">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
||||
<drawrectangle x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
||||
</area>
|
||||
<area x="75%" y="93%" width="25%" height="7%" layer="2">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
||||
<drawrectangle x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
||||
</area>
|
||||
</colorbuttons>
|
||||
|
||||
<menuitems x="0" y="7%" orientation="vertical" width="98%" height="86%" align="center" numlistelements="10">
|
||||
<!-- Available Variables setup menu listelement:
|
||||
{label} label of menu item
|
||||
{number} number of menu item (or empty string if not set)
|
||||
{icon} path of appropriate icon
|
||||
{current} true if item is currently selected
|
||||
{separator} true if item is a list separator
|
||||
-->
|
||||
<listelement>
|
||||
<area x="0" width="60%" layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="0" width="60%" layer="3">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{number} {label}" />
|
||||
</areascroll>
|
||||
</listelement>
|
||||
<!-- additional element which is drawn for current element -->
|
||||
<!-- Available Variables main menu currentelement:
|
||||
{label} label of menu item
|
||||
{number} number of menu item (or empty string if not set)
|
||||
{icon} path of appropriate icon
|
||||
-->
|
||||
<currentelement delay="50" fadetime="0">
|
||||
<area x="61%" y="30%" width="37%" height="36%" layer="2">
|
||||
<fill color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<area x="61%" y="30%" width="37%" height="36%" layer="3">
|
||||
<drawimage imagetype="menuicon" path="{icon}" align="center" valign="center" width="{areaheight} - 10" height="{areaheight} - 10"/>
|
||||
</area>
|
||||
</currentelement>
|
||||
</menuitems>
|
||||
|
||||
<scrollbar>
|
||||
<area x="98%" y="7%" width="2%" height="86%" layer="2">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
</menusetup>
|
||||
90
skins/default/xmlfiles/displaymenutimers.xml
Normal file
90
skins/default/xmlfiles/displaymenutimers.xml
Normal file
@@ -0,0 +1,90 @@
|
||||
<menutimers x="0" y="0" width="100%" height="100%" fadetime="0">
|
||||
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="16">
|
||||
<!-- Available Variables channels menu listelement:
|
||||
{title} Title of Timer
|
||||
{timerstart} Start Time of Timer in hh::mm
|
||||
{timerstop} End Time of Timer in hh::mm
|
||||
{day} Day (numerical)
|
||||
{dayname} Day, for repeating timers days where timer is active
|
||||
{channelname} Name of channel which is set for the timer
|
||||
{channelid} ID of channel which is set for the timer (for dispalying channel logo)
|
||||
{channelnumber} Number of channel which is set for the timer
|
||||
{eventtitle} Title of corresponding event
|
||||
{eventstart} Start Time of corresponding event in hh::mm
|
||||
{eventstop} Stop Time of corresponding event in hh::mm
|
||||
{current} true if item is currently selected
|
||||
{flagactive} true if timer is active
|
||||
{flaginstant} true if timer is an instant timer
|
||||
{flagvps} true if timer uses VPS
|
||||
{flagrecording} true if is recording currently
|
||||
{flagpending} true if timer is pending
|
||||
-->
|
||||
<listelement>
|
||||
<!-- Background -->
|
||||
<area x="1%" width="58%" layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
<area x="1%" width="58%" layer="2">
|
||||
<drawimage condition="{flagactive}" name="active" imagetype="icon" path="ico_timer_active" x="0" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
<drawimage condition="not{flagactive}" name="active" imagetype="icon" path="ico_timer_inactive" x="0" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
<drawimage condition="{flagrecording}" name="active" imagetype="icon" path="ico_timer_recording" x="0" width="0.9*{areaheight}" height="0.9*{areaheight}" valign="center" />
|
||||
</area>
|
||||
<areascroll scrollelement="timertext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="5%" width="54%" layer="3">
|
||||
<drawtext name="timertext" x="10" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{dayname} {day}. {timerstart} - {timerstop}: {title}" />
|
||||
</areascroll>
|
||||
</listelement>
|
||||
<!-- additional element which is drawn for current element -->
|
||||
<!-- Available Variables channels menu currentelement:
|
||||
{title} Title of Timer
|
||||
{timerstart} Start Time of Timer in hh::mm
|
||||
{timerstop} End Time of Timer in hh::mm
|
||||
{day} Day (numerical)
|
||||
{dayname} Day, for repeating timers days where timer is active
|
||||
{channelname} Name of channel which is set for the timer
|
||||
{channelid} ID of channel which is set for the timer (for dispalying channel logo)
|
||||
{channelnumber} Number of channel which is set for the timer
|
||||
{eventtitle} Title of corresponding event
|
||||
{eventstart} Start Time of corresponding event in hh::mm
|
||||
{eventstop} Stop Time of corresponding event in hh::mm
|
||||
{eventshorttext} Short Text corresponding event
|
||||
{eventdescription} Description corresponding event
|
||||
{hasposter} true if a scraped poster is available for event
|
||||
{posterwidth} width of scraped poster
|
||||
{posterheight} height of scraped poster
|
||||
{posterpath} absolute path of scraped poster
|
||||
{flagactive} true if timer is active
|
||||
{flaginstant} true if timer is an instant timer
|
||||
{flagvps} true if timer uses VPS
|
||||
{flagrecording} true if is recording currently
|
||||
{flagpending} true if timer is pending
|
||||
-->
|
||||
<currentelement delay="500" fadetime="0">
|
||||
<area x="63%" y="0" width="36%" height="15%" layer="2">
|
||||
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="10" y="0" height="100%" />
|
||||
<drawtext name="channum" x="{width(logo)} + 20" y="{areaheight}/6" width="{areawidth} - {width(logo)} - 30" font="{light}" fontsize="40%" color="{clrWhite}" text="Channel No. {channelnumber}" />
|
||||
<drawtext name="channame" x="{width(logo)} + 20" y="{areaheight}/3 + {areaheight}/6" width="{areawidth} - {width(logo)} - 30" font="{semibold}" fontsize="40%" color="{clrWhite}" text="{channelname}" />
|
||||
</area>
|
||||
<area x="63%" y="15%" width="36%" height="70%" layer="2">
|
||||
<!-- title -->
|
||||
<drawtext name="title" align="center" y="0" font="{semibold}" width="{areawidth}-20" fontsize="{areaheight}/10" color="{clrWhite}" text="{eventtitle}" />
|
||||
<!-- scraper poster -->
|
||||
<drawimage condition="{hasposter}" name="poster" imagetype="image" path="{posterpath}" x="10" y="{posy(title)} + {height(title)} + 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="topleft" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 20" font="{light}" fontsize="{areaheight}/14" color="{clrWhite}" text="{eventdescription}" />
|
||||
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" font="{light}" fontsize="{areaheight}/14" color="{clrWhite}" text="{eventdescription}" />
|
||||
</area>
|
||||
</currentelement>
|
||||
</menuitems>
|
||||
<!-- Available Variables colorbuttons:
|
||||
{height} height in one-tenth of a percent of total height
|
||||
{offset} offset from top in one-tenth of a percent of total height
|
||||
-->
|
||||
<scrollbar>
|
||||
<area x="60%" y="10%" width="2%" height="82%" layer="3">
|
||||
<fill color="{clrWhite}" />
|
||||
<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="{clrWhite}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
</menutimers>
|
||||
27
skins/default/xmlfiles/displaymessage.xml
Normal file
27
skins/default/xmlfiles/displaymessage.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displaymessage SYSTEM "../../dtd/displaymessage.dtd">
|
||||
|
||||
<displaymessage x="5%" y="80%" width="90%" height="15%" fadetime="{fadeTime}">
|
||||
<background>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
</background>
|
||||
|
||||
<!-- Available Variables message:
|
||||
{text} message text
|
||||
{status} true if message is a status message
|
||||
{info} true if message is a info message
|
||||
{warning} true if message is a warn message
|
||||
{error} true if message is a error message
|
||||
-->
|
||||
<message>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="2">
|
||||
<drawrectangle condition="{status}" x="20" y="0" width="20" height="100%" color="{clrGreen}" />
|
||||
<drawrectangle condition="{info}" x="20" y="0" width="20" height="100%" color="{clrBlue}" />
|
||||
<drawrectangle condition="{warning}" x="20" y="0" width="20" height="100%" color="{clrYellow}" />
|
||||
<drawrectangle condition="{error}" x="20" y="0" width="20" height="100%" color="{clrRed}" />
|
||||
<drawtext align="center" valign="center" width="{areawidth} - 80" font="{light}" fontsize="50%" color="{clrWhite}" text="{text}" />
|
||||
</area>
|
||||
</message>
|
||||
</displaymessage>
|
||||
231
skins/default/xmlfiles/displayreplay.xml
Normal file
231
skins/default/xmlfiles/displayreplay.xml
Normal file
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displayreplay SYSTEM "../../dtd/displayreplay.dtd">
|
||||
|
||||
<displayreplay x="0" y="0" width="100%" height="100%" fadetime="{fadeTime}">
|
||||
<background>
|
||||
<!-- background infobar -->
|
||||
<area x="0" y="80%" width="100%" height="20%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<!-- background datetime -->
|
||||
<area x="70%" y="0" width="30%" height="13%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
<drawrectangle x="0" y="0" width="45%" height="100%" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</background>
|
||||
|
||||
<backgroundmodeonly>
|
||||
<!-- background small infobar -->
|
||||
<area x="25%" y="85%" width="50%" height="10%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<!-- background datetime -->
|
||||
<area x="70%" y="0" width="30%" height="13%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
<drawrectangle x="0" y="0" width="45%" height="100%" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</backgroundmodeonly>
|
||||
|
||||
<!-- Available Variables datetime:
|
||||
{time} time in hh:mm
|
||||
{day} day in digits
|
||||
{dayleadingzero} day in digits with leading 0
|
||||
{dayname} Full name of the day
|
||||
{daynameshort} Short 3 char name of the day
|
||||
{month} month in digits with leading 0
|
||||
{monthname} Full name of the month
|
||||
{monthnameshort} 3 letter abbrivation of month name
|
||||
{year} year in yyyy
|
||||
-->
|
||||
<datetime>
|
||||
<area x="70%" y="0" width="13%" height="13%" layer="2">
|
||||
<drawtext align="right" y="0" font="{light}" fontsize="50%" color="{clrWhite}" text="{dayname}" />
|
||||
<drawtext align="right" y="48%" font="{light}" fontsize="50%" color="{clrWhite}" text="{day}. {monthnameshort}" />
|
||||
</area>
|
||||
<area x="85%" y="0" width="13%" height="13%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{time}" />
|
||||
</area>
|
||||
</datetime>
|
||||
|
||||
<!-- Available Variables scrapercontent:
|
||||
{mediapath} Full Path of Poster or Banner to use in image path attribute
|
||||
{mediawidth} width of image in pixel
|
||||
{mediaheight} height of image in pixel
|
||||
{isbanner} true if image is a banner, false if it is a poster
|
||||
-->
|
||||
<scrapercontent>
|
||||
<area condition="{isbanner}" x="0" y="0" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="2">
|
||||
<drawimage imagetype="image" path="{mediapath}" align="center" valign="center" width="{areawidth}" height="{areaheight}"/>
|
||||
</area>
|
||||
<area condition="not{isbanner}" x="0" y="0" width="{areaheight}*0.5*{mediawidth}/{mediaheight}" height="50%" layer="2">
|
||||
<drawimage imagetype="image" path="{mediapath}" x="5" y="5" width="{areawidth}-10" height="{areaheight}-10"/>
|
||||
</area>
|
||||
</scrapercontent>
|
||||
|
||||
<!-- Available Variables rectitle:
|
||||
{rectitle} Title of Recording
|
||||
{recsubtitle} Subtitle of the Recording
|
||||
{recdate} Date Recording in dd.mm.yy
|
||||
{rectime} Time of Recording in hh:mm
|
||||
-->
|
||||
<rectitle>
|
||||
<area x="1%" y="80%" width="69%" height="8%" layer="2">
|
||||
<drawtext x="0" name="title" valign="center" width="{areawidth}" font="{semibold}" fontsize="85%" color="{clrBlueLight}" text="{rectitle}" />
|
||||
<drawtext x="{width(title)}+10" valign="center" width="{areawidth}-{width(title)}-10" font="{light}" fontsize="85%" color="{clrWhite}" text="{recsubtitle}" />
|
||||
</area>
|
||||
</rectitle>
|
||||
|
||||
<!-- Available Variables recinfo:
|
||||
{screenwidth} width of currently displayed recording in px
|
||||
{screenheight} height of currently displayed recording in px
|
||||
{resolution} resolution: hd1080i, hd720p, sd576i
|
||||
{aspect} screen aspect, each 4:3, 16:9 or 21:9
|
||||
{isHD} true for hd1080i and hd720p
|
||||
{isWideScreen} true if aspect is 16:9 or 21:9
|
||||
-->
|
||||
<recinfo>
|
||||
<area x="70%" y="80%" width="29%" height="8%" layer="2">
|
||||
<!-- widescreen icon -->
|
||||
<drawimage name="widescreen" condition="{isWideScreen}" imagetype="icon" path="ico_widescreen_on" x="{areawidth} - {width(widescreen)}" valign="center" width="{areaheight}*0.8*1.87" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{isWideScreen}" imagetype="icon" path="ico_widescreen_off" x="{areawidth} - {width(widescreen)}" valign="center" width="{areaheight}*0.8*1.87" height="{areaheight}*0.8"/>
|
||||
<!-- hd/sd icon -->
|
||||
<drawimage name="hd" condition="{isHD}" imagetype="icon" path="ico_hd_on" x="{posx(widescreen)} - 15 - {width(hd)}" valign="center" width="{areaheight}*0.8*2.04" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{isHD}" imagetype="icon" path="ico_hd_off" x="{posx(widescreen)} - 15 - {width(hd)}" valign="center" width="{areaheight}*0.8*2.04" height="{areaheight}*0.8"/>
|
||||
<!-- screenresolution text -->
|
||||
<drawtext name="reslabel" x="{posx(hd)} - 30 - {width(reslabel)}" valign="center" font="{light}" fontsize="60%" color="{clrWhite}" text="{screenwidth}x{screenheight}" />
|
||||
</area>
|
||||
</recinfo>
|
||||
|
||||
<!-- Available Variables currenttime:
|
||||
{reccurrent} Current Time in hh:mm:ss
|
||||
-->
|
||||
<currenttime>
|
||||
<area x="1%" y="92%" width="30%" height="7%" layer="2">
|
||||
<drawtext x="0" valign="center" font="{light}" fontsize="100%" color="{clrTransBlueLight}" text="{reccurrent}" />
|
||||
</area>
|
||||
</currenttime>
|
||||
|
||||
<!-- Available Variables totaltime:
|
||||
{rectotal} Total Time in hh:mm:ss
|
||||
-->
|
||||
<totaltime>
|
||||
<area x="69%" y="92%" width="30%" height="7%" layer="2">
|
||||
<drawtext align="right" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{rectotal}" />
|
||||
</area>
|
||||
</totaltime>
|
||||
|
||||
<!-- Available Variables progressbar:
|
||||
{current} current frame of recording
|
||||
{total} total frames of recording
|
||||
-->
|
||||
<progressbar>
|
||||
<area x="5%" y="89%" width="90%" height="3%" layer="2">
|
||||
<fill color="{clrDarkGray}" />
|
||||
<drawrectangle x="0" y="0" width="{current}/{total}*{areawidth}" height="100%" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</progressbar>
|
||||
|
||||
<!-- Available Variables cutmarks:
|
||||
{marks[]} array of available marks
|
||||
{marks[position]} frame of current mark
|
||||
{marks[endposition]} frame where startmark ends
|
||||
{marks[total]} total number of frames
|
||||
{marks[startmark]} true if mark is start mark
|
||||
-->
|
||||
<cutmarks>
|
||||
<area x="5%" y="89%" width="90%" height="3%" layer="3">
|
||||
<loop name="marks" x="0" y="0" orientation="absolute">
|
||||
<drawrectangle x="{marks[position]}/{marks[total]}*{areawidth}" y="0" width="1" height="100%" color="{clrWhite}" />
|
||||
<drawrectangle condition="{marks[startmark]}" x="{marks[position]}/{marks[total]}*{areawidth}" y="0" width="5" height="1" color="{clrWhite}" />
|
||||
<drawrectangle condition="{marks[startmark]}" x="{marks[position]}/{marks[total]}*{areawidth}" y="{areaheight}-1" width="5" height="1" color="{clrWhite}" />
|
||||
<drawrectangle condition="not{marks[startmark]}" x="{marks[position]}/{marks[total]}*{areawidth} - 5" y="0" width="5" height="1" color="{clrWhite}" />
|
||||
<drawrectangle condition="not{marks[startmark]}" x="{marks[position]}/{marks[total]}*{areawidth} - 5" y="{areaheight}-1" width="5" height="1" color="{clrWhite}" />
|
||||
<drawrectangle condition="{marks[startmark]}" x="{marks[position]}/{marks[total]}*{areawidth}" y="30%" width="{marks[endposition]}/{marks[total]}*{areawidth} - {marks[position]}/{marks[total]}*{areawidth}" height="40%" color="{clrWhite}" />
|
||||
</loop>
|
||||
</area>
|
||||
</cutmarks>
|
||||
|
||||
<!-- Available Variables controlicons and controliconsmodeonly:
|
||||
{play} true if recording is played currently
|
||||
{pause} true if recording is paused
|
||||
{forward} true if fast forwarding
|
||||
{forward1x} true if fast forwarding 1x (with 3 trickspeeds)
|
||||
{forward2x} true if fast forwarding 2x (with 3 trickspeeds)
|
||||
{forward3x} true if fast forwarding 3x (with 3 trickspeeds)
|
||||
{rewind} true if rewinding
|
||||
{rewind1x} true if rewinding 1x (with 3 trickspeeds)
|
||||
{rewind2x} true if rewinding 2x (with 3 trickspeeds)
|
||||
{rewind3x} true if rewinding 3x (with 3 trickspeeds)
|
||||
-->
|
||||
<controlicons>
|
||||
<area x="30%" y="93%" width="40%" height="7%" layer="3">
|
||||
<drawimage condition="not{rewind} ++ not{rewind1x} ++ not{rewind2x} ++ not{rewind3x}" imagetype="icon" path="ico_rew_off" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{rewind}" imagetype="icon" path="ico_rew" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{rewind1x}" imagetype="icon" path="ico_rew_1x" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{rewind2x}" imagetype="icon" path="ico_rew_2x" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{rewind3x}" imagetype="icon" path="ico_rew_3x" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
|
||||
<drawimage condition="not{pause}" imagetype="icon" path="ico_pause_off" x="{areawidth}/2 - {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{pause}" imagetype="icon" path="ico_pause" x="{areawidth}/2 - {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
|
||||
<drawimage condition="not{play}" imagetype="icon" path="ico_play_off" x="{areawidth}/2" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{play}" imagetype="icon" path="ico_play" x="{areawidth}/2" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
|
||||
<drawimage condition="not{forward} ++ not{forward1x} ++ not{forward2x} ++ not{forward3x}" imagetype="icon" path="ico_ff_off" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{forward}" imagetype="icon" path="ico_ff" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{forward1x}" imagetype="icon" path="ico_ff_1x" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{forward2x}" imagetype="icon" path="ico_ff_2x" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{forward3x}" imagetype="icon" path="ico_ff_3x" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
</area>
|
||||
</controlicons>
|
||||
|
||||
<controliconsmodeonly>
|
||||
<area x="25%" y="85%" width="50%" height="10%" layer="3">
|
||||
<drawimage condition="not{rewind} ++ not{rewind1x} ++ not{rewind2x} ++ not{rewind3x}" imagetype="icon" path="ico_rew_off" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{rewind}" imagetype="icon" path="ico_rew" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{rewind1x}" imagetype="icon" path="ico_rew_1x" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{rewind2x}" imagetype="icon" path="ico_rew_2x" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{rewind3x}" imagetype="icon" path="ico_rew_3x" x="{areawidth}/2 - 2*{areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
|
||||
<drawimage condition="not{pause}" imagetype="icon" path="ico_pause_off" x="{areawidth}/2 - {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{pause}" imagetype="icon" path="ico_pause" x="{areawidth}/2 - {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
|
||||
<drawimage condition="not{play}" imagetype="icon" path="ico_play_off" x="{areawidth}/2" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{play}" imagetype="icon" path="ico_play" x="{areawidth}/2" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
|
||||
<drawimage condition="not{forward} ++ not{forward1x} ++ not{forward2x} ++ not{forward3x}" imagetype="icon" path="ico_ff_off" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{forward}" imagetype="icon" path="ico_ff" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{forward1x}" imagetype="icon" path="ico_ff_1x" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{forward2x}" imagetype="icon" path="ico_ff_2x" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{forward3x}" imagetype="icon" path="ico_ff_3x" x="{areawidth}/2 + {areaheight}" y="0" width="{areaheight}" height="{areaheight}"/>
|
||||
</area>
|
||||
</controliconsmodeonly>
|
||||
|
||||
<!-- Available Variables jump:
|
||||
{jump} time to jump to in hh:mm
|
||||
-->
|
||||
<jump>
|
||||
<area x="35%" y="45%" width="30%" height="10%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
<area x="35%" y="45%" width="30%" height="10%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{jump}" />
|
||||
</area>
|
||||
</jump>
|
||||
<!-- Available Variables message:
|
||||
{text} message text
|
||||
{status} true if message is a status message
|
||||
{info} true if message is a info message
|
||||
{warning} true if message is a warn message
|
||||
{error} true if message is a error message
|
||||
-->
|
||||
<message>
|
||||
<area x="10%" y="45%" width="80%" height="10%" layer="1">
|
||||
<drawrectangle condition="{status}" x="20" y="0" width="20" height="100%" color="{clrGreen}" />
|
||||
<drawrectangle condition="{info}" x="20" y="0" width="20" height="100%" color="{clrBlue}" />
|
||||
<drawrectangle condition="{warning}" x="20" y="0" width="20" height="100%" color="{clrYellow}" />
|
||||
<drawrectangle condition="{error}" x="20" y="0" width="20" height="100%" color="{clrRed}" />
|
||||
<drawtext align="center" valign="center" width="{areawidth} - 80" font="{light}" fontsize="40%" color="{clrWhite}" text="{text}" />
|
||||
</area>
|
||||
</message>
|
||||
</displayreplay>
|
||||
29
skins/default/xmlfiles/displayvolume.xml
Normal file
29
skins/default/xmlfiles/displayvolume.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displayvolume SYSTEM "../../dtd/displayvolume.dtd">
|
||||
|
||||
<displayvolume x="20%" y="75%" width="60%" height="20%" fadetime="{fadeTime}">
|
||||
<background>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
</area>
|
||||
</background>
|
||||
|
||||
<!-- Available Variables volume:
|
||||
{volume} current volume, range from 0 to 255
|
||||
{volumepercent} current volume in %
|
||||
{maxvolume} maximal volume
|
||||
{mute} true if volume is muted
|
||||
-->
|
||||
<volume>
|
||||
<area x="0" y="0" width="100%" height="50%" layer="2">
|
||||
<drawtext x="10" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volumepercent}%" />
|
||||
<drawimage condition="not{mute}" imagetype="icon" path="ico_volume" x="{areawidth} - {areaheight} - 5" y="5" width="{areaheight}-5" height="{areaheight}-5"/>
|
||||
<drawimage condition="{mute}" imagetype="icon" path="ico_mute" x="{areawidth} - {areaheight} - 5" y="5" width="{areaheight}-5" height="{areaheight}-5"/>
|
||||
</area>
|
||||
<area x="5%" y="60%" width="90%" height="30%" layer="2">
|
||||
<fill color="{clrDarkGray}" />
|
||||
<drawrectangle x="0" y="0" width="{volume}/{maxvolume}*{areawidth}" height="100%" color="{clrTransBlueLight}" />
|
||||
</area>
|
||||
</volume>
|
||||
|
||||
</displayvolume>
|
||||
210
skins/default/xmlfiles/globals.xml
Normal file
210
skins/default/xmlfiles/globals.xml
Normal file
@@ -0,0 +1,210 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE globals SYSTEM "../../dtd/globals.dtd">
|
||||
|
||||
<globals>
|
||||
<!--
|
||||
define all your needed colors here
|
||||
-->
|
||||
<colors>
|
||||
<color name="clrRed">FFFF0000</color>
|
||||
<color name="clrGreen">FF5FE200</color>
|
||||
<color name="clrYellow">FFE2DA00</color>
|
||||
<color name="clrBlue">FF007FE2</color>
|
||||
<color name="clrTransBlack">C0000000</color>
|
||||
<color name="clrSemiTransBlack">D0000000</color>
|
||||
<color name="clrBlueLight">FF1E8BD7</color>
|
||||
<color name="clrTransBlueLight">C01E8BD7</color>
|
||||
<color name="clrTransWhite">C0FFFFFF</color>
|
||||
<color name="clrWhite">FFFFFFFF</color>
|
||||
<color name="clrDarkGray">FF14141E</color>
|
||||
<color name="clrTransparent">00000000</color>
|
||||
</colors>
|
||||
<!--
|
||||
these variables can be used everywhere in the templates
|
||||
variabls of type int can also be used as conditions, just
|
||||
set such a variable to 1 for true and 0 for false
|
||||
-->
|
||||
<variables>
|
||||
<var type="int" name="border">5</var>
|
||||
<var type="int" name="fadeTime">0</var>
|
||||
<var type="string" name="stringglobal">hützligrütz</var>
|
||||
</variables>
|
||||
<!--
|
||||
translations used in the skin
|
||||
-->
|
||||
<translations>
|
||||
<token name="tr(activetimers)">
|
||||
<trans lang="en_EN">Active Timers</trans>
|
||||
<trans lang="de_DE">Aktive Timer</trans>
|
||||
</token>
|
||||
<token name="tr(activetimer)">
|
||||
<trans lang="en_EN">Active Timer</trans>
|
||||
<trans lang="de_DE">Aktiver Timer</trans>
|
||||
</token>
|
||||
<token name="tr(conflicts)">
|
||||
<trans lang="en_EN">Conflicts</trans>
|
||||
<trans lang="de_DE">Konflikte</trans>
|
||||
</token>
|
||||
<token name="tr(disc)">
|
||||
<trans lang="en_EN">Disc</trans>
|
||||
<trans lang="de_DE">Disk</trans>
|
||||
</token>
|
||||
<token name="tr(free)">
|
||||
<trans lang="en_EN">free</trans>
|
||||
<trans lang="de_DE">frei</trans>
|
||||
</token>
|
||||
<token name="tr(hours)">
|
||||
<trans lang="en_EN">hours</trans>
|
||||
<trans lang="de_DE">Stunden</trans>
|
||||
</token>
|
||||
<token name="tr(reruns)">
|
||||
<trans lang="en_EN">Reruns</trans>
|
||||
<trans lang="de_DE">Wiederholungen</trans>
|
||||
</token>
|
||||
<token name="tr(rerunsof)">
|
||||
<trans lang="en_EN">Reruns of</trans>
|
||||
<trans lang="de_DE">Wiederholungen von</trans>
|
||||
</token>
|
||||
<token name="tr(actors)">
|
||||
<trans lang="en_EN">Actors</trans>
|
||||
<trans lang="de_DE">Schauspieler</trans>
|
||||
</token>
|
||||
<token name="tr(episode)">
|
||||
<trans lang="en_EN">Episode</trans>
|
||||
<trans lang="de_DE">Folge</trans>
|
||||
</token>
|
||||
<token name="tr(season)">
|
||||
<trans lang="en_EN">Season</trans>
|
||||
<trans lang="de_DE">Staffel</trans>
|
||||
</token>
|
||||
<token name="tr(gueststars)">
|
||||
<trans lang="en_EN">Guest Stars</trans>
|
||||
<trans lang="de_DE">Gaststars</trans>
|
||||
</token>
|
||||
<token name="tr(seriesfirstaired)">
|
||||
<trans lang="en_EN">Series First Aired</trans>
|
||||
<trans lang="de_DE">Erstausstrahlung der Serie</trans>
|
||||
</token>
|
||||
<token name="tr(episodefirstaired)">
|
||||
<trans lang="en_EN">Episode First Aired</trans>
|
||||
<trans lang="de_DE">Erstausstrahlung der Episode</trans>
|
||||
</token>
|
||||
<token name="tr(network)">
|
||||
<trans lang="en_EN">Network</trans>
|
||||
<trans lang="de_DE">TV Station</trans>
|
||||
</token>
|
||||
<token name="tr(genre)">
|
||||
<trans lang="en_EN">Genre</trans>
|
||||
<trans lang="de_DE">Genre</trans>
|
||||
</token>
|
||||
<token name="tr(status)">
|
||||
<trans lang="en_EN">Status</trans>
|
||||
<trans lang="de_DE">Status</trans>
|
||||
</token>
|
||||
<token name="tr(rating)">
|
||||
<trans lang="en_EN">Rating</trans>
|
||||
<trans lang="de_DE">Bewertung</trans>
|
||||
</token>
|
||||
<token name="tr(episoderating)">
|
||||
<trans lang="en_EN">Episode Rating</trans>
|
||||
<trans lang="de_DE">Bewertung der Folge</trans>
|
||||
</token>
|
||||
<token name="tr(recinfo)">
|
||||
<trans lang="en_EN">Recording Information</trans>
|
||||
<trans lang="de_DE">Aufnahme Informationen</trans>
|
||||
</token>
|
||||
<token name="tr(seriesgalery)">
|
||||
<trans lang="en_EN">Series Galery</trans>
|
||||
<trans lang="de_DE">Serien Galerie</trans>
|
||||
</token>
|
||||
<token name="tr(moviegalery)">
|
||||
<trans lang="en_EN">Movie Galery</trans>
|
||||
<trans lang="de_DE">Spielfilm Galerie</trans>
|
||||
</token>
|
||||
<token name="tr(originaltitle)">
|
||||
<trans lang="en_EN">Original Title</trans>
|
||||
<trans lang="de_DE">Originaltitel</trans>
|
||||
</token>
|
||||
<token name="tr(budget)">
|
||||
<trans lang="en_EN">Budget</trans>
|
||||
<trans lang="de_DE">Budget</trans>
|
||||
</token>
|
||||
<token name="tr(revenue)">
|
||||
<trans lang="en_EN">Revenue</trans>
|
||||
<trans lang="de_DE">Einnahmen</trans>
|
||||
</token>
|
||||
<token name="tr(adult)">
|
||||
<trans lang="en_EN">Adult</trans>
|
||||
<trans lang="de_DE">Nur für Erwachsene</trans>
|
||||
</token>
|
||||
<token name="tr(releasedate)">
|
||||
<trans lang="en_EN">Release Date</trans>
|
||||
<trans lang="de_DE">Erscheinungsdatum</trans>
|
||||
</token>
|
||||
<token name="tr(runtime)">
|
||||
<trans lang="en_EN">Runtime</trans>
|
||||
<trans lang="de_DE">Laufzeit</trans>
|
||||
</token>
|
||||
<token name="tr(popularity)">
|
||||
<trans lang="en_EN">Popularity</trans>
|
||||
<trans lang="de_DE">Popularität</trans>
|
||||
</token>
|
||||
<token name="tr(voteaverage)">
|
||||
<trans lang="en_EN">Vote Average</trans>
|
||||
<trans lang="de_DE">Durchschnittliche Wertung</trans>
|
||||
</token>
|
||||
<token name="tr(homepage)">
|
||||
<trans lang="en_EN">Homepage</trans>
|
||||
<trans lang="de_DE">Homepage</trans>
|
||||
</token>
|
||||
<token name="tr(recsize)">
|
||||
<trans lang="en_EN">Recording size</trans>
|
||||
<trans lang="de_DE">Größe der Aufnahme</trans>
|
||||
</token>
|
||||
<token name="tr(recsizecutted)">
|
||||
<trans lang="en_EN">Cutted Recording Size</trans>
|
||||
<trans lang="de_DE">Größe der geschnittenen Aufnahme</trans>
|
||||
</token>
|
||||
<token name="tr(reclength)">
|
||||
<trans lang="en_EN">Recording Length</trans>
|
||||
<trans lang="de_DE">Länge der Aufnahme</trans>
|
||||
</token>
|
||||
<token name="tr(reclengthcutted)">
|
||||
<trans lang="en_EN">Cutted Recording Length</trans>
|
||||
<trans lang="de_DE">Länge der geschnittenen Aufnahme</trans>
|
||||
</token>
|
||||
<token name="tr(bitrate)">
|
||||
<trans lang="en_EN">Bit Rate</trans>
|
||||
<trans lang="de_DE">Bitrate</trans>
|
||||
</token>
|
||||
<token name="tr(format)">
|
||||
<trans lang="en_EN">Format</trans>
|
||||
<trans lang="de_DE">Format</trans>
|
||||
</token>
|
||||
<token name="tr(searchtimer)">
|
||||
<trans lang="en_EN">Searchtimer</trans>
|
||||
<trans lang="de_DE">Suchtimer</trans>
|
||||
</token>
|
||||
<token name="tr(volume)">
|
||||
<trans lang="en_EN">Volume</trans>
|
||||
<trans lang="de_DE">Lautstärke</trans>
|
||||
</token>
|
||||
</translations>
|
||||
<!--
|
||||
The three Fonts FontOSD, FontFix and FontSml configured in VDR
|
||||
can be used in all template "font" attributes with this tokens:
|
||||
{vdrOsd}
|
||||
{vdrFix}
|
||||
{vdrSml}
|
||||
If you like to use further fonts, just define them below.
|
||||
Syntax:
|
||||
<font name="tokenname">fontname</font>
|
||||
These fonts can then also be used in all templates in the "font"
|
||||
attribute.
|
||||
if an invalid font is used in a template, vdrOsd is used as default.
|
||||
-->
|
||||
<fonts>
|
||||
<font name="light">VDROpen Sans Light:Light</font>
|
||||
<font name="semibold">VDROpen Sans Semibold:Semibold</font>
|
||||
</fonts>
|
||||
</globals>
|
||||
Reference in New Issue
Block a user