diff options
-rw-r--r-- | Make.config | 5 | ||||
-rw-r--r-- | Makefile | 57 | ||||
-rw-r--r-- | NarrowHD.colors | 40 | ||||
-rw-r--r-- | logos/Das Erste HD.png | bin | 0 -> 1622 bytes | |||
-rw-r--r-- | logos/Das Erste.png | bin | 0 -> 1489 bytes | |||
-rw-r--r-- | logos/Default_200x170.png | bin | 0 -> 172 bytes | |||
-rw-r--r-- | logos/ProSieben.png | bin | 0 -> 674 bytes | |||
-rw-r--r-- | logos/RTL Television.png | bin | 0 -> 984 bytes | |||
-rw-r--r-- | logos/RTL2.png | bin | 0 -> 874 bytes | |||
-rw-r--r-- | logos/SAT.1.png | bin | 0 -> 2736 bytes | |||
-rw-r--r-- | logos/Sonnenklar TV.png | bin | 0 -> 1703 bytes | |||
-rw-r--r-- | logos/VOX.png | bin | 0 -> 3225 bytes | |||
-rw-r--r-- | logos/ZDF HD.png | bin | 0 -> 1092 bytes | |||
-rw-r--r-- | logos/ZDF.png | bin | 0 -> 1359 bytes | |||
-rw-r--r-- | logos/ZDFinfokanal.png | bin | 0 -> 1417 bytes | |||
-rw-r--r-- | logos/kabel eins.png | bin | 0 -> 1031 bytes | |||
-rw-r--r-- | themes/NarrowHD-default.theme | 21 | ||||
-rw-r--r-- | xml/audioTracks.xml | 73 | ||||
-rw-r--r-- | xml/channelInfo.xml | 269 | ||||
-rw-r--r-- | xml/menu.xml | 739 | ||||
-rw-r--r-- | xml/message.xml | 23 | ||||
-rw-r--r-- | xml/replayInfo.xml | 52 | ||||
-rw-r--r-- | xml/replaySmall.xml | 301 | ||||
-rw-r--r-- | xml/volume.xml | 25 |
24 files changed, 1605 insertions, 0 deletions
diff --git a/Make.config b/Make.config new file mode 100644 index 0000000..6bde8ef --- /dev/null +++ b/Make.config @@ -0,0 +1,5 @@ +# not yet used +BUTTON_1=Aufnehmen +BUTTON_2=Timer +BUTTON_3=Aufnahmen +BUTTON_4=Teletext
\ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2c1bf64 --- /dev/null +++ b/Makefile @@ -0,0 +1,57 @@ +SKIN = NarrowHD + +### The directory environment: + +-include Make.config + +DESTDIR ?= +PREFIX ?= /usr +CONFDIR = $(if $(subst /usr,,$(PREFIX)), $(PREFIX))/etc/vdr +SKINDIR = $(CONFDIR)/plugins/text2skin/$(SKIN) +THEMESDIR = $(CONFDIR)/themes + +### The main target: + +all: NarrowHD.skin + +### Targets: + +NarrowHD.skin: + @echo '<?xml version="1.0"?>' > $(SKIN).skin + @echo '<skin version="1.1" name="NarrowHD" screenBase="relative" >' >> $(SKIN).skin + + @cat xml/replayInfo.xml >> $(SKIN).skin + @cat xml/channelInfo.xml >> $(SKIN).skin + @cat xml/replaySmall.xml >> $(SKIN).skin + @cat xml/menu.xml >> $(SKIN).skin + @cat xml/audioTracks.xml >> $(SKIN).skin + @cat xml/volume.xml >> $(SKIN).skin + @cat xml/message.xml >> $(SKIN).skin + + @echo '</skin>' >> $(SKIN).skin + + @cat $(SKIN).skin | sed 's/BUTTON_1/$(BUTTON_1)/g' | sed 's/BUTTON_2/$(BUTTON_2)/g' | sed 's/BUTTON_3/$(BUTTON_3)/g' | sed 's/BUTTON_4/$(BUTTON_4)/g' > $(SKIN).tmp + @cp $(SKIN).tmp $(SKIN).skin + @cat $(SKIN).skin | sed 's/TOTALDISKSPACE/$(TOTALDISKSPACE)/g' > $(SKIN).tmp + @cp $(SKIN).tmp $(SKIN).skin + + @rm $(SKIN).tmp + @echo NarrowHD done... + +install: + @mkdir -p $(DESTDIR)$(SKINDIR) + @cp $(SKIN).skin $(DESTDIR)$(SKINDIR) + @cp $(SKIN).colors $(DESTDIR)$(SKINDIR) + @cp -R logos $(DESTDIR)$(SKINDIR) + @cp themes/*.theme $(DESTDIR)$(THEMESDIR) + @echo Install done... + +clean: + @-rm -rf $(SKIN).skin *~ + @echo Clean done... + +uninstall: + @-rm $(DESTDIR)$(SKINDIR)/$(SKIN).skin + @-rm $(DESTDIR)$(SKINDIR)/$(SKIN).colors + @-rm -rf $(DESTDIR)$(SKINDIR)/logos + @-rmdir $(DESTDIR)$(SKINDIR) diff --git a/NarrowHD.colors b/NarrowHD.colors new file mode 100644 index 0000000..f5b2307 --- /dev/null +++ b/NarrowHD.colors @@ -0,0 +1,40 @@ + +Item=Color,name=Bar,default=#80bbe5ff; +Item=Color,name=BarFill,default=#803b86b6; +Item=Color,name=BarBlock,default=#80ff6969; + +Item=Color,name=FontColor,default=#FFFFFFFF; +Item=Color,name=FontColorInverse,default=#FF000000; +Item=Color,name=FontColorInactive,default=#993b86b6; +Item=Color,name=FontColorDark,default=#b4505050; + + +Item=Color,name=MainSolid,default=#CC000000; +Item=Color,name=MainSolidOverlay,default=#DD000000; + +Item=Color,name=MainLight,default=#80000000; +Item=Color,name=MainLightMR,default=#99000000; +Item=Color,name=MainLightSub,default=#C0000000; +Item=Color,name=MainLight_H,default=#FFFFFFFF; + +Item=Color,name=Hilight,default=#CC111111; +Item=Color,name=Lolight,default=#95000000; + +Item=Color,name=Error,default=#AAff0000; +Item=Color,name=Warning,default=#AAff8a00; +Item=Color,name=Status,default=#AA6d8c00; + +Item=Color,name=Mark,default=#FFe39b00; +Item=Color,name=Keep,default=#FF6d8c00; + +Item=Color,name=Divider,default=#CC8c8c8c; + +Item=Color,name=TRW,default=#80FFFFFF; +Item=Color,name=OPA,default=#00FFFFFF; + +Item=Color,name=White,default=#ffffffff; +Item=Color,name=Black,default=#ff000000; + +Item=Color,name=Green,default=#6000ff00; +Item=Color,name=Red,default=#AAff0000; +Item=Color,name=Yellow,default=#AAf8f800;
\ No newline at end of file diff --git a/logos/Das Erste HD.png b/logos/Das Erste HD.png Binary files differnew file mode 100644 index 0000000..a6b609d --- /dev/null +++ b/logos/Das Erste HD.png diff --git a/logos/Das Erste.png b/logos/Das Erste.png Binary files differnew file mode 100644 index 0000000..9a1f91d --- /dev/null +++ b/logos/Das Erste.png diff --git a/logos/Default_200x170.png b/logos/Default_200x170.png Binary files differnew file mode 100644 index 0000000..6cb3067 --- /dev/null +++ b/logos/Default_200x170.png diff --git a/logos/ProSieben.png b/logos/ProSieben.png Binary files differnew file mode 100644 index 0000000..d612f71 --- /dev/null +++ b/logos/ProSieben.png diff --git a/logos/RTL Television.png b/logos/RTL Television.png Binary files differnew file mode 100644 index 0000000..a6e7d10 --- /dev/null +++ b/logos/RTL Television.png diff --git a/logos/RTL2.png b/logos/RTL2.png Binary files differnew file mode 100644 index 0000000..2e9c382 --- /dev/null +++ b/logos/RTL2.png diff --git a/logos/SAT.1.png b/logos/SAT.1.png Binary files differnew file mode 100644 index 0000000..3235e38 --- /dev/null +++ b/logos/SAT.1.png diff --git a/logos/Sonnenklar TV.png b/logos/Sonnenklar TV.png Binary files differnew file mode 100644 index 0000000..2b90e1e --- /dev/null +++ b/logos/Sonnenklar TV.png diff --git a/logos/VOX.png b/logos/VOX.png Binary files differnew file mode 100644 index 0000000..3c7cddb --- /dev/null +++ b/logos/VOX.png diff --git a/logos/ZDF HD.png b/logos/ZDF HD.png Binary files differnew file mode 100644 index 0000000..3b98cac --- /dev/null +++ b/logos/ZDF HD.png diff --git a/logos/ZDF.png b/logos/ZDF.png Binary files differnew file mode 100644 index 0000000..b02fd70 --- /dev/null +++ b/logos/ZDF.png diff --git a/logos/ZDFinfokanal.png b/logos/ZDFinfokanal.png Binary files differnew file mode 100644 index 0000000..ef0ed8c --- /dev/null +++ b/logos/ZDFinfokanal.png diff --git a/logos/kabel eins.png b/logos/kabel eins.png Binary files differnew file mode 100644 index 0000000..21f3f68 --- /dev/null +++ b/logos/kabel eins.png diff --git a/themes/NarrowHD-default.theme b/themes/NarrowHD-default.theme new file mode 100644 index 0000000..f24c269 --- /dev/null +++ b/themes/NarrowHD-default.theme @@ -0,0 +1,21 @@ +Description = Default +Bar = AABBE5FF +FontColorInactive = FF3B86B6 +BarFill = AA3B86B6 +BarBlock = AAFF6969 +FontColor = FFFFFFFF +FontColorInverse = FF000000 +MainSolid = CC000000 +MainLight = 90000000 +MainLightSub = C0000000 +Hilight = CC111111 +Lolight = AF000000 +MainLight_H = FFFFFFFF +Error = AAFF0000 +Warning = AAFF8A00 +Status = AA6D8C00 +Mark = FFE39B00 +Keep = FF6D8C00 +Divider = CC8C8C8C +MainLightMR = 99000000 +MainSolidOverlay = DD000000
\ No newline at end of file diff --git a/xml/audioTracks.xml b/xml/audioTracks.xml new file mode 100644 index 0000000..20bcd1e --- /dev/null +++ b/xml/audioTracks.xml @@ -0,0 +1,73 @@ +<!-- +#------------------------------------------------------------------------------ +# audioTracks start +#------------------------------------------------------------------------------ --> + +<display id="audioTracks" > + + <window x1="0" x2="-1" y1="0" y2="-1" bpp="4" /> + + <rectangle x1="480" x2="530" y1="345" y2="395" color="MainSolid" /> + <rectangle x1="531" x2="-480" y1="345" y2="395" color="MainSolid" /> + <rectangle x1="480" x2="-480" y1="396" y2="444" color="MainSolid" /> + <rectangle x1="480" x2="-480" y1="444" y2="446" color="Divider" /> + <rectangle x1="480" x2="-480" y1="446" y2="-406" color="MainLight" /> + <rectangle x1="480" x2="-530" y1="-405" y2="-355" color="MainLight" /> + <rectangle x1="-530" x2="-480" y1="-405" y2="-355" color="MainLight" /> + + <text x1="730" x2="-500" y1="380" y2="-630" color="FontColor" align="right" font="VDRSymbols Sans:Book@37" >{MenuTitle}</text> + + <block x1="555" x2="595" y1="390" y2="430" > + <block condition="equal({AudioChannel},'stereo')" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="FontColor" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="5" x2="13" y1="6" y2="14" color="FontColor" /> + <ellipse x1="6" x2="14" y1="7" y2="13" color="FontColor" /> + <ellipse x1="12" x2="20" y1="6" y2="14" color="FontColor" /> + <ellipse x1="13" x2="19" y1="7" y2="13" color="FontColor" /> + </block> + + <block condition="equal({AudioChannel},'left')" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="FontColor" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="5" x2="13" y1="6" y2="14" color="FontColor" /> + <ellipse x1="6" x2="14" y1="7" y2="13" color="FontColor" /> + <ellipse x1="12" x2="20" y1="6" y2="14" color="FontColor" /> + <ellipse x1="13" x2="19" y1="7" y2="13" color="MainLight" /> + </block> + + <block condition="equal({AudioChannel},'right')" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="FontColor" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="5" x2="13" y1="6" y2="14" color="FontColor" /> + <ellipse x1="6" x2="14" y1="7" y2="13" color="MainLight" /> + <ellipse x1="12" x2="20" y1="6" y2="14" color="FontColor" /> + <ellipse x1="13" x2="19" y1="7" y2="13" color="FontColor" /> + </block> + </block> + + <list + refresh="all,list,update,timeout" + changed="{AudioChannel}" + x1="480" x2="-480" y1="460" y2="-390"> + + <item height="50" /> + + <rectangle refresh="all,list,timeout,update" changed="{AudioChannel}" x1="74" x2="-1" y1="0" y2="-6" condition="{IsMenuItem}" color="Lolight" /> + <rectangle refresh="all,list,timeout,update" changed="{AudioChannel}" x1="60" x2="74" y1="0" y2="15" condition="{IsMenuItem}" color="Lolight" /> + <rectangle refresh="all,list,timeout,update" changed="{AudioChannel}" x1="60" x2="74" y1="14" y2="-21" condition="{IsMenuItem}" color="Lolight" /> + <rectangle refresh="all,list,timeout,update" changed="{AudioChannel}" x1="60" x2="74" y1="-21" y2="-6" condition="{IsMenuItem}" color="Lolight" /> + + <rectangle refresh="all,list,timeout,update" changed="{AudioChannel}" x1="74" x2="-1" y1="0" y2="-6" condition="{MenuCurrent}" color="MainSolid" /> + <rectangle refresh="all,list,timeout,update" changed="{AudioChannel}" x1="60" x2="74" y1="0" y2="15" condition="{MenuCurrent}" color="MainSolid" /> + <rectangle refresh="all,list,timeout,update" changed="{AudioChannel}" x1="60" x2="74" y1="14" y2="-21" condition="{MenuCurrent}" color="MainSolid" /> + <rectangle refresh="all,list,timeout,update" changed="{AudioChannel}" x1="60" x2="74" y1="-21" y2="-6" condition="{MenuCurrent}" color="MainSolid" /> + + <text refresh="all,list,timeout,update" changed="{AudioChannel}" x1="80" x2="-21" y1="5" y2="50" color="FontColorInactive" font="VDRSymbols Sans:Book@27" align="right" >{MenuItem}</text> + <text refresh="all,list,timeout,update" changed="{AudioChannel}" x1="80" x2="-21" y1="5" y2="50" color="FontColor" font="VDRSymbols Sans:Book@27" align="right" >{MenuCurrent}</text> + </list> + +</display> diff --git a/xml/channelInfo.xml b/xml/channelInfo.xml new file mode 100644 index 0000000..e23f6ef --- /dev/null +++ b/xml/channelInfo.xml @@ -0,0 +1,269 @@ +<display id="channelInfo" > +<!-- +#------------------------------------------------------------------------------ +# channelInfo start +#------------------------------------------------------------------------------ --> + +<!-- TOP WINDOW--> +<window x1="-460" x2="-1" y1="0" y2="70" bpp="4" /> + +<rectangle x1="-460" x2="-1" y1="0" y2="20" color="MainLight" /> +<rectangle x1="-460" x2="-410" y1="20" y2="70" color="MainLight" /> +<rectangle x1="-410" x2="-1" y1="20" y2="70" color="MainLight" /> + +<text x1="-430" x2="-20" y1="20" y2="60" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >{DateTime:%A %e.%m. %H\:%M}</text> +<!-- TOP WINDOW END--> + +<!-- LOWER WINDOW--> +<window x1="140" x2="-140" y1="-340" y2="-55" bpp="8" /> + +<!-- HEAD --> +<block> + <rectangle x1="140" x2="290" y1="-340" y2="-290" color="MainLight" /> + <rectangle x1="290" x2="-140" y1="-340" y2="-290" color="MainLight" /> + <rectangle x1="140" x2="-140" y1="-290" y2="-270" color="Bar" /> + + <progress x1="140" x2="-140" y1="-290" y2="-270" color="BarFill" bgColor="Bar" mark="Warning" current="{PresentProgress}" total="{PresentDuration}" /> +</block> +<!-- HEAD END--> + +<!-- BODY --> +<rectangle x1="140" x2="-140" y1="-270" y2="-55" color="MainSolid" /> + +<!-- RESOLUTIONS --> +<!-- {VideoSizeWidth} {VideoSizeHeight} --> + +<!-- sd --> +<block + condition="le({VideoSizeHeight},576)"> + <text x1="140" x2="340" y1="-335" y2="-250" color="FontColor" align="right" font="VDRSymbols Sans:Book@22">SD</text> +</block> + +<!-- hd ready --> +<block + condition="and(gt({VideoSizeHeight},576),le({VideoSizeHeight},720))"> + <text x1="140" x2="340" y1="-335" y2="-250" color="FontColor" align="right" font="VDRSymbols Sans:Book@22">720</text> +</block> + +<!-- full hd --> +<block + condition="gt({VideoSizeHeight},720)"> + <text x1="140" x2="340" y1="-335" y2="-250" color="FontColor" align="right" font="VDRSymbols Sans:Book@22">1080</text> +</block> + +<text x1="370" x2="475" y1="-335" y2="-250" color="FontColor" font="VDRSymbols Sans:Book@37">{ChannelNumber}</text> +<text x1="480" x2="-340" y1="-335" y2="-250" color="FontColor" font="VDRSymbols Sans:Book@37">{ChannelName}</text> + +<!-- channel logo --> +<image + x1="155" x2="355" y1="-245" y2="-145" + alpha="204" + condition="file('logos/{ChannelName}.png')" + path="logos/{ChannelName}.png" /> + +<!-- SYMBOLS --> +<block> + + <!-- vps --> + + <!-- signal strength, signal-to-noise ratio --> + <text x1="140" x2="340" y1="-335" y2="-250" color="FontColor" align="left" font="VDRSymbols Sans:Book@22">{FrontendSTR} {FrontendSNR}</text> + + <!-- videotext --> + <block x1="-335" x2="-295" y1="-325" y2="-345" condition="not({HasTeletext})" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Divider" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + <rectangle x1="5" x2="20" y1="5" y2="7" color="Divider" /> + <rectangle x1="5" x2="20" y1="9" y2="11" color="Divider" /> + <rectangle x1="5" x2="20" y1="13" y2="15" color="Divider" /> + </block> + + <block x1="-335" x2="-295" y1="-325" y2="-345" condition="{HasTeletext}" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Green" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + <rectangle x1="5" x2="20" y1="5" y2="7" color="Green" /> + <rectangle x1="5" x2="20" y1="9" y2="11" color="Green" /> + <rectangle x1="5" x2="20" y1="13" y2="15" color="Green" /> + </block> + + <!-- dolby digital --> + <block x1="-295" x2="-255" y1="-325" y2="-345" condition="not({HasDolby})" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Divider" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + <rectangle x1="12" x2="13" y1="3" y2="17" color="Divider" /> + + <ellipse x1="5" x2="10" y1="5" y2="15" arc="5" color="Divider" /> + <ellipse x1="15" x2="20" y1="5" y2="15" arc="7" color="Divider" /> + </block> + + <block x1="-295" x2="-255" y1="-325" y2="-345" condition="{HasDolby}" > + <block> + <rectangle x1="2" x2="23" y1="2" y2="18" color="Yellow" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + <rectangle x1="12" x2="13" y1="3" y2="17" color="Yellow" /> + + <ellipse x1="5" x2="10" y1="5" y2="15" arc="5" color="Yellow" /> + <ellipse x1="15" x2="20" y1="5" y2="15" arc="7" color="Yellow" /> + </block> + + <block condition="equal({Language},'deuDD')" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Green" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + <rectangle x1="12" x2="13" y1="3" y2="17" color="Green" /> + + <ellipse x1="5" x2="10" y1="5" y2="15" arc="5" color="Green" /> + <ellipse x1="15" x2="20" y1="5" y2="15" arc="7" color="Green" /> + </block> + + <block condition="equal({Language},'ddDD')" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Green" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + <rectangle x1="12" x2="13" y1="3" y2="17" color="Green" /> + + <ellipse x1="5" x2="10" y1="5" y2="15" arc="5" color="Green" /> + <ellipse x1="15" x2="20" y1="5" y2="15" arc="7" color="Green" /> + </block> + </block> + + <!-- multi language audio tracks --> + <block x1="-255" x2="-215" y1="-325" y2="-345" condition="not({HasMultilang})" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Divider" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="5" x2="13" y1="6" y2="14" color="Divider" /> + <ellipse x1="6" x2="12" y1="7" y2="13" color="Divider" /> + <ellipse x1="12" x2="20" y1="6" y2="14" color="Divider" /> + <ellipse x1="13" x2="19" y1="7" y2="13" color="MainLight" /> + </block> + + <block x1="-255" x2="-215" y1="-325" y2="-345" condition="{HasMultilang}" > + + <block condition="equal({AudioChannel},'stereo')" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Green" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="5" x2="13" y1="6" y2="14" color="Green" /> + <ellipse x1="6" x2="14" y1="7" y2="13" color="Green" /> + <ellipse x1="12" x2="20" y1="6" y2="14" color="Green" /> + <ellipse x1="13" x2="19" y1="7" y2="13" color="Green" /> + </block> + + <block condition="equal({AudioChannel},'left')" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Green" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="5" x2="13" y1="6" y2="14" color="Green" /> + <ellipse x1="6" x2="14" y1="7" y2="13" color="Green" /> + <ellipse x1="12" x2="20" y1="6" y2="14" color="Green" /> + <ellipse x1="13" x2="19" y1="7" y2="13" color="MainLight" /> + </block> + + <block condition="equal({AudioChannel},'right')" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Green" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="5" x2="13" y1="6" y2="14" color="Green" /> + <ellipse x1="6" x2="14" y1="7" y2="13" color="MainLight" /> + <ellipse x1="12" x2="20" y1="6" y2="14" color="Green" /> + <ellipse x1="13" x2="19" y1="7" y2="13" color="Green" /> + </block> + + </block> + + <!-- encrypted --> + <block x1="-215" x2="-175" y1="-325" y2="-345" condition="not({IsEncrypted})" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Divider" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="13" x2="21" y1="5" y2="15" color="Divider" /> + <ellipse x1="15" x2="19" y1="7" y2="13" color="MainLight" /> + + <rectangle x1="4" x2="14" y1="9" y2="10" color="Divider" /> + <rectangle x1="4" x2="6" y1="10" y2="13" color="Divider" /> + <rectangle x1="7" x2="9" y1="10" y2="12" color="Divider" /> + </block> + + <block x1="-215" x2="-175" y1="-325" y2="-345" condition="{IsEncrypted}" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Green" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <ellipse x1="13" x2="21" y1="5" y2="15" color="Green" /> + <ellipse x1="15" x2="19" y1="7" y2="13" color="MainLight" /> + + <rectangle x1="4" x2="14" y1="9" y2="10" color="Green" /> + <rectangle x1="4" x2="6" y1="10" y2="13" color="Green" /> + <rectangle x1="7" x2="9" y1="10" y2="12" color="Green" /> + </block> + + <!-- recording --> + <block x1="-175" x2="-135" y1="-325" y2="-345" condition="not({IsRecording})" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Divider" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <blink x1="5" x2="25" y1="4" y2="20" color="Warning" delay="400" condition="{TimerConflicts}" font="VDRSymbols Sans:Bold@9" >rec</blink> + <text x1="5" x2="25" y1="4" y2="20" color="Divider" condition="not({TimerConflicts})" font="VDRSymbols Sans:Bold@9" >rec</text> + </block> + + <block x1="-175" x2="-135" y1="-325" y2="-345" condition="{IsRecording}" > + <rectangle x1="2" x2="23" y1="2" y2="18" color="Red" /> + <rectangle x1="3" x2="22" y1="3" y2="17" color="MainLight" /> + + <blink x1="5" x2="25" y1="4" y2="20" color="Warning" delay="800" condition="{TimerConflicts}" font="VDRSymbols Sans:Bold@9" >rec</blink> + <text x1="5" x2="25" y1="4" y2="20" color="Red" condition="not({TimerConflicts})" font="VDRSymbols Sans:Bold@9" >rec</text> + </block> + + <!-- SYMBOLS END --> + + <!-- NOW AND NEXT EPG --> + + <!-- now --> + <text x1="370" x2="480" y1="-242" y2="-205" color="FontColor" font="VDRSymbols Sans:Book@27" >{PresentStartDateTime:%H\:%M}</text> + <text x1="480" x2="-260" y1="-250" y2="-205" color="FontColor" font="VDRSymbols Sans:Book@37" condition="not({HasTimer})" >{PresentTitle}</text> + <text x1="480" x2="-260" y1="-250" y2="-205" color="FontColor" font="VDRSymbols Sans:Book@37" condition="{HasTimer}" >{PresentTitle} *</text> + <text x1="-360" x2="-285" y1="-245" y2="-205" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" condition="{PresentRemaining}" >{PresentRemaining:%m}</text> + <text x1="-360" x2="-265" y1="-245" y2="-205" color="FontColor" align="right" font="VDRSymbols Sans:Book@15" condition="{PresentRemaining}" >m</text> + <text x1="480" x2="-360" y1="-205" y2="-145" color="FontColor" font="VDRSymbols Sans:Book@27" >{PresentShortText}</text> + <!-- now end --> + + <!-- next --> + <text x1="370" x2="480" y1="-147" y2="-110" color="FontColor" font="VDRSymbols Sans:Book@27" >{FollowingStartDateTime:%H\:%M}</text> + <text x1="480" x2="-260" y1="-155" y2="-110" color="FontColor" font="VDRSymbols Sans:Book@37" condition="not({FollowingHasTimer})" >{FollowingTitle}</text> + <text x1="480" x2="-260" y1="-155" y2="-110" color="FontColor" font="VDRSymbols Sans:Book@37" condition="{FollowingHasTimer}" >{FollowingTitle} *</text> + <text x1="-360" x2="-285" y1="-150" y2="-110" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" condition="{FollowingDuration}" >{FollowingDuration:%m} </text> + <text x1="-360" x2="-265" y1="-150" y2="-110" color="FontColor" align="right" font="VDRSymbols Sans:Book@15" condition="{FollowingDuration}" >m</text> + <text x1="480" x2="-360" y1="-110" y2="-20" color="FontColor" font="VDRSymbols Sans:Book@27" >{FollowingShortText}</text> + <!-- next end --> + +</block> +<!-- BODY END --> + +<!-- BUTTONS--> +<block + refresh="all,update,full" + changed="{ButtonRed}{ButtonGreen}{ButtonYellow}{ButtonBlue}"> + <!-- button background --> +<!-- + <rectangle x1="-340" x2="-150" y1="-270" y2="-220" color="#FF222222" /> + <rectangle x1="-340" x2="-150" y1="-215" y2="-165" color="#FF222222" /> + <rectangle x1="-340" x2="-150" y1="-160" y2="-110" color="#FF222222" /> + <rectangle x1="-340" x2="-150" y1="-105" y2="-55" color="#FF222222" /> +--> + <!-- color markers --> +<!-- + <rectangle x1="-150" x2="-140" y1="-270" y2="-220" color="#b4ff0000" /> + <rectangle x1="-150" x2="-140" y1="-215" y2="-165" color="#b400ff00" /> + <rectangle x1="-150" x2="-140" y1="-160" y2="-110" color="#b4ffff00" /> + <rectangle x1="-150" x2="-140" y1="-105" y2="-55" color="#b40000ff" /> +--> + <!-- button texts --> +<!-- + <text x1="-430" x2="-160" y1="-260" y2="-225" color="FontColorDark" align="right" font="VDRSymbols Sans:Book@27">BUTTON_1</text> + <text x1="-430" x2="-160" y1="-205" y2="-170" color="FontColorDark" align="right" font="VDRSymbols Sans:Book@27">BUTTON_2</text> + <text x1="-430" x2="-160" y1="-150" y2="-115" color="FontColorDark" align="right" font="VDRSymbols Sans:Book@27">BUTTON_3</text> + <text x1="-430" x2="-160" y1="-95" y2="-60" color="FontColorDark" align="right" font="VDRSymbols Sans:Book@27">BUTTON_4</text> +--> +</block> +<!-- BUTTONS END--> + +<!-- LOWER WINDOW END--> +</display> 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> diff --git a/xml/message.xml b/xml/message.xml new file mode 100644 index 0000000..1d0c335 --- /dev/null +++ b/xml/message.xml @@ -0,0 +1,23 @@ +<!-- +#------------------------------------------------------------------------------ +# global message start +#------------------------------------------------------------------------------ --> + +<display id="message" > + + <window x1="1" x2="-1" y1="-80" y2="-1" bpp="4" /> + + <rectangle x1="-1390" x2="-1" y1="-70" y2="-20" refresh="all" color="MainLight" /> + <rectangle x1="-1440" x2="-1390" y1="-70" y2="-20" refresh="all" color="MainLight" /> + + <rectangle x1="-1440" x2="-1" y1="-20" y2="-1" refresh="all" condition="{MessageInfo}" color="MainSolid" /> + <rectangle x1="-1440" x2="-1" y1="-20" y2="-1" refresh="all" condition="{MessageStatus}" color="Status" /> + <rectangle x1="-1440" x2="-1" y1="-20" y2="-1" refresh="all" condition="{MessageWarning}" color="Warning" /> + <rectangle x1="-1440" x2="-1" y1="-20" y2="-1" refresh="all" condition="{MessageError}" color="Error" /> + + <text x1="-1390" x2="-30" y1="-55" y2="-20" refresh="all" color="FontColor" align="right" font="VDRSymbols Sans:Book@27">{MessageInfo}</text> + <text x1="-1390" x2="-30" y1="-55" y2="-20" refresh="all" color="FontColor" align="right" font="VDRSymbols Sans:Book@27">{MessageStatus}</text> + <text x1="-1390" x2="-30" y1="-55" y2="-20" refresh="all" color="FontColor" align="right" font="VDRSymbols Sans:Book@27">{MessageWarning}</text> + <text x1="-1390" x2="-30" y1="-55" y2="-20" refresh="all" color="FontColor" align="right" font="VDRSymbols Sans:Book@27">{MessageError}</text> + +</display> diff --git a/xml/replayInfo.xml b/xml/replayInfo.xml new file mode 100644 index 0000000..3103798 --- /dev/null +++ b/xml/replayInfo.xml @@ -0,0 +1,52 @@ +<!-- +#------------------------------------------------------------------------------ +# replayInfo start +#------------------------------------------------------------------------------ --> + +<display id="replayInfo" > + <!-- TOP WINDOW--> + <window x1="-360" x2="-1" y1="0" y2="70" bpp="4" /> + + <rectangle refresh="all" x1="-360" x2="-1" y1="0" y2="19" color="MainLight" /> + + <rectangle refresh="all" x1="-360" x2="-310" y1="20" y2="70" color="MainLight" /> + <rectangle refresh="all" x1="-310" x2="-1" y1="20" y2="70" color="MainLight" /> + + <text condition="{IsPlaying}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Wiedergabe</text> + <text condition="{IsPausing}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Pause</text> + <text condition="{IsFastForward:0}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Vorspulen</text> + <text condition="{IsFastForward:1}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Vorspulen x1 </text> + <text condition="{IsFastForward:2}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Vorspulen x2</text> + <text condition="{IsFastForward:3}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Vorspulen x3</text> + <text condition="{IsFastRewind:0}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zurückspulen</text> + <text condition="{IsFastRewind:1}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zurückspulen x1 </text> + <text condition="{IsFastRewind:2}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zurückspulen x2</text> + <text condition="{IsFastRewind:3}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zurückspulen x3</text> + <text condition="{IsSlowForward:0}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zeitlupe Vorwärts</text> + <text condition="{IsSlowForward:1}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zeitlupe Vorwärts x1 </text> + <text condition="{IsSlowForward:2}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zeitlupe Vorwärts x2</text> + <text condition="{IsSlowForward:3}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zeitlupe Vorwärts x3</text> + <text condition="{IsSlowRewind:0}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zeitlupe Rückwärts</text> + <text condition="{IsSlowRewind:1}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zeitlupe Rückwärts x1 </text> + <text condition="{IsSlowRewind:2}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zeitlupe Rückwärts x2</text> + <text condition="{IsSlowRewind:3}" x1="-310" x2="-20" y1="20" y2="60" align="right" color="FontColor" bgColor="MainLight" font="VDRSymbols Sans:Book@27" >Zeitlupe Rückwärts x3</text> + <!-- TOP WINDOW END--> + + <!-- BOTTOM WINDOW--> + <window x1="0" x2="-1" y1="-160" y2="-1" bpp="4" /> + + <rectangle x1="0" x2="50" y1="-110" y2="-60" color="MainLight" /> + <rectangle x1="51" x2="-1" y1="-110" y2="-60" color="MainLight" /> + <rectangle x1="0" x2="-1" y1="-60" y2="-40" color="MainSolid" /> + + <text x1="240" x2="-320" y1="-95" y2="-40" color="FontColor" font="VDRSymbols Sans:Book@27" >{ReplayTitle}</text> + <text x1="240" x2="-30" y1="-95" y2="-40" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >{ReplayPosition} von {ReplayDuration}</text> + <progress x1="0" x2="-1" y1="-40" y2="-1" color="BarFill" mark="Mark" keep="Keep" bgColor="Bar" current="{ReplayPositionIndex}" total="{ReplayDurationIndex}" /> + + <rectangle x1="-360" x2="-310" y1="-160" y2="-111" condition="{ReplayPrompt}" color="MainLight" /> + <rectangle x1="-310" x2="-1" y1="-160" y2="-111" condition="{ReplayPrompt}" color="MainLight" /> + + <text x1="-250" x2="-30" y1="-150" y2="-111" color="FontColor" align="right" font="VDRSymbols Sans:Book@27" >{ReplayPrompt}</text> + <!-- BOTTOM WINDOW END--> + +</display> diff --git a/xml/replaySmall.xml b/xml/replaySmall.xml new file mode 100644 index 0000000..f2344ac --- /dev/null +++ b/xml/replaySmall.xml @@ -0,0 +1,301 @@ +<!-- +#------------------------------------------------------------------------------ +# replaySmall start +#------------------------------------------------------------------------------ --> + +<display id="replaySmall"> + + <window x1="0" x2="-1" y1="0" y2="-1" bpp="8" /> + + <!--Background--> + <rectangle x1="15" x2="95" y1="15" y2="95" color="TRW" /> + <rectangle x1="20" x2="90" y1="20" y2="90" color="OPA" /> + + <!--PLAY--> + <block + x1="46" x2="95" y1="31" y2="95" + condition="{IsPlaying}"> + + <rectangle x1="0" x2="1" y1="0" y2="47" color="TRW" /> + <rectangle x1="1" x2="2" y1="1" y2="46" color="TRW" /> + <rectangle x1="2" x2="3" y1="2" y2="45" color="TRW" /> + <rectangle x1="3" x2="4" y1="3" y2="44" color="TRW" /> + <rectangle x1="4" x2="5" y1="4" y2="43" color="TRW" /> + <rectangle x1="5" x2="6" y1="5" y2="42" color="TRW" /> + <rectangle x1="6" x2="7" y1="6" y2="41" color="TRW" /> + <rectangle x1="7" x2="8" y1="7" y2="40" color="TRW" /> + <rectangle x1="8" x2="9" y1="8" y2="39" color="TRW" /> + <rectangle x1="9" x2="10" y1="9" y2="38" color="TRW" /> + <rectangle x1="10" x2="11" y1="10" y2="37" color="TRW" /> + <rectangle x1="11" x2="12" y1="11" y2="36" color="TRW" /> + <rectangle x1="12" x2="13" y1="12" y2="35" color="TRW" /> + <rectangle x1="13" x2="14" y1="13" y2="34" color="TRW" /> + <rectangle x1="14" x2="15" y1="14" y2="33" color="TRW" /> + <rectangle x1="15" x2="16" y1="15" y2="32" color="TRW" /> + <rectangle x1="16" x2="17" y1="16" y2="31" color="TRW" /> + <rectangle x1="17" x2="18" y1="17" y2="30" color="TRW" /> + <rectangle x1="18" x2="19" y1="18" y2="29" color="TRW" /> + <rectangle x1="19" x2="20" y1="19" y2="28" color="TRW" /> + <rectangle x1="20" x2="21" y1="20" y2="27" color="TRW" /> + <rectangle x1="21" x2="22" y1="21" y2="26" color="TRW" /> + <rectangle x1="22" x2="23" y1="22" y2="25" color="TRW" /> + <rectangle x1="23" x2="24" y1="23" y2="24" color="TRW" /> + </block> + + <!--PAUSE--> + <block + x1="15" x2="95" y1="13" y2="95" + condition="{IsPausing}"> + + <rectangle x1="26" x2="35" y1="19" y2="65" color="TRW" /> + <rectangle x1="45" x2="54" y1="19" y2="65" color="TRW" /> + </block> + + <!--FF--> + <block + x1="0" x2="95" y1="0" y2="95" + condition=" + or( + or( + {IsFastForward:0}, + {IsFastForward:1} + ), + or( + {IsFastForward:3}, + {IsFastForward:2} + ) + )"> + + <block x1="35" x2="59" y1="31" y2="95" > + <rectangle x1="0" x2="1" y1="0" y2="47" color="TRW" /> + <rectangle x1="1" x2="2" y1="1" y2="46" color="TRW" /> + <rectangle x1="2" x2="3" y1="2" y2="45" color="TRW" /> + <rectangle x1="3" x2="4" y1="3" y2="44" color="TRW" /> + <rectangle x1="4" x2="5" y1="4" y2="43" color="TRW" /> + <rectangle x1="5" x2="6" y1="5" y2="42" color="TRW" /> + <rectangle x1="6" x2="7" y1="6" y2="41" color="TRW" /> + <rectangle x1="7" x2="8" y1="7" y2="40" color="TRW" /> + <rectangle x1="8" x2="9" y1="8" y2="39" color="TRW" /> + <rectangle x1="9" x2="10" y1="9" y2="38" color="TRW" /> + <rectangle x1="10" x2="11" y1="10" y2="37" color="TRW" /> + <rectangle x1="11" x2="12" y1="11" y2="36" color="TRW" /> + <rectangle x1="12" x2="13" y1="12" y2="35" color="TRW" /> + <rectangle x1="13" x2="14" y1="13" y2="34" color="TRW" /> + <rectangle x1="14" x2="15" y1="14" y2="33" color="TRW" /> + <rectangle x1="15" x2="16" y1="15" y2="32" color="TRW" /> + <rectangle x1="16" x2="17" y1="16" y2="31" color="TRW" /> + <rectangle x1="17" x2="18" y1="17" y2="30" color="TRW" /> + <rectangle x1="18" x2="19" y1="18" y2="29" color="TRW" /> + <rectangle x1="19" x2="20" y1="19" y2="28" color="TRW" /> + <rectangle x1="20" x2="21" y1="20" y2="27" color="TRW" /> + <rectangle x1="21" x2="22" y1="21" y2="26" color="TRW" /> + <rectangle x1="22" x2="23" y1="22" y2="25" color="TRW" /> + <rectangle x1="23" x2="24" y1="23" y2="24" color="TRW" /> + </block> + + <block x1="59" x2="95" y1="31" y2="95" > + <rectangle x1="0" x2="1" y1="0" y2="47" color="TRW" /> + <rectangle x1="1" x2="2" y1="1" y2="46" color="TRW" /> + <rectangle x1="2" x2="3" y1="2" y2="45" color="TRW" /> + <rectangle x1="3" x2="4" y1="3" y2="44" color="TRW" /> + <rectangle x1="4" x2="5" y1="4" y2="43" color="TRW" /> + <rectangle x1="5" x2="6" y1="5" y2="42" color="TRW" /> + <rectangle x1="6" x2="7" y1="6" y2="41" color="TRW" /> + <rectangle x1="7" x2="8" y1="7" y2="40" color="TRW" /> + <rectangle x1="8" x2="9" y1="8" y2="39" color="TRW" /> + <rectangle x1="9" x2="10" y1="9" y2="38" color="TRW" /> + <rectangle x1="10" x2="11" y1="10" y2="37" color="TRW" /> + <rectangle x1="11" x2="12" y1="11" y2="36" color="TRW" /> + <rectangle x1="12" x2="13" y1="12" y2="35" color="TRW" /> + <rectangle x1="13" x2="14" y1="13" y2="34" color="TRW" /> + <rectangle x1="14" x2="15" y1="14" y2="33" color="TRW" /> + <rectangle x1="15" x2="16" y1="15" y2="32" color="TRW" /> + <rectangle x1="16" x2="17" y1="16" y2="31" color="TRW" /> + <rectangle x1="17" x2="18" y1="17" y2="30" color="TRW" /> + <rectangle x1="18" x2="19" y1="18" y2="29" color="TRW" /> + <rectangle x1="19" x2="20" y1="19" y2="28" color="TRW" /> + <rectangle x1="20" x2="21" y1="20" y2="27" color="TRW" /> + <rectangle x1="21" x2="22" y1="21" y2="26" color="TRW" /> + <rectangle x1="22" x2="23" y1="22" y2="25" color="TRW" /> + <rectangle x1="23" x2="24" y1="23" y2="24" color="TRW" /> + </block> + + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsFastForward:1}" font="VDRSymbols Sans:Bold@14" >1</text> + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsFastForward:2}" font="VDRSymbols Sans:Bold@14" >2</text> + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsFastForward:3}" font="VDRSymbols Sans:Bold@14" >3</text> + + </block> + + <!--RW--> + <block + x1="0" x2="95" y1="0" y2="95" + condition=" + or( + or( + {IsFastRewind:0}, + {IsFastRewind:1} + ), + or( + {IsFastRewind:3}, + {IsFastRewind:2} + ) + )"> + + <block x1="26" x2="50" y1="31" y2="95" > + <rectangle x1="0" x2="1" y1="23" y2="24" color="TRW" /> + <rectangle x1="1" x2="2" y1="22" y2="25" color="TRW" /> + <rectangle x1="2" x2="3" y1="21" y2="26" color="TRW" /> + <rectangle x1="3" x2="4" y1="20" y2="27" color="TRW" /> + <rectangle x1="4" x2="5" y1="19" y2="28" color="TRW" /> + <rectangle x1="5" x2="6" y1="18" y2="29" color="TRW" /> + <rectangle x1="6" x2="7" y1="17" y2="30" color="TRW" /> + <rectangle x1="7" x2="8" y1="16" y2="31" color="TRW" /> + <rectangle x1="8" x2="9" y1="15" y2="32" color="TRW" /> + <rectangle x1="9" x2="10" y1="14" y2="33" color="TRW" /> + <rectangle x1="10" x2="11" y1="13" y2="34" color="TRW" /> + <rectangle x1="11" x2="12" y1="12" y2="35" color="TRW" /> + <rectangle x1="12" x2="13" y1="11" y2="36" color="TRW" /> + <rectangle x1="13" x2="14" y1="10" y2="37" color="TRW" /> + <rectangle x1="14" x2="15" y1="9" y2="38" color="TRW" /> + <rectangle x1="15" x2="16" y1="8" y2="39" color="TRW" /> + <rectangle x1="16" x2="17" y1="7" y2="40" color="TRW" /> + <rectangle x1="17" x2="18" y1="6" y2="41" color="TRW" /> + <rectangle x1="18" x2="19" y1="5" y2="42" color="TRW" /> + <rectangle x1="19" x2="20" y1="4" y2="43" color="TRW" /> + <rectangle x1="20" x2="21" y1="3" y2="44" color="TRW" /> + <rectangle x1="21" x2="22" y1="2" y2="45" color="TRW" /> + <rectangle x1="22" x2="23" y1="1" y2="46" color="TRW" /> + <rectangle x1="23" x2="24" y1="0" y2="47" color="TRW" /> + </block> + + <block x1="50" x2="95" y1="31" y2="95" > + <rectangle x1="0" x2="1" y1="23" y2="24" color="TRW" /> + <rectangle x1="1" x2="2" y1="22" y2="25" color="TRW" /> + <rectangle x1="2" x2="3" y1="21" y2="26" color="TRW" /> + <rectangle x1="3" x2="4" y1="20" y2="27" color="TRW" /> + <rectangle x1="4" x2="5" y1="19" y2="28" color="TRW" /> + <rectangle x1="5" x2="6" y1="18" y2="29" color="TRW" /> + <rectangle x1="6" x2="7" y1="17" y2="30" color="TRW" /> + <rectangle x1="7" x2="8" y1="16" y2="31" color="TRW" /> + <rectangle x1="8" x2="9" y1="15" y2="32" color="TRW" /> + <rectangle x1="9" x2="10" y1="14" y2="33" color="TRW" /> + <rectangle x1="10" x2="11" y1="13" y2="34" color="TRW" /> + <rectangle x1="11" x2="12" y1="12" y2="35" color="TRW" /> + <rectangle x1="12" x2="13" y1="11" y2="36" color="TRW" /> + <rectangle x1="13" x2="14" y1="10" y2="37" color="TRW" /> + <rectangle x1="14" x2="15" y1="9" y2="38" color="TRW" /> + <rectangle x1="15" x2="16" y1="8" y2="39" color="TRW" /> + <rectangle x1="16" x2="17" y1="7" y2="40" color="TRW" /> + <rectangle x1="17" x2="18" y1="6" y2="41" color="TRW" /> + <rectangle x1="18" x2="19" y1="5" y2="42" color="TRW" /> + <rectangle x1="19" x2="20" y1="4" y2="43" color="TRW" /> + <rectangle x1="20" x2="21" y1="3" y2="44" color="TRW" /> + <rectangle x1="21" x2="22" y1="2" y2="45" color="TRW" /> + <rectangle x1="22" x2="23" y1="1" y2="46" color="TRW" /> + <rectangle x1="23" x2="24" y1="0" y2="47" color="TRW" /> + </block> + + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsFastRewind:1}" font="VDRSymbols Sans:Bold@14" >1</text> + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsFastRewind:2}" font="VDRSymbols Sans:Bold@14" >2</text> + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsFastRewind:3}" font="VDRSymbols Sans:Bold@14" >3</text> + </block> + + <!--SFF--> + <block + x1="0" x2="95" y1="0" y2="95" + condition=" + or( + or( + {IsSlowForward:0}, + {IsSlowForward:1} + ), + or( + {IsSlowForward:3}, + {IsSlowForward:2} + ) + )"> + + <rectangle x1="37" x2="49" y1="31" y2="79" color="TRW" /> + + <block x1="59" x2="95" y1="31" y2="95" > + <rectangle x1="0" x2="1" y1="0" y2="47" color="TRW" /> + <rectangle x1="1" x2="2" y1="1" y2="46" color="TRW" /> + <rectangle x1="2" x2="3" y1="2" y2="45" color="TRW" /> + <rectangle x1="3" x2="4" y1="3" y2="44" color="TRW" /> + <rectangle x1="4" x2="5" y1="4" y2="43" color="TRW" /> + <rectangle x1="5" x2="6" y1="5" y2="42" color="TRW" /> + <rectangle x1="6" x2="7" y1="6" y2="41" color="TRW" /> + <rectangle x1="7" x2="8" y1="7" y2="40" color="TRW" /> + <rectangle x1="8" x2="9" y1="8" y2="39" color="TRW" /> + <rectangle x1="9" x2="10" y1="9" y2="38" color="TRW" /> + <rectangle x1="10" x2="11" y1="10" y2="37" color="TRW" /> + <rectangle x1="11" x2="12" y1="11" y2="36" color="TRW" /> + <rectangle x1="12" x2="13" y1="12" y2="35" color="TRW" /> + <rectangle x1="13" x2="14" y1="13" y2="34" color="TRW" /> + <rectangle x1="14" x2="15" y1="14" y2="33" color="TRW" /> + <rectangle x1="15" x2="16" y1="15" y2="32" color="TRW" /> + <rectangle x1="16" x2="17" y1="16" y2="31" color="TRW" /> + <rectangle x1="17" x2="18" y1="17" y2="30" color="TRW" /> + <rectangle x1="18" x2="19" y1="18" y2="29" color="TRW" /> + <rectangle x1="19" x2="20" y1="19" y2="28" color="TRW" /> + <rectangle x1="20" x2="21" y1="20" y2="27" color="TRW" /> + <rectangle x1="21" x2="22" y1="21" y2="26" color="TRW" /> + <rectangle x1="22" x2="23" y1="22" y2="25" color="TRW" /> + <rectangle x1="23" x2="24" y1="23" y2="24" color="TRW" /> + </block> + + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsSlowForward:1}" font="VDRSymbols Sans:Bold@14" >1</text> + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsSlowForward:2}" font="VDRSymbols Sans:Bold@14" >2</text> + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsSlowForward:3}" font="VDRSymbols Sans:Bold@14" >3</text> + </block> + + <!--SRW--> + <block + x1="0" x2="95" y1="0" y2="95" + condition=" + or( + or( + {IsSlowRewind:0}, + {IsSlowRewind:1} + ), + or( + {IsSlowRewind:3}, + {IsSlowRewind:2} + ) + )"> + + <block x1="26" x2="50" y1="31" y2="95" > + <rectangle x1="0" x2="1" y1="23" y2="24" color="TRW" /> + <rectangle x1="1" x2="2" y1="22" y2="25" color="TRW" /> + <rectangle x1="2" x2="3" y1="21" y2="26" color="TRW" /> + <rectangle x1="3" x2="4" y1="20" y2="27" color="TRW" /> + <rectangle x1="4" x2="5" y1="19" y2="28" color="TRW" /> + <rectangle x1="5" x2="6" y1="18" y2="29" color="TRW" /> + <rectangle x1="6" x2="7" y1="17" y2="30" color="TRW" /> + <rectangle x1="7" x2="8" y1="16" y2="31" color="TRW" /> + <rectangle x1="8" x2="9" y1="15" y2="32" color="TRW" /> + <rectangle x1="9" x2="10" y1="14" y2="33" color="TRW" /> + <rectangle x1="10" x2="11" y1="13" y2="34" color="TRW" /> + <rectangle x1="11" x2="12" y1="12" y2="35" color="TRW" /> + <rectangle x1="12" x2="13" y1="11" y2="36" color="TRW" /> + <rectangle x1="13" x2="14" y1="10" y2="37" color="TRW" /> + <rectangle x1="14" x2="15" y1="9" y2="38" color="TRW" /> + <rectangle x1="15" x2="16" y1="8" y2="39" color="TRW" /> + <rectangle x1="16" x2="17" y1="7" y2="40" color="TRW" /> + <rectangle x1="17" x2="18" y1="6" y2="41" color="TRW" /> + <rectangle x1="18" x2="19" y1="5" y2="42" color="TRW" /> + <rectangle x1="19" x2="20" y1="4" y2="43" color="TRW" /> + <rectangle x1="20" x2="21" y1="3" y2="44" color="TRW" /> + <rectangle x1="21" x2="22" y1="2" y2="45" color="TRW" /> + <rectangle x1="22" x2="23" y1="1" y2="46" color="TRW" /> + <rectangle x1="23" x2="24" y1="0" y2="47" color="TRW" /> + </block> + + <rectangle x1="60" x2="72" y1="31" y2="79" color="TRW" /> + + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsSlowRewind:1}" font="VDRSymbols Sans:Bold@14" >1</text> + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsSlowRewind:2}" font="VDRSymbols Sans:Bold@14" >2</text> + <text x1="39" x2="80" y1="47" y2="80" color="#00000000" condition="{IsSlowRewind:3}" font="VDRSymbols Sans:Bold@14" >3</text> + </block> + +</display> diff --git a/xml/volume.xml b/xml/volume.xml new file mode 100644 index 0000000..0bf3d36 --- /dev/null +++ b/xml/volume.xml @@ -0,0 +1,25 @@ +<!-- +#------------------------------------------------------------------------------ +# volume start +#------------------------------------------------------------------------------ --> + +<display id="volume" > + + <!-- top window ----------------------------------------------------------- --> + <window x1="-360" x2="-1" y1="0" y2="70" bpp="4" /> + + <rectangle x1="-360" x2="-1" y1="0" y2="20" refresh="all" color="MainLight" /> + <rectangle x1="-360" x2="-310" y1="20" y2="70" refresh="all" color="MainLight" /> + <rectangle x1="-310" x2="-1" y1="20" y2="70" refresh="all" color="MainLight" /> + + <text x1="-300" x2="-20" y1="20" y2="60" refresh="all" color="FontColor" bgColor="MainLight" align="left" condition="not({IsMute})" font="VDRSymbols Sans:Book@27">Lautstärke</text> + <text x1="-100" x2="-20" y1="20" y2="60" refresh="all,update" color="FontColor" bgColor="MainLight" align="right" condition="not({IsMute})" font="VDRSymbols Sans:Book@27">{VolumeCurrent}</text> + <text x1="-100" x2="-20" y1="20" y2="60" refresh="all,update" color="FontColor" bgColor="MainLight" align="right" condition="{IsMute}" font="VDRSymbols Sans:Book@27">Stumm</text> + + <!-- bottom window -------------------------------------------------------- --> + <window x1="0" x2="-1" y1="-40" y2="-1" bpp="4" /> + + <progress x1="0" x2="-1" y1="-40" y2="-1" bgColor="Bar" color="BarFill" current="{VolumeCurrent}" total="{VolumeTotal}" /> + <rectangle x1="0" x2="-1" y1="-40" y2="-1" color="BarBlock" condition="{IsMute}" /> + +</display> |