Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
supersc0ut
Channel Surfer

My channel won't load - Where is my problem?

I can't figure it out where I went wrong in the coding, can someone help me get my channel loaded? I click on it to load the channel, and it gives me the poster icon, and says loading...
But I can't get farther than that screen.
categoryfeed.brs - conn.UrlPrefix = "https://ia601004.us.archive.org/6/items/devonsserver"
conn.UrlCategoryFeed = conn.UrlPrefix + "/categories.xml"

themind.xml - <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed>
<!-- resultLength indicates the total number of results for this feed -->
<resultLength>1</resultLength>
<!-- endIndix indicates the number of results for this *paged* section of the feed -->
<endIndex>1</endIndex>
<item sdImg="https://ia601004.us.archive.org/6/items/devonsserver/artwork%2FAmarettoBreadPudding.jpeg" hdImg="https://ia601004.us.archive.org/6/items/devonsserver/artwork%2FAmarettoBreadPudding.jpeg">
<title>Amaretto Bread Pudding</title>
<contentId>10001</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>mp4</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>https://ia601004.us.archive.org/6/items/devonsserver/paws%2520and%2520claws.mp4</streamUrl>
</media>
<synopsis>Authentic New Orleans Amaretto Bread Pudding.</synopsis>
<genres>Bread Puddings</genres>
<runtime>420</runtime>
</item>
</feed>

globalissues.xml - <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed>
<!-- resultLength indicates the total number of results for this feed -->
<resultLength>1</resultLength>
<!-- endIndix indicates the number of results for this *paged* section of the feed -->
<endIndex>1</endIndex>
<item sdImg="https://ia601004.us.archive.org/6/items/devonsserver/artwork/AppleCreamSodaBreadPudding.jpeg" hdImg="https://ia601004.us.archive.org/6/items/devonsserver/artwork/AppleCreamSodaBreadPudding.jpeg">
<title>Apple Cream Soda Bread Pudding</title>
<contentId>10011</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>mp4</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>https://ia601004.us.archive.org/6/items/devonsserver/paws%2520and%2520claws.mp4</streamUrl>
</media>
<synopsis>Authentic NO,LA Apple Cream Soda Bread Pudding"</synopsis>
<genres>Momma Rocks Cakes</genres>
<runtime>468</runtime>
</item>
</feed>

categories.xml - <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<categories>

<!-- banner_ad: optional element which displays an at the top level category screen -->
<banner_ad sd_img="https://ia601004.us.archive.org/6/items/devonsserver/images%2FOverhang_Background_SD.png" hd_img="https://ia601004.us.archive.org/6/items/devonsserver/images%2FOverhang_Background_HD.png"/>

<category title="Desserts" description="Restaurant quality desserts taught by restaurant chefs!" sd_img="https://ia601004.us.archive.org/6/items/devonsserver/artwork%2FTED_Technology.png" hd_img="https://ia601004.us.archive.org/6/items/devonsserver/artwork%2FTED_Technology.png">
<categoryLeaf title="Bread Puddings" description="Authentic Bread Puddings from NOLA" feed="https://ia601004.us.archive.org/6/items/devonsserver/themind.xml"/>
<categoryLeaf title="Momma Rocks Cakes" description="Momma Rocks Cakes, Carolina Beach, NC" feed="https://ia801004.us.archive.org/6/items/devonsserver/globalissues.xml" />
</category>

</categories>

Anything else I need to include? I changed some things and ran debugger, and this is the report I got -
created feed connection for https://ia601004.us.archive.org/6/items ... gories.xml
url: https://ia601004.us.archive.org/6/items ... gories.xml
Took: 230ms
Can't parse feed
BrightScript Micro Debugger.
Enter any BrightScript statement, debug commands, or HELP.

Current Function:
034: Function get_category_names(categories As Object) As Dynamic
035:
036: categoryNames = CreateObject("roArray", 100, true)
037:
038: for each category in categories.kids
039: 'print category.Title
040: categoryNames.Push(category.Title)
041: next
042:
043: return categoryNames
044:
045: End Function
Syntax Error. (runtime error &h02) in .../pkg:/source/categoryFeed.brs(38)

038: for each category in categories.kids
Backtrace:
Function get_category_names(categories As <uninitialized>) As
file/line: /tmp/plugin/LDBAAAyWp.../pkg:/source/categoryFeed.brs(38)
Function initcategorylist() As
file/line: /tmp/plugin/LDBAAAyWpFPY/pkg:/source/appHomeScreen.brs(112)
Function showhomescreen(screen As ) As Integer
file/line: /tmp/plugin/LDBAAAyWpFPY/pkg:/source/appHomeScreen.brs(39)
Function main() As
file/line: /tmp/plugin/LDBAAAyWpFPY/pkg:/source/appMain.brs(20)

Local Variables:
categories &h0010 bsc:roInvalid, refcnt=1
global &h0020 rotINTERFACE:ifGlobal
m &h0010 bsc:roAssociativeArray, refcnt=3
categorynames &h0010 bsc:roArray, refcnt=1
category &h0000 <uninitialized> val:Uninitialized
Thanks so much!
Devon
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.