Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
newperceptions
Streaming Star

Loading spinner freezes while side loading

I have a channel that I created using the rdp-to-scenegraph-channel-template-main project. I have 2 different feeds that I'm testing. One is a live feed, the other is a series of videos. The video feed side loads fine, but when side loading the live video feed, it loads the app, and then just freezes with the loading spinner on the screen. I am able to load the live video just fine using Roku Stream Tester, but the channel will not load the feed. Feed file is https://pmcdata.s3.amazonaws.com/pmc-misc/pmc-live-roku.json and here is my manifest. I appreciate any help anyone can provide. I've contacted Roku support but no response.

 

run_as_process=1 
title=Pioneer Memorial Church Live

major_version=1
minor_version=0
build_version=4

mm_icon_focus_hd=pkg:/images/Pioneer_Roku_App_Thumbnail_290x218.png
#mm_icon_focus_sd=pkg:/images/icon_focus_sd.png
#mm_icon_focus_fhd=pkg:/images/Pioneer_Roku_App Thumbnail_290x218.png

bs_libs_required=roku_ads_lib

splash_min_time=3000
confirm_partner_button=1
splash_screen_fhd=pkg:/images/Pioneer_Roku_Splash_1920x1080.jpg
splash_screen_hd=pkg:/images/Pioneer_Roku_Splash_1280x720.jpg
splash_screen_sd=pkg:/images/Pioneer_Roku_Splash_720x480.jpg
#splash_color=#EFEFEF

ui_resolutions=hd

supports_input_launch=1

' Update content feed URL

#FEED_URL=https://pmchurch.org/roku-feed.xml

FEED_URL=https://pmcdata.s3.amazonaws.com/pmc-misc/pmc-live-roku.json
#FEED_URL=https://pmchurch.org/feeds/roku

' Update theme elements

OverhangLogoUri=pkg:/images/Pioneer_Roku_Overhang_Logo_URI_400x90.png
#OverhangTitle=Pioneer Media
#OverhangTitleColor=#EFEFEF
#OverhangBackgroundUri=
#OverhangBackgroundColor=

textColor=#F5F5F5
focusRingColor=#5CAEE6
progressBarColor=#4D91BF
busySpinnerColor=#445C6D

backgroundImageURI=pkg:/images/Pioneer_Roku_Background_1920x1080.jpg
#backgroundColor=#445C6D    

 

0 Kudos
2 REPLIES 2
colhugs230
Reel Rookie

Re: Loading spinner freezes while side loading

I ran into the same issue and after a lot of de-bugging, I discovered that the rdp-to-scenegraph-channel-template assumes that every live stream, movie, series, short, or special in your feed will have a genre array with at least one item. If it doesn't have a genre array with one item, it errors and you get the infinite spinner.

Alternatively, you could go into the file RootHandler.brs (rdp-to-scenegraph-channel-template/components/content/RootHandler.brs) and delete/change line 108. (For example I changed mine to use all of a video's tags, because I found those more descriptive)

So this is what my code looks like (starting from line 102 in RootHandler.brs):

for each arrayItem in value
   itemNode = CreateObject("roSGNode", "ContentNode")
   Utils_ForceSetFields(itemNode, {
      hdPosterUrl: arrayItem.thumbnail
      Description: arrayItem.longDescription
      id: arrayItem.id
      Categories: arrayItem["tags"]
      title: arrayItem.title
   })

 Hope this helps! Let me know if you have any other questions!

0 Kudos
johnary
Streaming Star

Re: Loading spinner freezes while side loading

This helps. Thanks!

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.