Add a live weather inset and local soundtrack support

This commit is contained in:
Josh
2026-11-13 15:08:36 -05:00
parent 1bfd720c81
commit ccec1e7044
7 changed files with 100 additions and 12 deletions

View File

@@ -4,7 +4,7 @@
<script type="text/brightscript" uri="pkg:/components/Guide.brs" />
<script type="text/brightscript" uri="pkg:/components/Weather.brs" />
<children>
<Video id="video" width="1280" height="720" enableUI="false" />
<Audio id="weatherAudio" loop="true" />
<Group id="weather" visible="false">
<Rectangle width="1280" height="720" color="0x122D62FF" />
<Rectangle translation="[70,120]" width="1140" height="5" color="0x78E5EBFF" />
@@ -14,13 +14,18 @@
font="font:MediumBoldSystemFont" color="0x78E5EBFF" />
<Label id="weatherHeading" translation="[70,198]" width="1140" height="42"
font="font:MediumBoldSystemFont" />
<Label id="weatherBody" translation="[70,252]" width="1140" height="285"
font="font:MediumSystemFont" wrap="true" numLines="7" />
<Label id="weatherBody" translation="[70,252]" width="700" height="285"
font="font:SmallSystemFont" wrap="true" numLines="8" />
<Rectangle id="weatherPreviewFrame" translation="[800,208]" width="416" height="238"
color="0x78E5EBFF" visible="false" />
<Label id="weatherPreviewLabel" translation="[802,454]" width="412" height="70"
font="font:SmallBoldSystemFont" wrap="true" numLines="2" />
<Label id="weatherAlerts" translation="[70,553]" width="1140" height="74"
font="font:SmallBoldSystemFont" color="0xFFD57AFF" wrap="true" numLines="2" />
<Label id="weatherSource" translation="[70,646]" width="1140" height="32"
font="font:SmallSystemFont" color="0xB7D4E9FF" />
</Group>
<Video id="video" width="1280" height="720" enableUI="false" />
<Group id="banner" translation="[50,525]" visible="false">
<Rectangle width="1180" height="145" color="0x101A32EF" />
<Rectangle width="6" height="145" color="0x78E5EBFF" />