summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-11-29 11:23:54 +0100
committerlouis <louis.braun@gmx.de>2014-11-29 11:23:54 +0100
commit76ab3e4cef2ef37ea8e9f2ababfd4b8c98ceaf54 (patch)
tree7f13e052745e0fd2ac43e6ecd391247aa9889744 /skins
parentd684cec70e72c4f9cea35fda69c1baa32360b5e3 (diff)
downloadvdr-plugin-skindesigner-76ab3e4cef2ef37ea8e9f2ababfd4b8c98ceaf54.tar.gz
vdr-plugin-skindesigner-76ab3e4cef2ef37ea8e9f2ababfd4b8c98ceaf54.tar.bz2
added onpause and onpausemodeonly in displayreplay
Diffstat (limited to 'skins')
-rw-r--r--skins/metrixhd/themes/default/globals.xml4
-rw-r--r--skins/metrixhd/xmlfiles/displayreplay.xml131
-rw-r--r--skins/nopacity/themes/darkred/globals.xml5
-rw-r--r--skins/nopacity/themes/default/globals.xml5
-rw-r--r--skins/nopacity/xmlfiles/displayreplay.xml124
5 files changed, 264 insertions, 5 deletions
diff --git a/skins/metrixhd/themes/default/globals.xml b/skins/metrixhd/themes/default/globals.xml
index 11c3e1f..3f54d56 100644
--- a/skins/metrixhd/themes/default/globals.xml
+++ b/skins/metrixhd/themes/default/globals.xml
@@ -190,6 +190,10 @@
<trans lang="en_EN">Volume</trans>
<trans lang="de_DE">Lautstärke</trans>
</token>
+ <token name="tr(pause)">
+ <trans lang="en_EN">Pause</trans>
+ <trans lang="de_DE">Pause</trans>
+ </token>
</translations>
<!--
The three Fonts FontOSD, FontFix and FontSml configured in VDR
diff --git a/skins/metrixhd/xmlfiles/displayreplay.xml b/skins/metrixhd/xmlfiles/displayreplay.xml
index b1d5609..889d51b 100644
--- a/skins/metrixhd/xmlfiles/displayreplay.xml
+++ b/skins/metrixhd/xmlfiles/displayreplay.xml
@@ -19,11 +19,6 @@
<area x="25%" y="85%" width="50%" height="10%" layer="1">
<fill color="{clrTransBlack}" />
</area>
- <!-- background datetime -->
- <area x="70%" y="0" width="30%" height="13%" layer="1">
- <fill color="{clrTransBlack}" />
- <drawrectangle x="0" y="0" width="45%" height="100%" color="{clrTransBlueLight}" />
- </area>
</backgroundmodeonly>
<!-- Available Variables datetime:
@@ -231,6 +226,132 @@
<drawtext align="center" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{jump}" />
</area>
</jump>
+
+ <!-- Available Variables onpause and onpausemodeonly:
+ {name} title of recording
+ {shorttext} shorttext of recording
+ {description} description of recording
+ {date} date of recording in dd.mm.yy
+ {time} time of recording in hh:mm
+ {daynumeric} day as number
+ {month} month as number
+ {year} year as number
+ {duration} real duration of recording in minutes
+ {durationhours} real duration, full hours
+ {durationminutes} real duration, rest of minutes
+ {durationevent} duration of corresponding event in minutes
+ {durationeventhours} event duration, full hours
+ {durationeventminutes} event duration, rest of minutes
+
+ {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
+ -->
+ <onpause delay="60" fadetime="{fadeTime}">
+ <area x="0" y="0" width="100%" height="100%" layer="7">
+ <fill color="{clrSemiTransBlack}" />
+ </area>
+ </onpause>
+
+ <onpausemodeonly delay="20" fadetime="{fadeTime}">
+ <area x="0" y="0" width="100%" height="100%" layer="7">
+ <fill color="{clrSemiTransBlack}" />
+ </area>
+ <area x="0" y="0" width="100%" height="100%" layer="6">
+ <drawtext align="center" valign="center" font="{semibold}" fontsize="25%" color="{clrWhite}" text="{tr(pause)}" />
+ <drawimage condition="{isseries}" imagetype="image" path="{seriesbanner1path}" align="center" y="10" width="{areawidth}*0.5" height="{areawidth} * 0.5 * {seriesbanner1height} / {seriesbanner1width}"/>
+ <drawimage condition="{ismovie}" imagetype="image" path="{posterpath}" x="10" y="10" width="{areaheight} * 0.4 * {posterwidth} / {posterheight}" height="{areaheight} * 0.4"/>
+ </area>
+ </onpausemodeonly>
+
<!-- Available Variables message:
{text} message text
{status} true if message is a status message
diff --git a/skins/nopacity/themes/darkred/globals.xml b/skins/nopacity/themes/darkred/globals.xml
index e6b6afd..3fc9ed0 100644
--- a/skins/nopacity/themes/darkred/globals.xml
+++ b/skins/nopacity/themes/darkred/globals.xml
@@ -18,6 +18,7 @@
<color name="clrGray">FF858585</color>
<color name="clrBackground">B0000000</color>
<color name="clrTransBlack">99000000</color>
+ <color name="clrTransBlackDark">DF000000</color>
<color name="clrTransRed">99FF0000</color>
<color name="clrFontMenuItem">FFFFFFFF</color>
<color name="clrFontMenuItemSelected">FFFFFFFF</color>
@@ -188,6 +189,10 @@
<trans lang="en_EN">Volume</trans>
<trans lang="de_DE">Lautstärke</trans>
</token>
+ <token name="tr(pause)">
+ <trans lang="en_EN">Pause</trans>
+ <trans lang="de_DE">Pause</trans>
+ </token>
</translations>
<!--
The three Fonts FontOSD, FontFix and FontSml configured in VDR
diff --git a/skins/nopacity/themes/default/globals.xml b/skins/nopacity/themes/default/globals.xml
index d3f95a3..9848249 100644
--- a/skins/nopacity/themes/default/globals.xml
+++ b/skins/nopacity/themes/default/globals.xml
@@ -18,6 +18,7 @@
<color name="clrGray">FF858585</color>
<color name="clrBackground">B012273F</color>
<color name="clrTransBlack">99000000</color>
+ <color name="clrTransBlackDark">CC000000</color>
<color name="clrTransRed">99FF0000</color>
<color name="clrFontMenuItem">FFFFFFFF</color>
<color name="clrFontMenuItemSelected">FF363636</color>
@@ -188,6 +189,10 @@
<trans lang="en_EN">Volume</trans>
<trans lang="de_DE">Lautstärke</trans>
</token>
+ <token name="tr(pause)">
+ <trans lang="en_EN">Pause</trans>
+ <trans lang="de_DE">Pause</trans>
+ </token>
</translations>
<!--
The three Fonts FontOSD, FontFix and FontSml configured in VDR
diff --git a/skins/nopacity/xmlfiles/displayreplay.xml b/skins/nopacity/xmlfiles/displayreplay.xml
index fcc8fa8..cb6fd90 100644
--- a/skins/nopacity/xmlfiles/displayreplay.xml
+++ b/skins/nopacity/xmlfiles/displayreplay.xml
@@ -215,4 +215,128 @@
</area>
</message>
+ <!-- Available Variables onpause and onpausemodeonly:
+ {name} title of recording
+ {shorttext} shorttext of recording
+ {description} description of recording
+ {date} date of recording in dd.mm.yy
+ {time} time of recording in hh:mm
+ {daynumeric} day as number
+ {month} month as number
+ {year} year as number
+ {duration} real duration of recording in minutes
+ {durationhours} real duration, full hours
+ {durationminutes} real duration, rest of minutes
+ {durationevent} duration of corresponding event in minutes
+ {durationeventhours} event duration, full hours
+ {durationeventminutes} event duration, rest of minutes
+
+ {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
+ -->
+ <onpause delay="60" fadetime="{fadeTime}">
+ <area x="0" y="0" width="100%" height="100%" layer="7">
+ <fill color="{clrTransBlackDark}" />
+ </area>
+ </onpause>
+
+ <onpausemodeonly delay="20" fadetime="{fadeTime}">
+ <area x="0" y="0" width="100%" height="100%" layer="7">
+ <fill color="{clrTransBlackDark}" />
+ </area>
+ <area x="0" y="0" width="100%" height="100%" layer="6">
+ <drawtext align="center" valign="center" font="{vdrOsd}" fontsize="25%" color="{clrWhite}" text="{tr(pause)}" />
+ <drawimage condition="{isseries}" imagetype="image" path="{seriesbanner1path}" align="center" y="10" width="{areawidth}*0.5" height="{areawidth} * 0.5 * {seriesbanner1height} / {seriesbanner1width}"/>
+ <drawimage condition="{ismovie}" imagetype="image" path="{posterpath}" x="10" y="10" width="{areaheight} * 0.4 * {posterwidth} / {posterheight}" height="{areaheight} * 0.4"/>
+ </area>
+ </onpausemodeonly>
</displayreplay>