diff options
author | Thomas Oeding <thomas.oeding@gmail.com> | 2010-08-12 11:20:53 +0200 |
---|---|---|
committer | Thomas Oeding <thomas.oeding@gmail.com> | 2010-08-12 11:21:57 +0200 |
commit | bdb27959f0f6e2d1cf0be1f3b82401472060b078 (patch) | |
tree | 9cc37a723279ffb8e4995c188752ae7a311ad680 /xml/menu.xml | |
download | skin-narrowhd-master.tar.gz skin-narrowhd-master.tar.bz2 |
Diffstat (limited to 'xml/menu.xml')
-rw-r--r-- | xml/menu.xml | 739 |
1 files changed, 739 insertions, 0 deletions
diff --git a/xml/menu.xml b/xml/menu.xml new file mode 100644 index 0000000..47aed76 --- /dev/null +++ b/xml/menu.xml @@ -0,0 +1,739 @@ +<!-- +#------------------------------------------------------------------------------ +# menu start +#------------------------------------------------------------------------------ --> + +<display + id="menu" + refresh="all,list,timeout"> + +<!-- TOP WINDOW --> + +<!-- NOEPGIMAGES --> +<!-- <window x1="140" x2="-140" y1="100" y2="-136" bpp="4" /> --> + +<!-- EPGIMAGES --> +<window x1="140" x2="-140" y1="100" y2="-136" bpp="8" /> + +<!-- HEAD --> +<rectangle refresh="all,timeout" x1="140" x2="-140" y1="100" y2="185" color="MainSolid" /> +<rectangle refresh="all,timeout" x1="140" x2="-140" y1="185" y2="250" color="MainSolid" /> + +<rectangle refresh="all" x1="140" x2="-451" y1="250" y2="252" color="Divider" /> +<rectangle refresh="all" x1="-450" x2="-140" y1="250" y2="252" color="MainSolid" /> + +<!-- +#------------------------------------------------------------------------------ +# (main) menu - default +#------------------------------------------------------------------------------ --> + +<!-- Background --> +<block + refresh="all,update,timeout,full,scroll" + changed="{MenuTitle}{DateTime}{ChannelName}{PresentTitle}{ButtonYellow}" + condition=" + and( + and( + and( + and( + and( + not(equal({MenuTitle:clean},'Timer')), + not(equal({MenuTitle:clean},'Aufzeichnungen')) + ), + and( + not(equal({MenuTitle:clean},'Timer editieren')), + not(equal({MenuTitle:clean},'Einstellungen')) + ) + ), + and( + and( + not(equal({MenuTitle:clean},'Kan�le')), + not(equal({MenuTitle:clean},'Programm')) + ), + and( + not(equal({MenuTitle:clean},'Befehle')), + not(equal({MenuTitle:clean},'VDR')) + ) + ) + ), + not({RecordingTitle}) + ), + not({PresentTitle}) + )"> + + <rectangle x1="140" x2="-140" y1="252" y2="-135" color="MainLight" /> + <rectangle x1="-450" x2="-140" y1="252" y2="-135" color="MainSolid" /> + + <!-- heading --> + <text x1="195" x2="-750" y1="195" y2="-830" color="FontColor" font="VDRSymbols Sans:Book@37" >{MenuTitle:clean}</text> + +</block> + +<!-- +<block + refresh="all,update,timeout,full,scroll,list" + changed="{MenuTitle}{DateTime}{ChannelName}{PresentTitle}{ButtonYellow}{MenuText}" + condition=" + or( + equal({MenuTitle:clean},trans('Learning Remote Control Keys')), + equal({MenuTitle:clean},'Fernbedienung anlernen') + )"> + + <rectangle x1="140" x2="-140" y1="252" y2="-135" color="MainLight" /> + + <text x1="315" x2="-750" y1="195" y2="-830" color="FontColor" font="VDRSymbols Sans:Book@37" >{MenuTitle:clean}</text> +</block> +--> + +<!-- Content --> +<list + refresh="all,list,update,timeout" + changed="{MenuTitle}{DateTime}{ChannelName}{PresentTitle}{ButtonYellow}" + x1="160" x2="-470" y1="280" y2="-160" + condition=" + and( + and( + and( + and( + and( + not(equal({MenuTitle:clean},'Timer')), + not(equal({MenuTitle:clean},'Aufzeichnungen')) + ), + and( + not(equal({MenuTitle:clean},'Timer editieren')), + not(equal({MenuTitle:clean},'Einstellungen')) + ) + ), + and( + and( + not(equal({MenuTitle:clean},'Kan�le')), + not(equal({MenuTitle:clean},'Programm')) + ), + and( + not(equal({MenuTitle:clean},'Befehle')), + not(equal({MenuTitle:clean},'VDR')) + ) + ) + ), + not({RecordingTitle}) + ), + not({PresentTitle}) + )"> + + <item height="60" /> + + <rectangle refresh="all,list,timeout" x1="10" x2="23" y1="0" y2="55" color="Lolight" /> + <rectangle refresh="all,list,timeout" x1="24" x2="-1" y1="0" y2="55" color="Lolight" /> + + <rectangle refresh="all,list,timeout" x1="10" x2="23" y1="0" y2="55" condition="{IsMenuCurrent}" color="Warning" /> + <rectangle refresh="all,list,timeout" x1="24" x2="-1" y1="0" y2="55" condition="{IsMenuCurrent}" color="MainSolid" /> + + <text refresh="all,list,timeout" x1="35" x2="-21" y1="4" y2="32" color="FontColorInactive" font="VDRSymbols Sans:Book@36" >{MenuGroup}</text> + <text refresh="all,list,timeout" x1="35" x2="-21" y1="6" y2="32" color="FontColorInactive" font="VDRSymbols Sans:Book@36" >{MenuItem}</text> + <text refresh="all,list,timeout" x1="35" x2="-21" y1="6" y2="30" color="FontColor" font="VDRSymbols Sans:Book@36" >{MenuCurrent}</text> + +</list> + +<!-- Messages --> +<block + refresh="all,update,timeout,full" + changed="{MessageInfo}{MessageStatus}{MessageWarning}{MessageError}" + condition=" + and( + and( + and( + {Message}, + and( + and( + and( + not(equal({MenuTitle:clean},'Timer')), + not(equal({MenuTitle:clean},'Aufzeichnungen')) + ), + and( + not(equal({MenuTitle:clean},'Timer editieren')), + not(equal({MenuTitle:clean},'Einstellungen')) + ) + ), + and( + and( + not(equal({MenuTitle:clean},'Kan�le')), + not(equal({MenuTitle:clean},'Programm')) + ), + and( + not(equal({MenuTitle:clean},'Befehle')), + not(equal({MenuTitle:clean},'VDR')) + ) + ) + ) + ), + not({RecordingTitle}) + ), + not({PresentTitle}) + )"> + + <rectangle x1="240" x2="-240" y1="252" y2="293" condition="{MessageInfo}" color="MainSolid" /> + <rectangle x1="240" x2="-240" y1="252" y2="293" condition="{MessageStatus}" color="Status" /> + <rectangle x1="240" x2="-240" y1="252" y2="293" condition="{MessageWarning}" color="Warning" /> + <rectangle x1="240" x2="-240" y1="252" y2="293" condition="{MessageError}" color="Error" /> + + <text x1="315" x2="-240" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageInfo}</text> + <text x1="315" x2="-240" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageStatus}</text> + <text x1="315" x2="-240" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageWarning}</text> + <text x1="315" x2="-240" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageError}</text> + +</block> + +<!-- TIMERSWATCH --> +<block + refresh="all,update,timeout,list,full" + changed="{MenuTitle}{DateTime}{MessageInfo}{MessageStatus}{MessageWarning}{MessageError}" + condition=" + and( + and( + and( + and( + and( + not(equal({MenuTitle:clean},'Timer')), + not(equal({MenuTitle:clean},'Aufzeichnungen')) + ), + and( + not(equal({MenuTitle:clean},'Timer editieren')), + not(equal({MenuTitle:clean},'Einstellungen')) + ) + ), + and( + and( + not(equal({MenuTitle:clean},'Kan�le')), + not(equal({MenuTitle:clean},'Programm')) + ), + and( + not(equal({MenuTitle:clean},'Befehle')), + not(equal({MenuTitle:clean},'VDR')) + ) + ) + ), + not({RecordingTitle}) + ), + not({PresentTitle}) + )"> + + <text x1="-540" x2="-330" y1="-190" y2="-150" color="FontColor" align="right" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >{DateTime:%H\:%M}</text> + <text x1="-330" x2="-270" y1="-190" y2="-150" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >Uhr</text> +</block> + +<!-- +#------------------------------------------------------------------------------ +# (main) menu - main, (custom)commands +#------------------------------------------------------------------------------ --> + +<!-- Background left --> +<block + refresh="all,update,timeout,full" + changed="{MenuTitle}{DateTime}" + condition=" + or( + equal({MenuTitle:clean},'VDR'), + equal({MenuTitle:clean},'Befehle') + )"> + + <rectangle x1="140" x2="-451" y1="252" y2="-135" color="MainLight" /> +</block> + +<!-- +<clock x1="-440" x2="-150" y1="260" y2="300" color="FontColor" blinkColor="Error" delay="1000" font="VDRSymbols Sans:Book@37">{DateTime:%H\:%M\:%S}</clock> +<clock x1="185" x2="200" y1="90" y2="80" color="MainSolid" blinkColor="Error" delay="800" font="VDRSymbols Sans:Book@30">TEST</clock> +--> + +<!-- running recordings --> +<block + refresh="all,update,timeout,full" + changed="{MenuTitle}{DateTime}" + condition=" + or( + equal({MenuTitle:clean},'VDR'), + equal({MenuTitle:clean},'Befehle') + )"> + + <ellipse x1="185" x2="200" y1="213" y2="228" condition="{CurrentRecording}" color="Error" /> + + <blink x1="185" x2="200" y1="90" y2="80" color="MainSolid" blinkColor="Error" delay="800" font="VDRSymbols Sans:Book@30" condition="{IsRunning}">o</blink> + <marquee bgColor="MainSolid" x1="210" x2="-200" y1="202" y2="249" color="FontColor" font="VDRSymbols Sans:Book@30" condition="and({CurrentRecording:0},{CurrentRecording:1},{CurrentRecording:2},{CurrentRecording:3})" >{CurrentRecording:0} - {CurrentRecording:1} - {CurrentRecording:2} - {CurrentRecording:3}</marquee> + <marquee bgColor="MainSolid" x1="210" x2="-200" y1="202" y2="249" color="FontColor" font="VDRSymbols Sans:Book@30" condition="and({CurrentRecording:0},{CurrentRecording:1},{CurrentRecording:2},not({CurrentRecording:3}))" >{CurrentRecording:0} - {CurrentRecording:1} - {CurrentRecording:2}</marquee> + <marquee bgColor="MainSolid" x1="210" x2="-200" y1="202" y2="249" color="FontColor" font="VDRSymbols Sans:Book@30" condition="and({CurrentRecording:0},{CurrentRecording:1},not({CurrentRecording:2}))" >{CurrentRecording:0} - {CurrentRecording:1}</marquee> + <marquee bgColor="MainSolid" x1="210" x2="-200" y1="202" y2="249" color="FontColor" font="VDRSymbols Sans:Book@30" condition="and({CurrentRecording:0},not({CurrentRecording:1}))" >{CurrentRecording:0}</marquee> + +</block> + +<!-- Content --> +<list + refresh="all,list,timeout" + x1="160" x2="-470" y1="280" y2="-160" + condition=" + or( + equal({MenuTitle:clean},'VDR'), + equal({MenuTitle:clean},'Befehle') + )"> + + <item height="60" /> + + <rectangle refresh="all,list,timeout" x1="10" x2="23" y1="0" y2="55" color="Lolight" /> + <rectangle refresh="all,list,timeout" x1="24" x2="-1" y1="0" y2="55" color="Lolight" /> + + <rectangle refresh="all,list,timeout" x1="10" x2="23" y1="0" y2="55" condition="{IsMenuCurrent}" color="Warning" /> + <rectangle refresh="all,list,timeout" x1="24" x2="-1" y1="0" y2="55" condition="{IsMenuCurrent}" color="MainSolid" /> + + <text refresh="all,list,timeout" x1="25" x2="-21" y1="4" y2="32" color="FontColorInactive" font="VDRSymbols Sans:Book@36" >{MenuGroup}</text> + <text refresh="all,list,timeout" x1="25" x2="-21" y1="6" y2="32" color="FontColorInactive" font="VDRSymbols Sans:Book@36" >{MenuItem}</text> + <text refresh="all,list,timeout" x1="25" x2="-21" y1="6" y2="30" color="FontColor" font="VDRSymbols Sans:Book@36" >{MenuCurrent}</text> + +</list> + +<!-- Background right --> +<block + refresh="all,update,timeout,full" + changed="{MenuTitle}{DateTime}{ChannelName}{PresentTitle}" + condition=" + or( + equal({MenuTitle:clean},'VDR'), + equal({MenuTitle:clean},'Befehle') + )"> + + <rectangle x1="-450" x2="-140" y1="252" y2="-135" color="MainSolid" /> + + +<!-- + <marquee x1="-550" x2="-230" y1="271" y2="-780" color="FontColor" delay="800" font="VDRSymbols Sans:Book@37" refresh="all,timeout">{DateTime:%H\:%M\:%S}</marquee> + <blink x1="-550" x2="-230" y1="271" y2="-780" color="FontColor" blinkColor="Error" delay="800" font="VDRSymbols Sans:Book@37" changed="{DateTime:%H\:%M\:%S}" refresh="all,timeout">{DateTime:%H\:%M\:%S}</blink> + <text x1="-550" x2="-230" y1="271" y2="-780" color="FontColor" align="right" font="VDRSymbols Sans:Book@37" >{DateTime:%H\:%M}</text> +--> + <text refresh="all,update,timeout,full" changed="{DateTime:%H\:%M\:%S}" x1="-550" x2="-230" y1="271" y2="-780" color="FontColor" align="right" font="VDRSymbols Sans:Book@37" >{DateTime:%H\:%M\:%S}</text> + <text x1="-550" x2="-170" y1="281" y2="-770" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >Uhr</text> + <text x1="-550" x2="-170" y1="322" y2="-737" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >{DateTime:%A}</text> + <text x1="-550" x2="-170" y1="360" y2="-700" color="FontColor" align="right" font="VDRSymbols Sans:Book@20" >{DateTime:%e.%m.%Y}</text> + + <block condition="equal({MenuTitle:clean},'VDR')"> + <progress x1="-430" x2="-160" y1="-210" y2="-200" color="Red" bgColor="Green" keep="Black" current="{UsedDiskSpace}" total="{TotalDiskSpace}" /> + <text x1="-430" x2="-160" y1="-190" y2="-150" color="FontColor" align="right" font="VDRSymbols Sans:Book@22" >{MenuTitle:rest}</text> + </block> + + <block condition="equal({MenuTitle:clean},'Befehle')"> + <text x1="-430" x2="-160" y1="-190" y2="-150" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >{MenuTitle:rest}</text> + </block> + + + <!-- Next timer--> + <block x1="-719" x2="-240" y1="410" y2="-220"> + <!-- Event 1 --> + <block condition="{CurrentEventsTitle1}"> + <rectangle x1="0" x2="-1" y1="0" y2="45" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="0" y2="15" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="14" y2="31" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="31" y2="45" color="MainSolidOverlay" /> + + <block condition="and({CurrentEventsTitle1},{CurrentEventsIsRecording1})" > + <text delay="1800" x1="20" x2="-51" y1="10" y2="22" color="FontColor" align="right" font="VDRSymbols Sans:Book@22" >{CurrentEventsStopDateTime1:%H\:%M} / {CurrentEventsChannelName1}</text> + <text delay="1800" x1="-48" x2="-31" y1="6" y2="22" color="Error" align="right" font="VDRSymbols Sans:Book@15" >R</text> + </block> + + <block condition="and({CurrentEventsTitle1},not({CurrentEventsIsRecording1}))" > + <marquee x1="20" x2="-51" y1="10" y2="22" color="FontColor" align="right" font="VDRSymbols Sans:Book@22" >{CurrentEventsStartDateTime1:%d. %H\:%M} / {CurrentEventsChannelName1}</marquee> + <text delay="1800" x1="-48" x2="-31" y1="6" y2="22" color="Status" align="right" font="VDRSymbols Sans:Book@15" >T</text> + </block> + </block> + + <!-- Event 2 --> + <block condition="{CurrentEventsTitle2}" > + <rectangle x1="0" x2="-1" y1="50" y2="95" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="50" y2="65" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="64" y2="81" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="81" y2="95" color="MainSolidOverlay" /> + + <block condition="and({CurrentEventsTitle2},{CurrentEventsIsRecording2})" > + <text delay="1800" x1="20" x2="-51" y1="60" y2="78" color="FontColor" align="right" font="VDRSymbols Sans:Book@22" >{CurrentEventsStopDateTime2:%H\:%M} / {CurrentEventsChannelName2}</text> + <text delay="1800" x1="-48" x2="-31" y1="56" y2="78" color="Error" align="right" font="VDRSymbols Sans:Book@15" >R</text> + </block> + + <block condition="and({CurrentEventsTitle2},not({CurrentEventsIsRecording2}))" > + <marquee x1="20" x2="-51" y1="60" y2="78" color="FontColor" align="right" font="VDRSymbols Sans:Book@22" >{CurrentEventsStartDateTime2:%d. %H\:%M} / {CurrentEventsChannelName2}</marquee> + <text delay="1800" x1="-48" x2="-31" y1="56" y2="78" color="Status" align="right" font="VDRSymbols Sans:Book@15" >T</text> + </block> + </block> + + <!-- Event 3 --> + <block condition="{CurrentEventsTitle3}" > + <rectangle x1="0" x2="-1" y1="100" y2="145" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="100" y2="115" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="114" y2="131" color="MainSolidOverlay" /> + <rectangle x1="0" x2="14" y1="131" y2="145" color="MainSolidOverlay" /> + + <block condition="and({CurrentEventsTitle3},{CurrentEventsIsRecording3})" > + <text delay="1800" x1="20" x2="-51" y1="110" y2="128" color="FontColor" align="right" font="VDRSymbols Sans:Book@22" > {CurrentEventsStopDateTime3:%H\:%M} / {CurrentEventsChannelName3}</text> + <text delay="1800" x1="-48" x2="-31" y1="106" y2="128" color="Error" align="right" font="VDRSymbols Sans:Book@15" >R</text> + </block> + + <block condition="and({CurrentEventsTitle3},not({CurrentEventsIsRecording3}))" > + <marquee x1="20" x2="-51" y1="110" y2="128" color="FontColor" align="right" font="VDRSymbols Sans:Book@22" >{CurrentEventsStartDateTime3:%d. %H\:%M} / {CurrentEventsChannelName3}</marquee> + <text delay="1800" x1="-48" x2="-31" y1="106" y2="128" color="Status" align="right" font="VDRSymbols Sans:Book@15" >T</text> + </block> + </block> + + </block> +</block> + +<!-- Messages --> +<block + refresh="all,update,timeout,full" + changed="{MessageInfo}{MessageStatus}{MessageWarning}{MessageError}" + condition=" + and( + {Message}, + or( + equal({MenuTitle:clean},'VDR'), + equal({MenuTitle:clean},'Befehle') + ) + )"> + + <rectangle x1="240" x2="-719" y1="252" y2="293" condition="{MessageInfo}" color="MainSolid" /> + <rectangle x1="240" x2="-719" y1="252" y2="293" condition="{MessageStatus}" color="Status" /> + <rectangle x1="240" x2="-719" y1="252" y2="293" condition="{MessageWarning}" color="Warning" /> + <rectangle x1="240" x2="-719" y1="252" y2="293" condition="{MessageError}" color="Error" /> + + <text x1="315" x2="-719" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageInfo}</text> + <text x1="315" x2="-719" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageStatus}</text> + <text x1="315" x2="-719" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageWarning}</text> + <text x1="315" x2="-719" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageError}</text> +</block> + +<!-- +#------------------------------------------------------------------------------ +# (main) menu - schedule, channels, setup, edit timer +#------------------------------------------------------------------------------ --> + +<!-- Background left--> +<block + refresh="all,update,timeout,full" + changed="{MenuTitle}{DateTime}{ChannelName}{PresentTitle}{ButtonBlue}" + condition=" + or( + or( + or( + equal({MenuTitle:clean},'Programm'), + equal({MenuTitle:clean},'Kan�le') + ), + equal({MenuTitle:clean},'Einstellungen') + ), + equal({MenuTitle:clean},'Timer editieren') + )"> + + <!-- heading --> + <text x1="195" x2="-750" y1="190" y2="-830" color="FontColor" font="VDRSymbols Sans:Book@37">{MenuTitle}</text> + + <rectangle x1="140" x2="-451" y1="252" y2="-135" color="MainLight" /> + +</block> + +<!-- Content --> +<list + refresh="all,list,timeout,update" + changed="{MenuTitle}{DateTime}{ButtonBlue}" + x1="160" x2="-470" y1="280" y2="-160" + condition=" + or( + or( + or( + equal({MenuTitle:clean},'Programm'), + equal({MenuTitle:clean},'Kan�le') + ), + equal({MenuTitle:clean},'Einstellungen') + ), + equal({MenuTitle:clean},'Timer editieren') + )"> + + <item height="60" /> + + <rectangle refresh="all,list,timeout,update" changed="{MenuTitle}{DateTime}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" x1="10" x2="23" y1="0" y2="55" condition="{IsMenuItem}" color="Lolight" /> + <rectangle refresh="all,list,timeout,update" changed="{MenuTitle}{DateTime}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" x1="24" x2="-1" y1="0" y2="55" condition="{IsMenuItem}" color="Lolight" /> + + <rectangle refresh="all,list,timeout,update" changed="{MenuTitle}{DateTime}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" x1="10" x2="23" y1="0" y2="55" condition="{IsMenuCurrent}" color="Warning" /> + <rectangle refresh="all,list,timeout,update" changed="{MenuTitle}{DateTime}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" x1="24" x2="-1" y1="0" y2="55" condition="{IsMenuCurrent}" color="MainSolid" /> + + <text refresh="all,list,timeout,update" changed="{MenuTitle}{DateTime}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" x1="35" x2="-21" y1="4" y2="32" color="FontColorInactive" font="VDRSymbols Sans:Book@36" >{MenuGroup}</text> + <text refresh="all,list,timeout,update" changed="{MenuTitle}{DateTime}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" x1="35" x2="-21" y1="6" y2="32" color="FontColorInactive" font="VDRSymbols Sans:Book@36" >{MenuItem}</text> + <text refresh="all,list,timeout,update" changed="{MenuTitle}{DateTime}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" x1="35" x2="-21" y1="6" y2="30" color="FontColor" font="VDRSymbols Sans:Book@36" >{MenuCurrent}</text> + +</list> + +<!-- Background right--> +<block + refresh="all,update,timeout,full" + changed="{MenuTitle}{DateTime}{ChannelName}{PresentTitle}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" + condition=" + or( + or( + or( + equal({MenuTitle:clean},'Programm'), + equal({MenuTitle:clean},'Kan�le') + ), + equal({MenuTitle:clean},'Einstellungen') + ), + equal({MenuTitle:clean},'Timer editieren') + )"> + + <rectangle x1="-450" x2="-140" y1="252" y2="-135" color="MainSolid" /> + + <text x1="-550" x2="-230" y1="271" y2="-780" color="FontColor" align="right" font="VDRSymbols Sans:Book@37" >{DateTime:%H\:%M}</text> + <text x1="-550" x2="-170" y1="281" y2="-770" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >Uhr</text> + <text x1="-550" x2="-170" y1="322" y2="-737" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >{DateTime:%A}</text> + <text x1="-550" x2="-170" y1="360" y2="-700" color="FontColor" align="right" font="VDRSymbols Sans:Book@20" >{DateTime:%e.%m.%Y}</text> +<!-- + <text x1="-550" x2="-170" y1="-190" y2="-150" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >{MenuTitle:rest}</text> +--> + + <text x1="-450" x2="-170" y1="-190" y2="-150" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" condition="not(file('logos/{MenuTitle:rest}.png'))">{MenuTitle:rest}</text> + <image x1="-420" x2="-220" y1="200" y2="300" alpha="204" condition="file('logos/{MenuTitle:rest}.png')" path="logos/{MenuTitle:rest}.png" /> + +</block> + +<!-- Messages --> +<block + refresh="all,update,timeout,full" + changed="{MessageInfo}{MessageStatus}{MessageWarning}{MessageError}" + condition=" + and( + {Message}, + or( + or( + or( + equal({MenuTitle:clean},'Programm'), + equal({MenuTitle:clean},'Kan�le') + ), + equal({MenuTitle:clean},'Einstellungen') + ), + equal({MenuTitle:clean},'Timer editieren') + ) + )"> + + <rectangle x1="240" x2="-600" y1="252" y2="293" condition="{MessageInfo}" color="MainSolid" /> + <rectangle x1="240" x2="-600" y1="252" y2="293" condition="{MessageStatus}" color="Status" /> + <rectangle x1="240" x2="-600" y1="252" y2="293" condition="{MessageWarning}" color="Warning" /> + <rectangle x1="240" x2="-600" y1="252" y2="293" condition="{MessageError}" color="Error" /> + + <text x1="315" x2="-600" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageInfo}</text> + <text x1="315" x2="-600" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageStatus}</text> + <text x1="315" x2="-600" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageWarning}</text> + <text x1="315" x2="-600" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageError}</text> +</block> + +<!-- +#------------------------------------------------------------------------------ +# (main) menu - recordings, timers +#------------------------------------------------------------------------------ --> + +<!-- Background--> +<block + refresh="all,update,timeout,full" + changed="{MenuTitle}{DateTime}{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}" + condition=" + or( + equal({MenuTitle:clean},'Aufzeichnungen'), + equal({MenuTitle:clean},'Timer') + )"> + + <rectangle x1="140" x2="-451" y1="252" y2="-135" color="MainLight" /> + <rectangle x1="-450" x2="-140" y1="252" y2="-135" color="MainSolid" /> + + <rectangle x1="-140" x2="-451" y1="250" y2="252" color="Divider" /> + + <text x1="180" x2="-750" y1="190" y2="-830" color="FontColor" font="VDRSymbols Sans:Book@37">{MenuTitle:clean}</text> +</block> + +<!-- Content --> +<list + refresh="all,list,update,timeout" + changed="{MenuTitle}{DateTime}{ChannelName}{PresentTitle}{ButtonYellow}" + x1="160" x2="-470" y1="280" y2="-160" + condition=" + or( + equal({MenuTitle:clean},'Aufzeichnungen'), + equal({MenuTitle:clean},'Timer') + )"> + + <item height="60" /> + + <rectangle refresh="all,list,timeout" x1="10" x2="23" y1="0" y2="55" condition="{IsMenuItem}" color="Lolight" /> + <rectangle refresh="all,list,timeout" x1="24" x2="-1" y1="0" y2="55" condition="{IsMenuItem}" color="Lolight" /> + + <rectangle refresh="all,list,timeout" x1="10" x2="23" y1="0" y2="55" condition="{IsMenuCurrent}" color="Warning" /> + <rectangle refresh="all,list,timeout" x1="24" x2="-1" y1="0" y2="55" condition="{IsMenuCurrent}" color="MainSolid" /> + + <text refresh="all,list,timeout" x1="35" x2="-21" y1="4" y2="32" color="FontColorInactive" font="VDRSymbols Sans:Book@36" >{MenuGroup}</text> + <text refresh="all,list,timeout" x1="35" x2="-21" y1="6" y2="32" color="FontColorInactive" font="VDRSymbols Sans:Book@36" >{MenuItem}</text> + <text refresh="all,list,timeout" x1="35" x2="-21" y1="6" y2="30" color="FontColor" font="VDRSymbols Sans:Book@36" >{MenuCurrent}</text> +</list> + +<!-- Messages --> +<block + refresh="all,update,timeout,full" + changed="{MessageInfo}{MessageStatus}{MessageWarning}{MessageError}" + condition=" + and( + {Message}, + or( + equal({MenuTitle:clean},'Aufzeichnungen'), + equal({MenuTitle:clean},'Timer') + ) + )"> + + <rectangle x1="240" x2="-240" y1="252" y2="293" condition="{MessageInfo}" color="MainSolid" /> + <rectangle x1="240" x2="-240" y1="252" y2="293" condition="{MessageStatus}" color="Status" /> + <rectangle x1="240" x2="-240" y1="252" y2="293" condition="{MessageWarning}" color="Warning" /> + <rectangle x1="240" x2="-240" y1="252" y2="293" condition="{MessageError}" color="Error" /> + + <text x1="315" x2="-240" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageInfo}</text> + <text x1="315" x2="-240" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageStatus}</text> + <text x1="315" x2="-240" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageWarning}</text> + <text x1="315" x2="-240" y1="257" y2="293" color="White" font="VDRSymbols Sans:Book@27" >{MessageError}</text> +</block> + +<!-- TIMERSWATCH --> +<block + refresh="all,update,timeout,list,full" + changed="{MenuTitle}{DateTime}{MessageInfo}{MessageStatus}{MessageWarning}{MessageError}" + condition=" + or( + equal({MenuTitle:clean},'Aufzeichnungen'), + equal({MenuTitle:clean},'Timer') + )"> + + <text x1="-540" x2="-330" y1="-190" y2="-150" color="FontColor" align="right" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >{DateTime:%H\:%M}</text> + <text x1="-330" x2="-270" y1="-190" y2="-150" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >Uhr</text> +</block> + +<!-- +#------------------------------------------------------------------------------ +# (main) menu - epg +#------------------------------------------------------------------------------ --> + +<block + refresh="all,scroll" + condition="{PresentTitle}"> + + <rectangle x1="240" x2="-600" y1="252" y2="-135" color="MainLightMR" /> + + <!-- NOEPGIMAGES --> + <rectangle x1="-600" x2="-241" y1="252" y2="-135" color="MainSolid" /> + + <!-- EPGIMAGES --> +<!-- + <rectangle x1="-600" x2="-241" y1="252" y2="-420" color="MainSolid" /> + <image x1="-570" x2="-270" y1="-420" y2="-195" alpha="255" condition="file('EPGIMAGESPATH{PresentEventID}.png')" path="EPGIMAGESPATH{PresentEventID}.png" /> + <rectangle x1="-570" x2="-270" y1="-420" y2="-195" color="MainSolid" condition="not(file('EPGIMAGESPATH{PresentEventID}.png'))" /> + <rectangle x1="-600" x2="-570" y1="-420" y2="-195" color="MainSolid" /> + <rectangle x1="-270" x2="-241" y1="-420" y2="-195" color="MainSolid" /> + <rectangle x1="-600" x2="-241" y1="-195" y2="-135" color="MainSolid" /> +--> + + <text x1="-600" x2="-330" y1="271" y2="-780" color="FontColor" align="right" font="VDRSymbols Sans:Book@37" >{DateTime:%H\:%M}</text> + <text x1="-600" x2="-270" y1="281" y2="-770" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >Uhr</text> + <text x1="-600" x2="-270" y1="322" y2="-737" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >{DateTime:%A}</text> + <text x1="-600" x2="-270" y1="360" y2="-700" color="FontColor" align="right" font="VDRSymbols Sans:Book@20" >{DateTime:%e.%m.%Y}</text> + + <text x1="315" x2="-750" y1="195" y2="-830" color="FontColor" font="VDRSymbols Sans:Bold@37" >{PresentTitle}</text> + <text x1="315" x2="-750" y1="310" y2="-730" color="FontColor" font="VDRSymbols Sans:Book@27" >{PresentStartDateTime:%a %d.%m.%y %H\:%M} - {PresentEndDateTime:%H\:%M} </text> + <text x1="315" x2="-750" y1="350" y2="-750" color="FontColor" font="VDRSymbols Sans:Book@20" condition="{PresentVPSDateTime}" >{PresentDuration:%m} min | VPS: {PresentVPSDateTime:%H\:%M}</text> + <text x1="315" x2="-750" y1="370" y2="-750" color="FontColor" font="VDRSymbols Sans:Book@20" condition="not({PresentVPSDateTime})" >{PresentDuration:%m} min </text> + + <block condition="not({PresentDescription})" > + <scrolltext x1="315" x2="-750" y1="405" y2="-136" color="FontColor" font="VDRSymbols Sans:Bold@27" >{PresentShortText}</scrolltext> + </block> + + <block condition="{PresentDescription}" > + <text x1="315" x2="-750" y1="425" y2="-630" color="FontColor" font="VDRSymbols Sans:Bold@27" >{PresentShortText}</text> + <scrolltext x1="315" x2="-750" y1="482" y2="-176" color="FontColor" font="VDRSymbols Sans:Book@27" >{PresentDescription}</scrolltext> + </block> + + <scrollbar x1="-620" x2="-600" y1="252" y2="-136" condition="or({CanScrollUp},{CanScrollDown})" color="BarFill" bgColor="Bar" /> + +</block> + +<!-- +#------------------------------------------------------------------------------ +# (main) menu - recording info +#------------------------------------------------------------------------------ --> + +<block + condition="{RecordingName}" + refresh="all,scroll"> + + <rectangle x1="140" x2="-451" y1="252" y2="-135" color="MainLightMR" /> + <rectangle x1="-450" x2="-140" y1="252" y2="-135" color="MainSolid" /> + + <text x1="-440" x2="-150" y1="260" y2="300" color="FontColor" font="VDRSymbols Sans:Book@37">{DateTime:%H\:%M\:%S}</text> + <text x1="-440" x2="-150" y1="305" y2="335" color="FontColor" font="VDRSymbols Sans:Book@27">{DateTime:%A}</text> + <text x1="-440" x2="-150" y1="345" y2="370" color="FontColor" font="VDRSymbols Sans:Book@20">{DateTime:%e.%m.%Y}</text> + + <text x1="215" x2="-450" y1="195" y2="-830" color="FontColor" font="VDRSymbols Sans:Book@37">{RecordingTitle}</text> + <text x1="215" x2="-450" y1="310" y2="-730" color="FontColor" font="VDRSymbols Sans:Book@27" >F{RecordingDateTime:%a %d.%m.%y %H\:%M} </text> + <text x1="215" x2="-450" y1="350" y2="-750" color="FontColor" font="VDRSymbols Sans:Book@20" >G{RecordingLength} min | geschnitten: {RecordingCuttedLength} min</text> + + <block condition="not({RecordingDescription})" > + <scrolltext x1="215" x2="-750" y1="405" y2="-136" color="FontColor" font="VDRSymbols Sans:Book@27" >H{RecordingShortText}</scrolltext> + </block> + + <block condition="not({RecordingShortText})" > + <text x1="215" x2="-750" y1="425" y2="-630" color="FontColor" font="VDRSymbols Sans:Book@27" >I{RecordingTitle}</text> + </block> + + <block condition="{RecordingDescription}" > + <text x1="215" x2="-750" y1="425" y2="-630" color="FontColor" font="VDRSymbols Sans:Book@27" >J{RecordingShortText}</text> + <scrolltext x1="215" x2="-750" y1="482" y2="-176" color="FontColor" font="VDRSymbols Sans:Book@27" >{RecordingDescription}</scrolltext> + </block> + + <scrollbar x1="-471" x2="-451" y1="252" y2="-136" condition="or({CanScrollUp},{CanScrollDown})" color="BarFill" bgColor="Bar" /> + +</block> + +<!-- +#------------------------------------------------------------------------------ +# (main) menu - menutext (plugins w/o list) +#------------------------------------------------------------------------------ --> + +<block + refresh="all,update,timeout,full,scroll" + condition="{MenuText}" + changed="{MenuText}"> + + <scrolltext x1="315" x2="-280" y1="310" y2="-190" font="VDRSymbols Sans:Book@27" color="FontColor" >{MenuText}</scrolltext> + <scrollbar x1="-260" x2="-240" y1="252" y2="-136" condition="or({CanScrollUp},{CanScrollDown})" color="BarFill" bgColor="Bar" /> + +</block> + +<!-- +#------------------------------------------------------------------------------ +# (main) menu buttons +#------------------------------------------------------------------------------ --> +<block + refresh="all,update,full" + changed="{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}"> + + <!-- button background --> + <rectangle x1="-440" x2="-150" y1="-450" y2="-400" color="#99222222" condition="not(equal({ButtonRed},''))" /> + <rectangle x1="-440" x2="-150" y1="-395" y2="-345" color="#99222222" condition="not(equal({ButtonGreen},''))" /> + <rectangle x1="-440" x2="-150" y1="-340" y2="-290" color="#99222222" condition="not(equal({ButtonYellow},''))" /> + <rectangle x1="-440" x2="-150" y1="-285" y2="-235" color="#99222222" condition="not(equal({ButtonBlue},''))" /> + + <!-- color markers --> + <rectangle x1="-150" x2="-140" y1="-450" y2="-400" color="#b4ff0000" condition="not(equal({ButtonRed},''))" /> + <rectangle x1="-150" x2="-140" y1="-395" y2="-345" color="#b400ff00" condition="not(equal({ButtonGreen},''))" /> + <rectangle x1="-150" x2="-140" y1="-340" y2="-290" color="#b4ffff00" condition="not(equal({ButtonYellow},''))" /> + <rectangle x1="-150" x2="-140" y1="-285" y2="-235" color="#b40000ff" condition="not(equal({ButtonBlue},''))" /> + + <!-- button texts --> + <text x1="-430" x2="-160" y1="-440" y2="-405" color="White" align="right" font="VDRSymbols Sans:Book@27">{ButtonRed}</text> + <text x1="-430" x2="-160" y1="-385" y2="-350" color="White" align="right" font="VDRSymbols Sans:Book@27">{ButtonGreen}</text> + <text x1="-430" x2="-160" y1="-330" y2="-295" color="White" align="right" font="VDRSymbols Sans:Book@27">{ButtonYellow}</text> + <text x1="-430" x2="-160" y1="-275" y2="-240" color="White" align="right" font="VDRSymbols Sans:Book@27">{ButtonBlue}</text> + +</block> + +</display> |