mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
Add active recordings to timeshift mode
If the current program is paused (timeshift mode), a recording is created with an "@" at the beginning. A skin can display this mode differently than the normal playback of a recording. This change also enables a different display mode for currently active timer recordings.
This commit is contained in:
@@ -95,7 +95,8 @@
|
||||
<drawtext align="left" y="0" fontsize="{areaheight}*{replayendtimesize}/100" font="{regular}" color="{fontdefault}" text="{tr(start)}: {recstart}" />
|
||||
</area>
|
||||
<area condition="{timeshift}" x="40%" y="81%" width="20%" height="5%" layer="2">
|
||||
<drawtext name="rest" align="center" y="0" fontsize="{areaheight}*{replayendtimesize}/100" font="{regular}" color="{fontdefault}" text="TS {tr(rest)}: -{timeshiftrest}" />
|
||||
<drawtext condition="eq({timeshift}, 1)" align="center" y="0" fontsize="{areaheight}*{replayendtimesize}/100" font="{regular}" color="{fontdefault}" text="{tr(rest)}: -{timeshiftrest}" />
|
||||
<drawtext condition="gt({timeshift}, 1)" align="center" y="0" fontsize="{areaheight}*{replayendtimesize}/100" font="{regular}" color="{fontdefault}" text="Timeshift Mode {tr(rest)}: -{timeshiftrest}" />
|
||||
</area>
|
||||
<area condition="{timeshift}" x="12%" y="87%" width="19%" height="5%" layer="2">
|
||||
<drawtext align="left" y="0" fontsize="{areaheight}*{replayendtimesize}/100" font="{regular}" color="{fontdefault}" text="{tr(playback)}: {playbacktime}" />
|
||||
|
||||
Reference in New Issue
Block a user