mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
version 0.3.0
This commit is contained in:
386
skins/nopacity/xmlfiles/plug-tvguideng-detail.xml
Normal file
386
skins/nopacity/xmlfiles/plug-tvguideng-detail.xml
Normal file
@@ -0,0 +1,386 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displayplugin SYSTEM "../../../dtd/displayplugin.dtd">
|
||||
|
||||
<displayplugin x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="80%" scaletvy="0" scaletvwidth="20%" scaletvheight="20%">
|
||||
|
||||
<viewelement name="background">
|
||||
<area x="0" y="0" width="100%" height="20%" layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_header" x="0" y="0" width="80%" height="100%"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_tvframe" x="80%" y="0" width="20%" height="100%"/>
|
||||
</area>
|
||||
<area x="0" y="20%" width="100%" height="80%" layer="1">
|
||||
<fill color="{clrBackground}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Available Variables scrollbar:
|
||||
{height} height of scrollbar in tenth of a percent of total height
|
||||
{offset} offset in tenth of a percent of total height
|
||||
-->
|
||||
<scrollbar>
|
||||
<area x="97%" y="20%" width="2%" height="65%" layer="2">
|
||||
<fill color="{clrBorder}" />
|
||||
<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="{clrScrollbar}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
|
||||
<!-- Available Variables Footer:
|
||||
{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
|
||||
-->
|
||||
<viewelement name="footer">
|
||||
<area condition="{red1}" x="0" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{red}" />
|
||||
</area>
|
||||
<area condition="{green1}" x="0" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{green}" />
|
||||
</area>
|
||||
<area condition="{yellow1}" x="0" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{yellow}" />
|
||||
</area>
|
||||
<area condition="{blue1}" x="0" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
||||
</area>
|
||||
|
||||
<area condition="{red2}" x="25%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{red}" />
|
||||
</area>
|
||||
<area condition="{green2}" x="25%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{green}" />
|
||||
</area>
|
||||
<area condition="{yellow2}" x="25%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{yellow}" />
|
||||
</area>
|
||||
<area condition="{blue2}" x="25%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
||||
</area>
|
||||
|
||||
<area condition="{red3}" x="50%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{red}" />
|
||||
</area>
|
||||
<area condition="{green3}" x="50%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{green}" />
|
||||
</area>
|
||||
<area condition="{yellow3}" x="50%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{yellow}" />
|
||||
</area>
|
||||
<area condition="{blue3}" x="50%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
||||
</area>
|
||||
|
||||
<area condition="{red4}" x="75%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{red}" />
|
||||
</area>
|
||||
<area condition="{green4}" x="75%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{green}" />
|
||||
</area>
|
||||
<area condition="{yellow4}" x="75%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{yellow}" />
|
||||
</area>
|
||||
<area condition="{blue4}" x="75%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Available Variables time:
|
||||
{time} timestring in hh:mm
|
||||
{sec} current seconds
|
||||
{min} current minutes
|
||||
{hour} current hours
|
||||
{hmins} current "hourminutes" to display an hour hand
|
||||
-->
|
||||
<viewelement name="time">
|
||||
</viewelement>
|
||||
|
||||
|
||||
<!-- 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 event as three letter abrivation
|
||||
{date} date of current event in dd.mm.yy
|
||||
{daynumeric} day as number
|
||||
{month} month as number
|
||||
{year} year as number
|
||||
{running} true if event is currently running
|
||||
{elapsed} elapsed time of event, if not running 0
|
||||
{duration} duration of event
|
||||
{durationhours} duration, full hours
|
||||
{durationminutes} duration, rest of minutes
|
||||
{vps} vps description string
|
||||
{channelname} Channelname of event
|
||||
{channelnumber} Channelnumber of event
|
||||
{channellogoexists} true if a channel logo exists
|
||||
{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
|
||||
-->
|
||||
<viewelement name="header">
|
||||
<area x="1%" y="1%" width="75%" height="18%" layer="2">
|
||||
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="15%" height="80%" valign="center" />
|
||||
<drawtext name="title" x="{width(logo)} + 20" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{title}" />
|
||||
<drawtext name="datetime" x="{width(logo)} + 20" y="{posy(title)} - {height(datetime)}" font="{vdrOsd}" fontsize="25%" color="{clrWhite}" text="{day} {date} {start} - {stop} ({duration} mins)" />
|
||||
<drawtext name="shorttext" x="{width(logo)} + 20" y="{posy(title)} + {height(title)}" font="{vdrOsd}" fontsize="25%" color="{clrWhite}" text="{shorttext}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- 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 event as three letter abrivation
|
||||
{date} date of current event in dd.mm.yy
|
||||
{daynumeric} day as number
|
||||
{month} month as number
|
||||
{year} year as number
|
||||
{running} true if event is currently running
|
||||
{elapsed} elapsed time of event, if not running 0
|
||||
{duration} duration of event
|
||||
{durationhours} duration, full hours
|
||||
{durationminutes} duration, rest of minutes
|
||||
{vps} vps description string
|
||||
{channellogoexists} true if a channel logo exists
|
||||
{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 -->
|
||||
<!-- just define as many tabs as needed -->
|
||||
|
||||
<!-- TAB EPGINFO -->
|
||||
<tab name="EPG Info" x="1%" y="21%" width="95%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtextbox condition="not{isseries}++not{ismovie}" x="0" y="10" width="96%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{description}" />
|
||||
<drawimage condition="{isseries}" name="seriesposter" imagetype="image" path="{seriesposter1path}" x="{areawidth}*0.75" y="10" width="{areawidth}*0.25" height="{areawidth} * 0.25 * {seriesposter1height} / {seriesposter1width}"/>
|
||||
<drawimage condition="{ismovie}" name="movieposter" imagetype="image" path="{posterpath}" x="{areawidth}*0.75" y="10" width="{areawidth}*0.25" height="{areawidth} * 0.25 * {posterheight} / {posterwidth}" />
|
||||
<drawtextbox condition="{isseries}" x="0" y="10" width="96%" float="topright" floatwidth="{width(seriesposter)} + 10" floatheight="{height(seriesposter)} + 20" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{description}" />
|
||||
<drawtextbox condition="{ismovie}" x="0" y="10" width="96%" float="topright" floatwidth="{width(movieposter)} + 10" floatheight="{height(movieposter)} + 20" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{description}" />
|
||||
</tab>
|
||||
<!-- TAB RERUNS -->
|
||||
<tab condition="{hasreruns}" name="{tr(reruns)}" x="1%" y="21%" width="95%" height="60%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtext align="center" y="0" name="title" font="{vdrOsd}" 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" width="10%" height="10%" />
|
||||
<drawtext name="channelname" condition="not{reruns[channellogoexists]}" x="-5" font="{vdrOsd}" fontsize="10%" color="{clrWhite}" text="{reruns[channelname]}" />
|
||||
<drawtext condition="{reruns[channellogoexists]}" x="{width(logo)}+20" y="-5" width="{areawidth} - {width(logo)} - 20" font="{vdrOsd}" 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="{vdrOsd}" 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="1%" y="21%" width="95%" height="60%" layer="2" scrollheight="{areaheight}/4">
|
||||
<drawtext align="center" name="title" y="0" font="{vdrOsd}" 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="{vdrOsd}" fontsize="7%" color="{clrWhite}" text="{actors[name]}" />
|
||||
<drawtext align="center" y="{height(thumb)} + 10 + {height(actorname)}" width="{columnwidth}" font="{vdrOsd}" fontsize="7%" color="{clrWhite}" text="{actors[role]}" />
|
||||
</loop>
|
||||
</tab>
|
||||
<!-- TAB TVDBINFO -->
|
||||
<tab condition="{isseries}" name="TvDBInfo" x="1%" y="21%" width="95%" height="60%" 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="{vdrOsd}" fontsize="6%" 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="1%" y="21%" width="95%" height="60%" 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="1%" y="21%" width="95%" height="60%" 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="{vdrOsd}" 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="1%" y="21%" width="95%" height="60%" 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:
|
||||
{currenttab} name of currently active tab
|
||||
{prevtab} name of prev tab
|
||||
{nexttab} name of next tab
|
||||
{tabs[]} array with available tab labels
|
||||
{tabs[title]} title of tab
|
||||
{tabs[current]} true if tab is displayed currently
|
||||
-->
|
||||
<tablabels>
|
||||
<area x="1%" y="87%" width="98%" height="5%" layer="3">
|
||||
<drawrectangle x="0" y="1" width="100%" height="1" color="{clrBorder}" />
|
||||
<loop name="tabs" x="0" y="0" orientation="horizontal">
|
||||
<drawrectangle condition="{tabs[current]}" x="0" y="1" width="{width(label)}" height="100%" color="{clrBorder}" />
|
||||
<drawrectangle condition="not{tabs[current]}" x="0" y="1" width="{width(label)}" height="100%" color="{clrBorder}" />
|
||||
<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="{vdrOsd}" fontsize="95%" color="{clrWhite}" text=" {tabs[title]} " />
|
||||
</loop>
|
||||
</area>
|
||||
</tablabels>
|
||||
|
||||
</displayplugin>
|
||||
468
skins/nopacity/xmlfiles/plug-tvguideng-recmenu.xml
Normal file
468
skins/nopacity/xmlfiles/plug-tvguideng-recmenu.xml
Normal file
@@ -0,0 +1,468 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displayplugin SYSTEM "../../../dtd/displayplugin.dtd">
|
||||
|
||||
<displayplugin x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="80%" scaletvy="0" scaletvwidth="20%" scaletvheight="20%">
|
||||
<!-- Available Variables Background:
|
||||
{menuwidth} menuwidth in percent of screenwidth
|
||||
{menuheight} menuheight in percent of screenheight
|
||||
{hasscrollbar} true if menu needs a scrollbar
|
||||
-->
|
||||
<viewelement name="background">
|
||||
<area condition="not{hasscrollbar}" x="0" y="0" width="100%" height="100%" layer="4">
|
||||
<drawrectangle x="{areawidth}/2 - {menuwidth}*{areawidth}/100/2" y="{areaheight}/2 - {menuheight}*{areaheight}/100/2" width="{menuwidth}*{areawidth}/100" height="{menuheight}*{areaheight}/100" color="{clrBackgroundOpaque}" />
|
||||
</area>
|
||||
<area condition="{hasscrollbar}" x="0" y="0" width="100%" height="100%" layer="4">
|
||||
<drawrectangle x="{areawidth}/2 - {menuwidth}*{areawidth}/100/2" y="{areaheight}/2 - {menuheight}*{areaheight}/100/2" width="{menuwidth}*{areawidth}/100 + {areawidth}*0.03" height="{menuheight}*{areaheight}/100" color="{clrBackgroundOpaque}"/>
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Available Variables Scrollbar:
|
||||
{menuwidth} menuwidth in percent of screenwidth
|
||||
{posy} y position of scrollbar start in percent of screenheight
|
||||
{totalheight} height of complete scrollbar in percent of screenheight
|
||||
{height} height in tenth of a percent of total height
|
||||
{offset} offset in tenth of a percent
|
||||
-->
|
||||
<viewelement name="scrollbar">
|
||||
<area x="0" y="0" width="100%" height="100%" layer="5">
|
||||
<drawrectangle x="{areawidth}/2 + {menuwidth}*{areawidth}/100/2" y="{posy}*{areaheight}/100" width="2%" height="{totalheight}*{areaheight}/100" color="{clrScrollbar}" />
|
||||
<drawrectangle x="{areawidth}/2 + {menuwidth}*{areawidth}/100/2 + 2" y="{posy}*{areaheight}/100 + 2" width="{areawidth}*0.02 - 4" height="{totalheight}*{areaheight}/100 - 4" color="{clrTransparent}" />
|
||||
</area>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="6">
|
||||
<drawrectangle x="{areawidth}/2 + {menuwidth}*{areawidth}/100/2 + 4" y="{posy}*{areaheight}/100 + {totalheight}*{areaheight}/100 * {offset} / 1000 + 4" width="{areawidth}*0.02 - 8" height="{totalheight}*{areaheight}/100 * {height} / 1000 - 8" color="{clrScrollbar}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<grid name="recmenu" x="0" y="0" width="100%" height="100%">
|
||||
<!-- Background
|
||||
{current} true if item is currently selected
|
||||
-->
|
||||
<area condition="not{info}++not{buttonyesno}++not{timerconflictheader}++not{timerconflict}++not{timelineheader}++not{timelinetimer}" layer="5">
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_button" x="0" y="0" width="100%" height="100%"/>
|
||||
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_button_active" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area condition="{info}" layer="5">
|
||||
<drawtext condition="eq({lines}, 1)" align="center" valign="center" font="{vdrOsd}" fontsize="60%" color="{clrWhite}" text="{line1}" />
|
||||
|
||||
<drawtext condition="eq({lines}, 2)" align="center" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrWhite}" text="{line1}" />
|
||||
<drawtext condition="eq({lines}, 2)" align="center" y="52%" font="{vdrOsd}" fontsize="40%" color="{clrWhite}" text="{line2}" />
|
||||
|
||||
<drawtext condition="eq({lines}, 3)" align="center" y="0%" font="{vdrOsd}" fontsize="28%" color="{clrWhite}" text="{line1}" />
|
||||
<drawtext condition="eq({lines}, 3)" align="center" y="33%" font="{vdrOsd}" fontsize="28%" color="{clrWhite}" text="{line2}" />
|
||||
<drawtext condition="eq({lines}, 3)" align="center" y="66%" font="{vdrOsd}" fontsize="28%" color="{clrWhite}" text="{line3}" />
|
||||
|
||||
<drawtext condition="eq({lines}, 4)" align="center" y="0%" font="{vdrOsd}" fontsize="22%" color="{clrWhite}" text="{line1}" />
|
||||
<drawtext condition="eq({lines}, 4)" align="center" y="25%" font="{vdrOsd}" fontsize="22%" color="{clrWhite}" text="{line2}" />
|
||||
<drawtext condition="eq({lines}, 4)" align="center" y="50%" font="{vdrOsd}" fontsize="22%" color="{clrWhite}" text="{line3}" />
|
||||
<drawtext condition="eq({lines}, 4)" align="center" y="75%" font="{vdrOsd}" fontsize="22%" color="{clrWhite}" text="{line4}" />
|
||||
</area>
|
||||
<!-- button
|
||||
{button} true
|
||||
{buttontext} text to display on button
|
||||
-->
|
||||
<area condition="{button}" layer="6">
|
||||
<drawtext condition="not{current}" align="center" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{buttontext}" />
|
||||
<drawtext condition="{current}" align="center" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{buttontext}" />
|
||||
</area>
|
||||
|
||||
<!-- yes / no button
|
||||
{buttonyesno} true
|
||||
{yes} true if button is set to yes
|
||||
{textyes} text to display on yes button
|
||||
{textno} text to display on no button
|
||||
-->
|
||||
<area condition="{buttonyesno}" layer="5">
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_button" x="2%" y="5%" width="46%" height="90%"/>
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_button" x="52%" y="5%" width="46%" height="90%"/>
|
||||
<drawimage condition="{current}++{yes}" imagetype="skinpart" path="tvguide_button_active" x="2%" y="5%" width="46%" height="90%"/>
|
||||
<drawimage condition="{current}++{yes}" imagetype="skinpart" path="tvguide_button" x="52%" y="5%" width="46%" height="90%"/>
|
||||
<drawimage condition="{current}++not{yes}" imagetype="skinpart" path="tvguide_button" x="2%" y="5%" width="46%" height="90%"/>
|
||||
<drawimage condition="{current}++not{yes}" imagetype="skinpart" path="tvguide_button_active" x="52%" y="5%" width="46%" height="90%"/>
|
||||
</area>
|
||||
<area condition="{buttonyesno}" layer="6">
|
||||
<drawtext condition="not{current}" name="yestext" x="{areawidth}/4 - {width(yestext)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrFontMenuItem}" text="{textyes}" />
|
||||
<drawtext condition="not{current}" name="notext" x="3*{areawidth}/4 - {width(notext)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrFontMenuItem}" text="{textno}" />
|
||||
<drawtext condition="{current}++{yes}" name="yestext" x="{areawidth}/4 - {width(yestext)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrFontMenuItemSelected}" text="{textyes}" />
|
||||
<drawtext condition="{current}++not{yes}" name="yestext" x="{areawidth}/4 - {width(yestext)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrFontMenuItem}" text="{textyes}" />
|
||||
<drawtext condition="{current}++not{yes}" name="notext" x="3*{areawidth}/4 - {width(notext)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrFontMenuItemSelected}" text="{textno}" />
|
||||
<drawtext condition="{current}++{yes}" name="notext" x="3*{areawidth}/4 - {width(notext)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrFontMenuItem}" text="{textno}" />
|
||||
</area> <!-- Int Selector
|
||||
{intselector} true
|
||||
{text} title of selector
|
||||
{value} current value of selector, integer
|
||||
-->
|
||||
<area condition="{intselector}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
<drawtext condition="not{current}" align="right" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{value} " />
|
||||
<drawtext condition="{current}" align="right" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{value} " />
|
||||
</area>
|
||||
<!-- Bool Selector
|
||||
{boolselector} true
|
||||
{text} title of selector
|
||||
{value} current value of selector, true or false
|
||||
-->
|
||||
<area condition="{boolselector}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
<drawimage condition="{value}" imagetype="icon" path="ico_yes" x="{areawidth} - {areaheight}*0.8" y="10%" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="not{value}" imagetype="icon" path="ico_no" x="{areawidth} - {areaheight}*0.8" y="10%" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
</area>
|
||||
<!-- String Selector
|
||||
{stringselector} true
|
||||
{text} title of selector
|
||||
{value} current value of selector, string
|
||||
-->
|
||||
<area condition="{stringselector}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
<drawimage imagetype="icon" path="ico_arrow_right" x="{areawidth} - {areaheight}*0.8" y="10%" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
<drawtext condition="not{current}" name="value" x="{areawidth} - {width(value)} - {areaheight}" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{value}" />
|
||||
<drawtext condition="{current}" name="value" x="{areawidth} - {width(value)} - {areaheight}" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{value}" />
|
||||
<drawimage imagetype="icon" path="ico_arrow_left" x="{areawidth} - {width(value)} - 2*{areaheight}" y="10%" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
</area>
|
||||
<!-- Text Input
|
||||
{textinput} true
|
||||
{editmode} true if currently in edit mode
|
||||
{text} title of selector
|
||||
{value} current value of selector, string
|
||||
-->
|
||||
<area condition="{textinput}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" y="10%" font="{vdrOsd}" fontsize="40%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" y="10%" font="{vdrOsd}" fontsize="40%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
<drawrectangle condition="not{editmode}" x="1%" y="55%" width="98%" height="40%" color="{clrWhite}"/>
|
||||
<drawrectangle condition="{editmode}" x="1%" y="55%" width="98%" height="40%" color="{clrRed}"/>
|
||||
</area>
|
||||
<area condition="{textinput}" layer="7">
|
||||
<drawtext align="right" y="55%" font="{vdrOsd}" fontsize="40%" color="{clrBlack}" text="{value} " />
|
||||
</area>
|
||||
<!-- Time Selector
|
||||
{timeselector} true
|
||||
{text} title of selector
|
||||
{value} current value of selector, hh:mm
|
||||
-->
|
||||
<area condition="{timeselector}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
<drawtext condition="not{current}" align="right" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{value} " />
|
||||
<drawtext condition="{current}" align="right" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{value} " />
|
||||
</area>
|
||||
<!-- Day Selector
|
||||
{dayselector} true
|
||||
{text} title of selector
|
||||
{value} current value of selector, dd.mm
|
||||
-->
|
||||
<area condition="{dayselector}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
<drawtext condition="not{current}" align="right" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{value} " />
|
||||
<drawtext condition="{current}" align="right" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{value} " />
|
||||
</area>
|
||||
<!-- Channel Selector
|
||||
{channelselector} true
|
||||
{text} title of selector
|
||||
{channelnumber} number of currently selected channel, 0 for "all channels"
|
||||
{channelname} name of channel or "all channels"
|
||||
{channelid} id of channel
|
||||
{channellogoexisis} true if channel logo exists
|
||||
-->
|
||||
<area condition="{channelselector}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
<drawimage condition="{channellogoexisis}" imagetype="channellogo" path="{channelid}" x="{areawidth}-{areaheight}" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9" />
|
||||
<drawtext name="channelnumberlogo" condition="{channellogoexisis}" x="{areawidth}-{areaheight}-{width(channelnumberlogo)}-10" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{channelnumber}" />
|
||||
<drawtext condition="not{channellogoexisis}++{channelnumber}" align="right" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{channelnumber} {channelname} " />
|
||||
<drawtext condition="not{channelnumber}" align="right" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{channelname} " />
|
||||
</area>
|
||||
<!-- Weekday Selector
|
||||
{weekdayselector} true
|
||||
{text} title of selector
|
||||
{dayselected} number of currently selected day (0 - 6)
|
||||
{day0abbr} ... {day6abbr} localized one character abbrevation for weekdays from Monday to Sunday
|
||||
{day0set} ... {day6set} true if according weekday from Monday to Sunday is set
|
||||
-->
|
||||
<area condition="{weekdayselector}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
|
||||
<drawrectangle x="{areawidth} - {areaheight}*4" y="25%" width="{areaheight}*3.5" height="50%" color="{clrWhite}" />
|
||||
|
||||
<drawrectangle condition="not{day0set}" x="{areawidth} - {areaheight}*4.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrGray}" />
|
||||
<drawrectangle condition="{day0set}" x="{areawidth} - {areaheight}*4.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrBlack}" />
|
||||
|
||||
<drawrectangle condition="not{day1set}" x="{areawidth} - {areaheight}*3.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrGray}" />
|
||||
<drawrectangle condition="{day1set}" x="{areawidth} - {areaheight}*3.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrBlack}" />
|
||||
|
||||
<drawrectangle condition="not{day2set}" x="{areawidth} - {areaheight}*3.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrGray}" />
|
||||
<drawrectangle condition="{day2set}" x="{areawidth} - {areaheight}*3.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrBlack}" />
|
||||
|
||||
<drawrectangle condition="not{day3set}" x="{areawidth} - {areaheight}*2.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrGray}" />
|
||||
<drawrectangle condition="{day3set}" x="{areawidth} - {areaheight}*2.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrBlack}" />
|
||||
|
||||
<drawrectangle condition="not{day4set}" x="{areawidth} - {areaheight}*2.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrGray}" />
|
||||
<drawrectangle condition="{day4set}" x="{areawidth} - {areaheight}*2.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrBlack}" />
|
||||
|
||||
<drawrectangle condition="not{day5set}" x="{areawidth} - {areaheight}*1.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrGray}" />
|
||||
<drawrectangle condition="{day5set}" x="{areawidth} - {areaheight}*1.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrBlack}" />
|
||||
|
||||
<drawrectangle condition="not{day6set}" x="{areawidth} - {areaheight}*1.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrGray}" />
|
||||
<drawrectangle condition="{day6set}" x="{areawidth} - {areaheight}*1.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrBlack}" />
|
||||
</area>
|
||||
<area condition="{weekdayselector}" layer="7">
|
||||
<drawrectangle condition="{current}++eq({dayselected}, 0)" x="{areawidth} - {areaheight}*4.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrTransRed}" />
|
||||
<drawrectangle condition="{current}++eq({dayselected}, 1)" x="{areawidth} - {areaheight}*3.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrTransRed}" />
|
||||
<drawrectangle condition="{current}++eq({dayselected}, 2)" x="{areawidth} - {areaheight}*3.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrTransRed}" />
|
||||
<drawrectangle condition="{current}++eq({dayselected}, 3)" x="{areawidth} - {areaheight}*2.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrTransRed}" />
|
||||
<drawrectangle condition="{current}++eq({dayselected}, 4)" x="{areawidth} - {areaheight}*2.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrTransRed}" />
|
||||
<drawrectangle condition="{current}++eq({dayselected}, 5)" x="{areawidth} - {areaheight}*1.5 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrTransRed}" />
|
||||
<drawrectangle condition="{current}++eq({dayselected}, 6)" x="{areawidth} - {areaheight}*1.0 + 2" y="{areaheight}*0.25+2" width="{areaheight}*0.5-4" height="{areaheight}*0.5-4" color="{clrTransRed}" />
|
||||
|
||||
<drawtext name="day0" x="{areawidth} - {areaheight}*4.0 + {areaheight}/4 - {width(day0)}/2" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{day0abbr}" />
|
||||
<drawtext name="day1" x="{areawidth} - {areaheight}*3.5 + {areaheight}/4 - {width(day1)}/2" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{day1abbr}" />
|
||||
<drawtext name="day2" x="{areawidth} - {areaheight}*3.0 + {areaheight}/4 - {width(day2)}/2" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{day2abbr}" />
|
||||
<drawtext name="day3" x="{areawidth} - {areaheight}*2.5 + {areaheight}/4 - {width(day3)}/2" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{day3abbr}" />
|
||||
<drawtext name="day4" x="{areawidth} - {areaheight}*2.0 + {areaheight}/4 - {width(day4)}/2" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{day4abbr}" />
|
||||
<drawtext name="day5" x="{areawidth} - {areaheight}*1.5 + {areaheight}/4 - {width(day5)}/2" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{day5abbr}" />
|
||||
<drawtext name="day6" x="{areawidth} - {areaheight}*1.0 + {areaheight}/4 - {width(day6)}/2" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{day6abbr}" />
|
||||
</area>
|
||||
<!-- Directory Selector
|
||||
{directoryselector} true
|
||||
{text} title of selector
|
||||
{folder} current folder of selector, string
|
||||
-->
|
||||
<area condition="{directoryselector}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItem}" text="{text}" />
|
||||
<drawtext condition="{current}" x="1%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{text}" />
|
||||
<drawimage imagetype="icon" path="ico_arrow_right" x="{areawidth} - {areaheight}*0.8" y="10%" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
<drawtext name="folder" x="{areawidth} - {width(folder)} - {areaheight}" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{folder}" />
|
||||
<drawimage imagetype="icon" path="ico_arrow_left" x="{areawidth} - {width(folder)} - 2*{areaheight}" y="10%" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
</area>
|
||||
<!-- Timerconflict Header
|
||||
{timerconflictheader} true
|
||||
{text} title of Timerconflict Header
|
||||
{conflictstart} start of conflict in hh:mm
|
||||
{conflictstop} end of conflict in hh:mm
|
||||
{overlapstart} start of overlap in hh:mm
|
||||
{overlapstop} end of overlap in hh:mm
|
||||
{overlapstartpercent} start of overlap in percent of total conflict time width
|
||||
{overlapwidthpercent} width of overlap in percent of total conflict time width
|
||||
-->
|
||||
<area condition="{timerconflictheader}" layer="5">
|
||||
<drawtext name="title" x="{areawidth}*0.7*0.5 - {width(title)}/2" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{text}" />
|
||||
<drawrectangle x="70%" y="0" width="30%" height="100%" color="{clrWhite}"/>
|
||||
</area>
|
||||
<area condition="{timerconflictheader}" layer="6">
|
||||
<drawtext x="{areawidth}*0.7" y="0" font="{vdrOsd}" fontsize="50%" color="{clrBlack}" text="{conflictstart}" />
|
||||
<drawtext align="right" y="0" font="{vdrOsd}" fontsize="50%" color="{clrBlack}" text="{conflictstop}" />
|
||||
<drawtext name="olstart" x="{areawidth}*0.7 + {overlapstartpercent}*{areawidth}*0.3/100 - 70" y="50%" font="{vdrOsd}" fontsize="50%" color="{clrRed}" text="{overlapstart}" />
|
||||
<drawtext x="{areawidth}*0.7 + {overlapstartpercent}*{areawidth}*0.3/100 + {overlapwidthpercent}*{areawidth}*0.3/100 + 5" y="50%" font="{vdrOsd}" fontsize="50%" color="{clrRed}" text="{overlapstop}" />
|
||||
<drawrectangle x="{areawidth}*0.7 + {overlapstartpercent}*{areawidth}*0.3/100" y="50%" width="{overlapwidthpercent}*{areawidth}*0.3/100" height="50%" color="{clrTransRed}"/>
|
||||
</area>
|
||||
<!-- Timerconflict
|
||||
{timerconflict} true
|
||||
{timertitle} title of timer
|
||||
{channelname} name of channel
|
||||
{channelid} channel ID
|
||||
{transponder} transponder of channel
|
||||
{starttime} start of timer in hh:mm
|
||||
{stoptime} end of timer in hh:mm
|
||||
{date} date of timer in dd.mm.yy
|
||||
{weekday} weekday of timer, 3 letter abrivation
|
||||
{infoactive} true if info icon is active
|
||||
{deleteactive} true if delete icon is active
|
||||
{editactive} true if edit icon is active
|
||||
{searchactive} true if search icon is active
|
||||
{timerstartpercent} start of timer in percent of total conflict time width
|
||||
{timerwidthpercent} end of timer in percent of total conflict time width
|
||||
{overlapstartpercent} start of overlap in percent of total conflict time width
|
||||
{overlapwidthpercent} width of overlap in percent of total conflict time width
|
||||
-->
|
||||
<area condition="{timerconflict}" layer="5">
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="menubutton" x="0" y="0" width="70%" height="100%"/>
|
||||
<drawimage condition="{current}" imagetype="skinpart" path="menubuttonactive" x="0" y="0" width="70%" height="100%"/>
|
||||
</area>
|
||||
<area condition="{timerconflict}" layer="6">
|
||||
<drawimage condition="{current}++{infoactive}" imagetype="icon" path="ico_info_active" x="{areaheight}*0.05" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}||not{infoactive}" imagetype="icon" path="ico_info_inactive" x="{areaheight}*0.05" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="{current}++{deleteactive}" imagetype="icon" path="ico_delete_active" x="{areaheight}*0.6" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}||not{deleteactive}" imagetype="icon" path="ico_delete_inactive" x="{areaheight}*0.6" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="{current}++{editactive}" imagetype="icon" path="ico_edit_active" x="{areaheight}*1.15" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}||not{editactive}" imagetype="icon" path="ico_edit_inactive" x="{areaheight}*1.15" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="{current}++{searchactive}" imagetype="icon" path="ico_search_active" x="{areaheight}*1.7" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}||not{searchactive}" imagetype="icon" path="ico_search_inactive" x="{areaheight}*1.7" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawtext x="{areaheight}*2.3" width="{areawidth}*0.7 - {areaheight}*2.4" y="0" font="{vdrOsd}" fontsize="40%" color="{clrWhite}" text="{timertitle}" />
|
||||
<drawtext x="{areaheight}*2.3" y="40%" font="{vdrOsd}" fontsize="30%" color="{clrWhite}" text="{weekday} {date} {starttime} - {stoptime}" />
|
||||
<drawtext x="{areaheight}*2.3" y="70%" font="{vdrOsd}" fontsize="30%" color="{clrWhite}" text="{channelname}, Transp. {transponder}" />
|
||||
<drawrectangle x="70%" y="0" width="30%" height="100%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.7 + {timerstartpercent}*{areawidth}*0.3/100" y="30%" width="{timerwidthpercent}*{areawidth}*0.3/100" height="40%" color="{clrBlack}"/>
|
||||
</area>
|
||||
<area condition="{timerconflict}" layer="7">
|
||||
<drawrectangle x="{areawidth}*0.7 + {overlapstartpercent}*{areawidth}*0.3/100" y="0" width="{overlapwidthpercent}*{areawidth}*0.3/100" height="100%" color="{clrTransRed}"/>
|
||||
</area>
|
||||
<!-- Event
|
||||
{event} true
|
||||
{title} title of event
|
||||
{shorttext} shorttext of event
|
||||
{starttime} start of event in hh:mm
|
||||
{stoptime} end of event in hh:mm
|
||||
{date} date of event in dd.mm.yy
|
||||
{weekday} weekday of event, 3 letter abrivation
|
||||
{channelnumber} number of channel
|
||||
{channelname} name of channel
|
||||
{channelid} id of channel
|
||||
{channellogoexisis} true if channel logo exists
|
||||
{hastimer} true if event has a timer
|
||||
-->
|
||||
<area condition="{event}" layer="6">
|
||||
<drawimage condition="{current}" imagetype="icon" path="ico_info_active" x="{areaheight}*0.05" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}" imagetype="icon" path="ico_info_inactive" x="{areaheight}*0.05" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="{channellogoexisis}" imagetype="channellogo" path="{channelid}" x="{areaheight}*0.8" valign="center" width="{areaheight}" height="{areaheight}" />
|
||||
<drawtext condition="not{current}" x="{areaheight}*2.2" y="2" font="{vdrOsd}" fontsize="30%" color="{clrFontMenuItem}" text="{weekday} {date} {starttime} - {stoptime} {channelname}" />
|
||||
<drawtext condition="not{current}" x="{areaheight}*2.2" y="30%" width="{areawidth} - 3*{areaheight}" font="{vdrOsd}" fontsize="45%" color="{clrFontMenuItem}" text="{title}" />
|
||||
<drawtext condition="not{current}" x="{areaheight}*2.2" y="69%" width="{areawidth} - 3*{areaheight}" font="{vdrOsd}" fontsize="30%" color="{clrFontMenuItem}" text="{shorttext}" />
|
||||
<drawtext condition="{current}" x="{areaheight}*2.2" y="2" font="{vdrOsd}" fontsize="30%" color="{clrFontMenuItemSelected}" text="{weekday} {date} {starttime} - {stoptime} {channelname}" />
|
||||
<drawtext condition="{current}" x="{areaheight}*2.2" y="30%" width="{areawidth} - 3*{areaheight}" font="{vdrOsd}" fontsize="45%" color="{clrFontMenuItemSelected}" text="{title}" />
|
||||
<drawtext condition="{current}" x="{areaheight}*2.2" y="69%" width="{areawidth} - 3*{areaheight}" font="{vdrOsd}" fontsize="30%" color="{clrFontMenuItemSelected}" text="{shorttext}" />
|
||||
<drawimage condition="{current}++not{hastimer}" imagetype="icon" path="ico_record_active" x="{areawidth} - {areaheight}*0.6" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}++not{hastimer}" imagetype="icon" path="ico_record_inactive" x="{areawidth} - {areaheight}*0.6" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="{hastimer}" imagetype="icon" path="ico_activetimer" x="{areawidth} - {areaheight}*0.6" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
</area>
|
||||
<!-- Recording
|
||||
{recording} true
|
||||
{recname} title of recording
|
||||
{recstarttime} start of recording in hh:mm
|
||||
{recdate} date of recording in dd.mm.yy
|
||||
{recduration} duration of recording in min
|
||||
{channelnumber} number of channel
|
||||
{channelname} name of channel
|
||||
{channelid} id of channel
|
||||
{channellogoexisis} true if channel logo exists
|
||||
-->
|
||||
<area condition="{recording}" layer="6">
|
||||
<drawtext condition="not{current}" x="1%" y="0" font="{vdrOsd}" width="98%" fontsize="50%" color="{clrFontMenuItem}" text="{recname}" />
|
||||
<drawtext condition="not{current}" x="55%" y="0" font="{vdrOsd}" width="98%" fontsize="35%" color="{clrFontMenuItem}" text="{recdate} {recstarttime} - {recduration} min, {channelname}" />
|
||||
<drawtext condition="{current}" x="1%" y="0" font="{vdrOsd}" width="98%" fontsize="50%" color="{clrFontMenuItemSelected}" text="{recname}" />
|
||||
<drawtext condition="{current}" x="55%" y="0" font="{vdrOsd}" width="98%" fontsize="35%" color="{clrFontMenuItemSelected}" text="{recdate} {recstarttime} - {recduration} min, {channelname}" />
|
||||
</area>
|
||||
<!-- Searchtimer
|
||||
{searchtimer} true
|
||||
{timeractive} true if searchtimer is active
|
||||
{searchstring} searchtimer search string
|
||||
{activetimers} number of active timers caused by this searchtimer
|
||||
{recordingsdone} number of recordings done by this searchtimer
|
||||
{searchactive} true if search icon is active
|
||||
{editactive} true if edit icon is active
|
||||
{deleteactive} true if delete icon is active
|
||||
-->
|
||||
<area condition="{searchtimer}" layer="6">
|
||||
<drawimage condition="{current}++{searchactive}" imagetype="icon" path="ico_search_active" x="{areaheight}*0.05" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}||not{searchactive}" imagetype="icon" path="ico_search_inactive" x="{areaheight}*0.05" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="{current}++{editactive}" imagetype="icon" path="ico_edit_active" x="{areaheight}*0.6" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}||not{editactive}" imagetype="icon" path="ico_edit_inactive" x="{areaheight}*0.6" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="{current}++{deleteactive}" imagetype="icon" path="ico_delete_active" x="{areaheight}*1.15" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}||not{deleteactive}" imagetype="icon" path="ico_delete_inactive" x="{areaheight}*1.15" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawtext condition="not{current}" x="{areaheight}*1.8" width="{areawidth} - {areaheight}*2" y="5%" font="{vdrOsd}" fontsize="45%" color="{clrFontMenuItem}" text="{searchstring}" />
|
||||
<drawtext condition="{current}" x="{areaheight}*1.8" width="{areawidth} - {areaheight}*2" y="5%" font="{vdrOsd}" fontsize="45%" color="{clrFontMenuItemSelected}" text="{searchstring}" />
|
||||
<drawtext condition="{timeractive}" align="right" y="5%" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="active " />
|
||||
<drawtext x="{areaheight}*1.8" y="55%" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="Active Timers: {activetimers}, Recordings: {recordingsdone}" />
|
||||
</area>
|
||||
<!-- Timeline Header
|
||||
{timelineheader} true
|
||||
{date} date of current day in weekdayname dd.mm.yyyy
|
||||
{timerset} true if timer info is set
|
||||
{channelname} name of channel of timer
|
||||
{channelid} channel ID of channel of timer
|
||||
{channellogoexisis} true if channel logo exists
|
||||
{channelnumber} number of channel of timer
|
||||
{channeltransponder} transponder of channel of timer
|
||||
{timerstart} start of timer in hh:mm
|
||||
{timerstop} end of timer in hh:mm
|
||||
{eventtitle} title of according event
|
||||
{eventshorttext} short text of according event
|
||||
{eventstart} start time of according event
|
||||
{eventstop} end time of according event
|
||||
-->
|
||||
<area condition="{timelineheader}" layer="5">
|
||||
<drawtext align="center" y="1%" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="Timer for {date}" />
|
||||
<drawrectangle x="{areawidth}*0.05" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.0875" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.125" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.1625" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.2" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.2375" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.275" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.3125" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.35" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.3875" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.425" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.4625" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.5" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.5375" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.575" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.6125" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.65" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.6875" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.725" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.7625" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.8" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.8375" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
<drawrectangle x="{areawidth}*0.875" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrBlack}"/>
|
||||
<drawrectangle x="{areawidth}*0.9125" y="80%" width="{areawidth}*0.0375" height="20%" color="{clrWhite}"/>
|
||||
</area>
|
||||
<area condition="{timelineheader}" layer="6">
|
||||
<drawtext name="text0" x="{areawidth}*0.05 + {areawidth}*0.0375/2 - {width(text0)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="0"/>
|
||||
<drawtext name="text1" x="{areawidth}*0.0875 + {areawidth}*0.0375/2 - {width(text1)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="1"/>
|
||||
<drawtext name="text2" x="{areawidth}*0.125 + {areawidth}*0.0375/2 - {width(text2)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="2"/>
|
||||
<drawtext name="text3" x="{areawidth}*0.1625 + {areawidth}*0.0375/2 - {width(text3)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="3"/>
|
||||
<drawtext name="text4" x="{areawidth}*0.2 + {areawidth}*0.0375/2 - {width(text4)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="4"/>
|
||||
<drawtext name="text5" x="{areawidth}*0.2375 + {areawidth}*0.0375/2 - {width(text5)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="5"/>
|
||||
<drawtext name="text6" x="{areawidth}*0.275 + {areawidth}*0.0375/2 - {width(text6)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="6"/>
|
||||
<drawtext name="text7" x="{areawidth}*0.3125 + {areawidth}*0.0375/2 - {width(text7)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="7"/>
|
||||
<drawtext name="text8" x="{areawidth}*0.35 + {areawidth}*0.0375/2 - {width(text8)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="8"/>
|
||||
<drawtext name="text9" x="{areawidth}*0.3875 + {areawidth}*0.0375/2 - {width(text9)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="9"/>
|
||||
<drawtext name="text10" x="{areawidth}*0.425 + {areawidth}*0.0375/2 - {width(text10)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="10"/>
|
||||
<drawtext name="text11" x="{areawidth}*0.4625 + {areawidth}*0.0375/2 - {width(text11)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="11"/>
|
||||
<drawtext name="text12" x="{areawidth}*0.5 + {areawidth}*0.0375/2 - {width(text12)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="12"/>
|
||||
<drawtext name="text13" x="{areawidth}*0.5375 + {areawidth}*0.0375/2 - {width(text13)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="13"/>
|
||||
<drawtext name="text14" x="{areawidth}*0.575 + {areawidth}*0.0375/2 - {width(text14)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="14"/>
|
||||
<drawtext name="text15" x="{areawidth}*0.6125 + {areawidth}*0.0375/2 - {width(text15)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="15"/>
|
||||
<drawtext name="text16" x="{areawidth}*0.65 + {areawidth}*0.0375/2 - {width(text16)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="16"/>
|
||||
<drawtext name="text17" x="{areawidth}*0.6875 + {areawidth}*0.0375/2 - {width(text17)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="17"/>
|
||||
<drawtext name="text18" x="{areawidth}*0.725 + {areawidth}*0.0375/2 - {width(text18)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="18"/>
|
||||
<drawtext name="text19" x="{areawidth}*0.7625 + {areawidth}*0.0375/2 - {width(text19)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="19"/>
|
||||
<drawtext name="text20" x="{areawidth}*0.8 + {areawidth}*0.0375/2 - {width(text20)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="20"/>
|
||||
<drawtext name="text21" x="{areawidth}*0.8375 + {areawidth}*0.0375/2 - {width(text21)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="21"/>
|
||||
<drawtext name="text22" x="{areawidth}*0.875 + {areawidth}*0.0375/2 - {width(text22)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="22"/>
|
||||
<drawtext name="text23" x="{areawidth}*0.9125 + {areawidth}*0.0375/2 - {width(text23)}/2" y="80%" font="{vdrOsd}" fontsize="20%" color="{clrBlack}" text="23"/>
|
||||
</area>
|
||||
<area condition="{timelineheader}++{timerset}" layer="6">
|
||||
<drawimage condition="{channellogoexisis}" imagetype="channellogo" path="{channelid}" x="1%" y="30%" width="{areaheight}*0.5" height="{areaheight}*0.5" />
|
||||
<drawtext condition="not{channellogoexisis}" x="1%" width="{areaheight}*0.7" y="40%" font="{vdrOsd}" fontsize="20%" color="{clrWhite}" text="{channelname}"/>
|
||||
<drawtext x="{areaheight}*0.8" y="36%" font="{vdrOsd}" fontsize="25%" color="{clrWhite}" text="{eventstart} - {eventstop} (Rec. {timerstart} - {timerstop}), Transp. {channeltransponder}"/>
|
||||
<drawtext x="{areaheight}*0.8" y="57%" width="{areawidth}-{areaheight}" font="{vdrOsd}" fontsize="25%" color="{clrWhite}" text="{eventtitle} - {eventshorttext}"/>
|
||||
</area>
|
||||
<!-- Timeline Timer
|
||||
{timelinetimer} true
|
||||
{timerstart} start of timer in tenth percent of complete 24h width
|
||||
{timerwidth} width of timer in tenth percent of complete 24h width
|
||||
-->
|
||||
<area condition="{timelinetimer}" layer="5">
|
||||
<drawrectangle condition="{current}" x="5%" y="0" width="90%" height="100%" color="{clrBorder}"/>
|
||||
<drawrectangle condition="not{current}" x="5%" y="0" width="90%" height="100%" color="{clrGray}"/>
|
||||
<drawrectangle x="5%" y="{areaheight}-1" width="90%" height="1" color="{clrBlack}"/>
|
||||
</area>
|
||||
<area condition="{timelinetimer}" layer="6">
|
||||
<drawrectangle x="{areawidth}*0.05 + {timerstart}*{areawidth}*0.9/1000" y="25%" width="{timerwidth}*{areawidth}*0.9/1000" height="50%" color="{clrBlack}"/>
|
||||
</area>
|
||||
<!-- Favorites
|
||||
{favorite} true
|
||||
{favdesc} description of favorite
|
||||
-->
|
||||
<area condition="{favorite}" layer="6">
|
||||
<drawimage condition="{current}" imagetype="icon" path="ico_search_active" x="{areaheight}*0.1" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawimage condition="not{current}" imagetype="icon" path="ico_search_inactive" x="{areaheight}*0.1" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
<drawtext condition="not{current}" x="{areaheight}" valign="center" font="{vdrOsd}" width="{areawidth} - {areaheight}" fontsize="80%" color="{clrFontMenuItem}" text="{favdesc}" />
|
||||
<drawtext condition="{current}" x="{areaheight}" valign="center" font="{vdrOsd}" width="{areawidth} - {areaheight}" fontsize="80%" color="{clrFontMenuItemSelected}" text="{favdesc}" />
|
||||
</area>
|
||||
</grid>
|
||||
</displayplugin>
|
||||
371
skins/nopacity/xmlfiles/plug-tvguideng-root.xml
Normal file
371
skins/nopacity/xmlfiles/plug-tvguideng-root.xml
Normal file
@@ -0,0 +1,371 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE displayplugin SYSTEM "../../../dtd/displayplugin.dtd">
|
||||
|
||||
<displayplugin x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="80%" scaletvy="0" scaletvwidth="20%" scaletvheight="20%">
|
||||
|
||||
<viewelement name="background_hor">
|
||||
<area x="0" y="0" width="100%" height="20%" layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_header" x="0" y="0" width="80%" height="100%"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_tvframe" x="80%" y="0" width="20%" height="100%"/>
|
||||
</area>
|
||||
<area x="72%" y="1%" width="7%" height="5%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="tvguide_clock" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area x="0" y="20%" width="15%" height="5%" layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_left" x="0" y="0" width="12" height="100%"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_vertical" x="12" y="0" width="{areawidth}-24" height="100%"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_right" x="{areawidth}-12" y="0" width="12" height="100%"/>
|
||||
</area>
|
||||
<area x="0" y="92%" width="100%" height="8%" layer="1">
|
||||
<fill color="{clrBackground}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<viewelement name="background_ver">
|
||||
<area x="0" y="0" width="100%" height="20%" layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_header" x="0" y="0" width="80%" height="100%"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_tvframe" x="80%" y="0" width="20%" height="100%"/>
|
||||
</area>
|
||||
<area x="72%" y="1%" width="7%" height="5%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="tvguide_clock" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area x="0" y="20%" width="8%" height="15%" layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_date_vertical" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area x="0" y="90%" width="100%" height="10%" layer="1">
|
||||
<fill color="{clrBackground}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Tokens available in Header
|
||||
{isdummy} true if active element is a dummy element
|
||||
{title} title of event of active grid
|
||||
{shorttext} shorttext of event of active grid
|
||||
{description} detailed description of event of active grid
|
||||
{start} event start time in hh::mm
|
||||
{stop} event stop time
|
||||
{day} day of event of active grid
|
||||
{date} date of event of active grid in dd.mm.yy
|
||||
{daynumeric} day as number
|
||||
{month} month as number
|
||||
{year} year as number
|
||||
{running} true if event is currently running
|
||||
{elapsed} elapsed time of event, if not running 0
|
||||
{duration} duration of event
|
||||
{durationhours} duration, full hours
|
||||
{durationminutes} duration, rest of minutes
|
||||
{channelname} Channel Name
|
||||
{channelnumber} Channel Number
|
||||
{channelid} ChannelID as path to display channel logo
|
||||
{channellogoexists} true if channel logo exists
|
||||
{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
|
||||
-->
|
||||
<viewelement name="header">
|
||||
<areascroll condition="not{isdummy}++not{hasposter}" orientation="vertical" mode="forthandback" delay="1000" scrollspeed="medium" x="1%" y="1%" width="71%" height="18%" layer="2">
|
||||
<drawtext x="0" y="0" font="{vdrOsd}" width="100%" fontsize="20%" color="{clrWhite}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
||||
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="25%" color="{clrWhite}" text="{title}" />
|
||||
<drawtextbox name="shorttext" x="0" y="45%" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{shorttext}" />
|
||||
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)}" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{description}" />
|
||||
</areascroll>
|
||||
<area condition="not{isdummy}++{hasposter}" x="1%" y="1%" width="{areaheight}*0.18*{posterwidth}/{posterheight}" height="18%" layer="2">
|
||||
<drawimage imagetype="image" path="{posterpath}" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<areascroll condition="not{isdummy}++{hasposter}" orientation="vertical" mode="forthandback" delay="1000" scrollspeed="medium" x="12%" y="1%" width="60%" height="18%" layer="2">
|
||||
<drawtext x="0" y="0" font="{vdrOsd}" width="100%" fontsize="20%" color="{clrWhite}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
||||
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="25%" color="{clrWhite}" text="{title}" />
|
||||
<drawtextbox name="shorttext" x="0" y="45%" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{shorttext}" />
|
||||
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)}" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{description}" />
|
||||
</areascroll>
|
||||
<area condition="{isdummy}" x="1%" y="1%" width="58%" height="18%" layer="2">
|
||||
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="35%" color="{clrWhite}" text="{title}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Available Variables Footer:
|
||||
{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
|
||||
-->
|
||||
<viewelement name="footer">
|
||||
<area condition="{red1}" x="0" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{red}" />
|
||||
</area>
|
||||
<area condition="{green1}" x="0" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{green}" />
|
||||
</area>
|
||||
<area condition="{yellow1}" x="0" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{yellow}" />
|
||||
</area>
|
||||
<area condition="{blue1}" x="0" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
||||
</area>
|
||||
|
||||
<area condition="{red2}" x="25%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{red}" />
|
||||
</area>
|
||||
<area condition="{green2}" x="25%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{green}" />
|
||||
</area>
|
||||
<area condition="{yellow2}" x="25%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{yellow}" />
|
||||
</area>
|
||||
<area condition="{blue2}" x="25%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
||||
</area>
|
||||
|
||||
<area condition="{red3}" x="50%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{red}" />
|
||||
</area>
|
||||
<area condition="{green3}" x="50%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{green}" />
|
||||
</area>
|
||||
<area condition="{yellow3}" x="50%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{yellow}" />
|
||||
</area>
|
||||
<area condition="{blue3}" x="50%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
||||
</area>
|
||||
|
||||
<area condition="{red4}" x="75%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{red}" />
|
||||
</area>
|
||||
<area condition="{green4}" x="75%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{green}" />
|
||||
</area>
|
||||
<area condition="{yellow4}" x="75%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{yellow}" />
|
||||
</area>
|
||||
<area condition="{blue4}" x="75%" y="90%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="40%"/>
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Available Variables time:
|
||||
{time} timestring in hh:mm
|
||||
{sec} current seconds
|
||||
{min} current minutes
|
||||
{hour} current hours
|
||||
{hmins} current "hourminutes" to display an hour hand
|
||||
{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
|
||||
-->
|
||||
<viewelement name="time">
|
||||
<area x="72%" y="1%" width="7%" height="5%" layer="3">
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="75%" color="{clrWhite}" text="{time}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Tokens available in datetimeline
|
||||
{weekday} weekday of current display
|
||||
{date} date of current display
|
||||
-->
|
||||
<viewelement name="datetimeline_hor">
|
||||
<area x="0" y="20%" width="15%" height="5%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{weekday} {date}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<viewelement name="datetimeline_ver">
|
||||
<area x="0" y="20%" width="8%" height="15%" layer="1">
|
||||
<drawtext align="center" y="10%" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{weekday}" />
|
||||
<drawtext align="center" y="50%" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{date}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Tokens available in timeindicator
|
||||
{percenttotal} position of current time indicator in tenth of a percent of complete time shown
|
||||
-->
|
||||
<viewelement name="timeindicator_hor">
|
||||
<area x="15%" y="25%" width="85%" height="68%" layer="3">
|
||||
<drawrectangle x="{percenttotal}*{areawidth}/1000" y="0" width="1" height="100%" color="{clrRed}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<viewelement name="timeindicator_ver">
|
||||
<area x="0" y="35%" width="100%" height="57%" layer="3">
|
||||
<drawrectangle x="0" y="{percenttotal}*{areaheight}/1000" width="100%" height="1" color="{clrRed}" />
|
||||
</area>
|
||||
</viewelement>
|
||||
|
||||
<!-- Tokens available in timeline
|
||||
{timestring} time of grid in hh:mm
|
||||
-->
|
||||
<grid name="timeline_hor" x="15%" y="20%" width="85%" height="5%">
|
||||
<area layer="1">
|
||||
<drawimage condition="{fullhour}" imagetype="skinpart" path="tvguide_timelinebright_horizontal" x="0" y="0" width="100%" height="100%"/>
|
||||
<drawimage condition="not{fullhour}" imagetype="skinpart" path="tvguide_timelinedark_horizontal" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area layer="2">
|
||||
<drawtext condition="{fullhour}" x="5%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrBlack}" text="{timestring}" />
|
||||
<drawtext condition="not{fullhour}" x="5%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{timestring}" />
|
||||
</area>
|
||||
</grid>
|
||||
|
||||
<grid name="timeline_ver" x="0" y="35%" width="8%" height="57%">
|
||||
<area layer="1">
|
||||
<drawimage condition="{fullhour}" imagetype="skinpart" path="tvguide_timelinebright_vertical" x="0" y="0" width="100%" height="100%"/>
|
||||
<drawimage condition="not{fullhour}" imagetype="skinpart" path="tvguide_timelinedark_vertical" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area layer="2">
|
||||
<drawtext condition="{fullhour}" align="center" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrBlack}" text="{timestring}" />
|
||||
<drawtext condition="not{fullhour}" align="center" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrWhite}" text="{timestring}" />
|
||||
</area>
|
||||
</grid>
|
||||
|
||||
<!-- Tokens available in channels
|
||||
{name} name of channel
|
||||
{number} number of channel
|
||||
{channelid} id of channel to display channel logo
|
||||
{channellogoexists} true if channel logo exists
|
||||
-->
|
||||
<grid name="channels_hor" x="5%" y="25%" width="10%" height="68%">
|
||||
<area layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_channellogoback_horizontal" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area layer="2">
|
||||
<drawimage condition="{channellogoexists}" imagetype="channellogo" path="{channelid}" align="center" valign="center" width="90%" height="90%" />
|
||||
<drawtext condition="not{channellogoexists}" align="center" valign="center" width="98%" font="{vdrOsd}" fontsize="40%" color="{clrWhite}" text="{name}" />
|
||||
</area>
|
||||
</grid>
|
||||
|
||||
<grid name="channels_ver" x="8%" y="25%" width="92%" height="10%">
|
||||
<area layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_channellogoback_vertical" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area layer="2">
|
||||
<drawimage condition="{channellogoexists}" imagetype="channellogo" path="{channelid}" align="center" valign="center" width="80%" height="80%" />
|
||||
<drawtext condition="not{channellogoexists}" align="center" valign="center" width="98%" font="{light}" fontsize="40%" color="{clrWhite}" text="{name}" />
|
||||
</area>
|
||||
</grid>
|
||||
|
||||
<!-- Tokens available in channelgroups
|
||||
{color} alternates grid by grid from true to false
|
||||
{group} name of channel group
|
||||
-->
|
||||
<grid name="channelgroups_hor" x="0" y="25%" width="5%" height="68%">
|
||||
<area layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_head" x="0" y="0" width="100%" height="12"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_horizontal" x="0" y="12" width="100%" height="{areaheight}-24"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_bottom" x="0" y="{areaheight}-12" width="100%" height="12"/>
|
||||
</area>
|
||||
<area layer="2">
|
||||
<drawtextvertical align="center" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{group}" />
|
||||
</area>
|
||||
</grid>
|
||||
|
||||
<grid name="channelgroups_ver" x="8%" y="20%" width="92%" height="5%">
|
||||
<area layer="1">
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_left" x="0" y="0" width="12" height="100%"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_vertical" x="12" y="0" width="{areawidth}-24" height="100%"/>
|
||||
<drawimage imagetype="skinpart" path="tvguide_channelgroup_right" x="{areawidth}-12" y="0" width="12" height="100%"/>
|
||||
</area>
|
||||
<area layer="2">
|
||||
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{group}" />
|
||||
</area>
|
||||
</grid>
|
||||
|
||||
<!-- Tokens available in schedules
|
||||
{color} alternates grid by grid from true to false
|
||||
{dummy} true if grid is a dummy grid
|
||||
{timer} true if a timer is set for the according event
|
||||
{switchtimer} true if a switchtimer is set for the according event
|
||||
{title} title of grid
|
||||
{shorttext} shorttext of grid
|
||||
{start} start time in hh:mm
|
||||
{stop} stop time in hh:dd
|
||||
-->
|
||||
<grid name="schedules_hor" x="15%" y="25%" width="85%" height="68%">
|
||||
<area layer="1">
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_left" x="0" y="0" width="13" height="100%"/>
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_horizontal" x="13" y="0" width="{areawidth}-26" height="100%"/>
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_right" x="{areawidth}-13" y="0" width="13" height="100%"/>
|
||||
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_left" x="0" y="0" width="13" height="100%"/>
|
||||
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_horizontal" x="13" y="0" width="{areawidth}-26" height="100%"/>
|
||||
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_right" x="{areawidth}-13" y="0" width="13" height="100%"/>
|
||||
</area>
|
||||
<area layer="2">
|
||||
<drawtext condition="not{dummy}++{current}" x="1%" y="2%" font="{vdrOsd}" fontsize="45%" color="{clrFontMenuItemSelected}" text="{start} - {stop}" />
|
||||
<drawtext condition="not{dummy}++{current}" x="1%" y="50%" width="98%" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItemSelected}" text="{title}" />
|
||||
<drawtext condition="not{dummy}++not{current}" x="1%" y="2%" font="{vdrOsd}" fontsize="45%" color="{clrFontMenuItem}" text="{start} - {stop}" />
|
||||
<drawtext condition="not{dummy}++not{current}" x="1%" y="50%" width="98%" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItem}" text="{title}" />
|
||||
<drawtext condition="{dummy}++{current}" x="1%" valign="center" width="98%" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItemSelected}" text="{title}" />
|
||||
<drawtext condition="{dummy}++not{current}" x="1%" valign="center" width="98%" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItem}" text="{title}" />
|
||||
<drawimage condition="{timer}" imagetype="icon" path="ico_rec_on" x="{areawidth} - {areaheight}*0.42" y="58%" width="{areaheight}*0.4" height="{areaheight}*0.4"/>
|
||||
<drawimage condition="{switchtimer}++not{timer}" imagetype="icon" path="ico_switchtimer" x="{areawidth} - {areaheight}*0.42" y="58%" width="{areaheight}*0.4" height="{areaheight}*0.4"/>
|
||||
<drawimage condition="{switchtimer}++{timer}" imagetype="icon" path="ico_switchtimer" x="{areawidth} - {areaheight}*0.84" y="58%" width="{areaheight}*0.4" height="{areaheight}*0.4"/>
|
||||
</area>
|
||||
</grid>
|
||||
|
||||
<grid name="schedules_ver" x="8%" y="35%" width="92%" height="57%">
|
||||
<area layer="1">
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_head" x="0" y="0" width="100%" height="12"/>
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_vertical" x="0" y="12" width="100%" height="{areaheight}-24"/>
|
||||
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_bottom" x="0" y="{areaheight}-12" width="100%" height="12"/>
|
||||
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_head" x="0" y="0" width="100%" height="12"/>
|
||||
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_vertical" x="0" y="12" width="100%" height="{areaheight}-24"/>
|
||||
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_bottom" x="0" y="{areaheight}-12" width="100%" height="12"/>
|
||||
</area>
|
||||
<area layer="2">
|
||||
<drawtext condition="not{dummy}++{current}" x="2%" y="0" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.16" color="{clrFontMenuItemSelected}" text="{start} - {stop}" />
|
||||
<drawtext condition="not{dummy}++not{current}" x="2%" y="0" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.16" color="{clrFontMenuItem}" text="{start} - {stop}" />
|
||||
<drawtextbox name="title" condition="not{dummy}++{current}" x="2%" y="{areawidth}*0.16" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.15" color="{clrFontMenuItemSelected}" text="{title}" />
|
||||
<drawtextbox name="title" condition="not{dummy}++not{current}" x="2%" y="{areawidth}*0.16" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.15" color="{clrFontMenuItem}" text="{title}" />
|
||||
<drawtextbox condition="not{dummy}++{current}" x="2%" y="{posy(title)} + {height(title)} - {areawidth}*0.1" width="96%" height="{areaheight}*1.1 - {posy(title)} - {height(title)}" font="{vdrOsd}" fontsize="{areawidth}*0.12" color="{clrFontMenuItemSelected}" text="{shorttext}" />
|
||||
<drawtextbox condition="not{dummy}++not{current}" x="2%" y="{posy(title)} + {height(title)} - {areawidth}*0.1" width="96%" height="{areaheight}*1.1 - {posy(title)} - {height(title)}" font="{vdrOsd}" fontsize="{areawidth}*0.12" color="{clrFontMenuItem}" text="{shorttext}" />
|
||||
<drawtextbox condition="{dummy}++{current}" x="2%" y="5%" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.2" color="{clrFontMenuItemSelected}" text="{title}" />
|
||||
<drawtextbox condition="{dummy}++not{current}" x="2%" y="5%" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.2" color="{clrFontMenuItem}" text="{title}" />
|
||||
<drawimage condition="{timer}" imagetype="icon" path="ico_rec_on" x="82%" y="{areaheight}-{areawidth}*0.18" width="15%" height="{areawidth}*0.15"/>
|
||||
<drawimage condition="{switchtimer}++not{timer}" imagetype="icon" path="ico_switchtimer" x="82%" y="{areaheight}-{areawidth}*0.18" width="15%" height="{areawidth}*0.15"/>
|
||||
<drawimage condition="{switchtimer}++{timer}" imagetype="icon" path="ico_switchtimer" x="65%" y="{areaheight}-{areawidth}*0.18" width="15%" height="{areawidth}*0.15"/>
|
||||
</area>
|
||||
</grid>
|
||||
|
||||
<!-- Tokens available in channeljump
|
||||
{channel} current user input for channel jump
|
||||
-->
|
||||
<viewelement name="channeljump">
|
||||
</viewelement>
|
||||
|
||||
</displayplugin>
|
||||
Reference in New Issue
Block a user