fixed token volpercent in nopacity and metrixhd

This commit is contained in:
louis 2015-01-18 15:43:05 +01:00
parent 4792fe4d4c
commit 06af6390e3
3 changed files with 7 additions and 5 deletions

View File

@ -153,4 +153,6 @@ Version 0.1.3
- added {epgname} token for recordings in currentview and detailedview.
- fixed crash when start recording with extrecmenu or remotetimers
Version 0.1.4
Version 0.1.4
- fixed token volpercent in nopacity and metrixhd

View File

@ -10,13 +10,13 @@
<!-- Available Variables volume:
{volume} current volume, range from 0 to 255
{volumepercent} current volume in %
{volpercent} current volume in %
{maxvolume} maximal volume
{mute} true if volume is muted
-->
<volume>
<area x="0" y="0" width="100%" height="50%" layer="2">
<drawtext x="10" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volumepercent}%" />
<drawtext x="10" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volpercent}%" />
<drawimage condition="not{mute}" imagetype="icon" path="ico_volume" x="{areawidth} - {areaheight} - 5" y="5" width="{areaheight}-5" height="{areaheight}-5"/>
<drawimage condition="{mute}" imagetype="icon" path="ico_mute" x="{areawidth} - {areaheight} - 5" y="5" width="{areaheight}-5" height="{areaheight}-5"/>
</area>

View File

@ -8,7 +8,7 @@
<!-- Available Variables volume:
{volume} current volume, range from 0 to 255
{volumepercent} current volume in %
{volpercent} current volume in %
{maxvolume} maximal volume
{mute} true if volume is muted
-->
@ -19,7 +19,7 @@
</area>
<!-- Header -->
<area x="0" y="3%" width="100%" height="40%" layer="2">
<drawtext x="10" valign="center" font="{vdrOsd}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volumepercent}%" />
<drawtext x="10" valign="center" font="{vdrOsd}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volpercent}%" />
<drawimage condition="not{mute}" imagetype="icon" path="ico_volume" x="{areawidth} - 2*{areaheight}" y="5" width="{areaheight}" height="{areaheight}"/>
<drawimage condition="{mute}" imagetype="icon" path="ico_mute" x="{areawidth} - 2*{areaheight}" y="5" width="{areaheight}" height="{areaheight}"/>
</area>