-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update URLs, NTunes, other data calls
- Loading branch information
Showing
11 changed files
with
175 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,92 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<component name="NTunesScene" extends="SGDEXComponent" xsi:noNamespaceSchemaLocation="https://devtools.web.roku.com/schema/RokuSceneGraph.xsd" initialFocus="audio_control_button"> | ||
<component name="NTunesScene" | ||
extends="SGDEXComponent" | ||
xsi:noNamespaceSchemaLocation="https://devtools.web.roku.com/schema/RokuSceneGraph.xsd" | ||
initialFocus="audio_control_button"> | ||
<script type="text/brightscript" uri="pkg:/components/NTunesScene.brs" /> | ||
<children> | ||
<Group id="container"> | ||
<Poster id="background" | ||
loadHeight="86.4" | ||
loadWidth="153.6" | ||
height="1080" | ||
width="1920" | ||
loadDisplayMode="scaleToFill" /> | ||
<Poster | ||
id="current_show_image_path" | ||
width="500" | ||
height="500" | ||
translation="[710, 100]" /> | ||
<Rectangle height="80" width="1920" color="0x22447134" /> | ||
<Label id="title" | ||
text="WDWNTunes - Now Playing" | ||
color="0xFFFFFFFF" | ||
translation="[20, 20]"> | ||
<Font | ||
height="1080" | ||
width="1920" | ||
loadDisplayMode="scaleToZoom" /> | ||
<Rectangle height="1080" width="1920" color="0x00000055" /> | ||
<LayoutGroup layoutDirection="horiz" itemSpacings="[50, 0]" translation="[50, 50]"> | ||
<Poster | ||
id="current_show_image_path" | ||
width="550" | ||
height="550" /> | ||
<LayoutGroup layoutDirection="vert" itemSpacings="[0, 20]"> | ||
<Label id="current_track_artist_name" | ||
color="0xFFFFFFAA" | ||
horizAlign="left" | ||
width="1200"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/avenir_35_light_latin.ttf" | ||
id="avenir-light" | ||
size="30" | ||
/> | ||
</Label> | ||
<LayoutGroup translation="[0, 650]"> | ||
<Label id="current_show_name" | ||
color="0xFFFFFFFF" | ||
horizAlign="center" | ||
width="1920"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/avenir_35_light_latin.ttf" | ||
id="avenir-light" | ||
size="30" | ||
/> | ||
size="36" | ||
/> | ||
</Label> | ||
<Label id="current_track_title" text="Loading..." | ||
color="0xFFFFFFFF" | ||
horizAlign="center" | ||
width="1920" | ||
wrap="true"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/avenir_85_heavy_latin.ttf" | ||
id="avenir-heavy-latin" | ||
size="65" | ||
/> | ||
color="0xFFFFFFFF" | ||
horizAlign="left" | ||
width="1200" | ||
wrap="true"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/avenir_85_heavy_latin.ttf" | ||
id="avenir-heavy-latin" | ||
size="55" | ||
/> | ||
</Label> | ||
<Label id="current_track_artist_name" | ||
color="0xFFFFFFFF" | ||
horizAlign="center" | ||
width="1920"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/avenir_35_light_latin.ttf" | ||
id="avenir-light" | ||
size="40" | ||
/> | ||
</LayoutGroup> | ||
</LayoutGroup> | ||
<Rectangle id="progress_bar_background" | ||
visible="false" height="10" width="1820" | ||
color="0xFFFFFF44" translation="[50, 720]" /> | ||
<Rectangle id="progress_bar" height="10" width="0" | ||
visible="false" color="0xFFFFFFAA" translation="[50, 720]" /> | ||
<LayoutGroup translation="[50, 750]"> | ||
<LayoutGroup layoutDirection="horiz"> | ||
<Label id="elapsed_time_label" | ||
color="0xFFFFFFFF" | ||
horizAlign="left" | ||
visible="false" | ||
width="100"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/avenir_35_light_latin.ttf" | ||
id="avenir-light" | ||
size="40" | ||
/> | ||
</Label> | ||
<Label id="audio_indicator" text="N" color="0xFFFFFFFF" horizAlign="center" width="1920"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/sosa-regular-webfont.ttf" | ||
id="sosa-regular" | ||
size="150" | ||
/> | ||
<Rectangle height="80" width="1620" color="0x00000000" /> | ||
<Label id="duration_label" | ||
color="0xFFFFFFFF" | ||
horizAlign="right" | ||
visible="false" | ||
width="100"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/avenir_35_light_latin.ttf" | ||
id="avenir-light" | ||
size="40" | ||
/> | ||
</Label> | ||
<Audio id="audio_player" /> | ||
<Timer id="refresh_timer" repeat="true" duration="10" /> | ||
</LayoutGroup> | ||
<Label id="audio_indicator" text="N" color="0xFFFFFFFF" horizAlign="center" width="1920"> | ||
<Font | ||
role="font" | ||
uri="pkg:/components/fonts/sosa-regular-webfont.ttf" | ||
id="sosa-regular" | ||
size="150" | ||
/> | ||
</Label> | ||
<Audio id="audio_player" /> | ||
<Timer id="refresh_timer" repeat="true" duration="10" /> | ||
<Timer id="elapsedTime_timer" /> | ||
</LayoutGroup> | ||
</Group> | ||
</children> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters