Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
kelvis2000
Level 7

Bright script error from Eclipse? Image and Video problem

Does anyone please have a idea what this might be? This message is from the console of Eclipse after I exported the package.
None of my images or videos are showing up, I thought it was permissions but all that is set.
I just set up a Amazon S3 account with Cloudfront, here is the error message.

------ Running ------
created feed connection for http://ds1g3wm5vt4h6.cloudfront.net/XML/categories.xml
url: http://ds1g3wm5vt4h6.cloudfront.net/XML/categories.xml
Took: 171ms
Parse Took: 1ms
begin category node parsing
number of categories: 4
ParseCategoryNode: category
category: Delta Blues | All About Delta Blues.
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(176)
added new child node
ParseCategoryNode: category
category: Texas Blues | All about Texas Blues.
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(176)
added new child node
ParseCategoryNode: category
category: Contemporary Blues | All about Current Blues.
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(176)
added new child node
ParseCategoryNode: category
category: Ragtime Blues | All about Ragtime Blues.
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(176)
added new child node
Traversing: 3ms


The images and links all work for the category.xml below no idea why these images work.

<?xml version="1.0" encoding="UTF-8"?>
<categories>
<category
title="Delta Blues"
description="All About Delta Blues."
sd_img="http://ds1g3wm5vt4h6.cloudfront.net/images/SD-category-1.png"
hd_img="http://ds1g3wm5vt4h6.cloudfront.net/images/HD-category-1.png"
feed="http://ds1g3wm5vt4h6.cloudfront.net/XML/category-1.xml"
/>
<category
title="Texas Blues"
description="All about Texas Blues."
sd_img="http://ds1g3wm5vt4h6.cloudfront.net/images/SD-category-2.png"
hd_img="http://ds1g3wm5vt4h6.cloudfront.net/images/HD-category-2.png"
feed="http://ds1g3wm5vt4h6.cloudfront.net/XML/category-2.xml"
/>
<category
title="Contemporary Blues"
description="All about Current Blues."
sd_img="http://ds1g3wm5vt4h6.cloudfront.net/images/SD-category-3.png"
hd_img="http://ds1g3wm5vt4h6.cloudfront.net/images/HD-category-3.png"
feed="http://ds1g3wm5vt4h6.cloudfront.net/XML/category-3.xml"
/>
<category
title="Ragtime Blues"
description="All about Ragtime Blues."
sd_img="http://ds1g3wm5vt4h6.cloudfront.net/images/SD-category-4.png"
hd_img="http://ds1g3wm5vt4h6.cloudfront.net/images/HD-category-4.png"
feed="http://ds1g3wm5vt4h6.cloudfront.net/XML/category-4.xml"
/>
</categories>


Below none of the images or videos are working here the placeholders show up but they are empty.
 <item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidCoffeeBlues214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidCoffeeBlues290.png">
<title>John Hurt</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/CoffeeBlues.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/CoffeeBlues.m4v</streamUrl>
</media>
<synopsis>Coffee Blues.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidCCRider214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidCCRider290.png">
<title>Mississippi John Hurt</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/CCRyderB.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/CCRyderB.m4v</streamUrl>
</media>
<synopsis>CC Ryder.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDBigRoad214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidBigRoad290.png">
<title>Tommy Johnson</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/BigRoad.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/BigRoad.m4v</streamUrl>
</media>
<synopsis>Big Road Blues.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidCannedHeat214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidCannedHeat290.png">
<title>Tommy Johnson</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/CannedHeat.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/CannedHeat.m4v</streamUrl>
</media>
<synopsis>Canned Heat Blues.</synopsis>
<genres>Clip</genres>
</item>


Thanks,

Kevin

Also here is line 176 from categoryFeed.brs


'get the list of child nodes and recursed
'through everything under the current node
for each e in xml.GetBody()
name = e.GetName()
if name = "category" then
print "category: " + e@title + " [" + e@description + "]"
kid = ParseCategoryNode(e)
kid.Title = e@title
kid.Description = e@Description
kid.ShortDescriptionLine1 = xml@Description
kid.SDPosterURL = xml@sd_img
kid.HDPosterURL = xml@hd_img
kid.Feed = e@feed
o.AddKid(kid)
else if name = "categoryLeaf" then
print "categoryLeaf: " + e@title + " [" + e@description + "]"
kid = ParseCategoryNode(e)
kid.Title = e@title
kid.Description = e@Description
kid.Feed = e@feed
o.AddKid(kid)
else if name = "specialCategory" then
print "specialCategory: " + e@title + " [" + e@description + "]"
kid = ParseCategoryNode(e)
kid.Title = e@title
kid.Description = e@Description
kid.sd_img = e@sd_img
kid.hd_img = e@hd_img
kid.Feed = e@feed
o.AddKid(kid)
endif
next

return o
End Function
0 Kudos
8 Replies
belltown
Level 7

Re: Bright script error from Eclipse? Image and Video proble

The image urls for your SD images are wrong (or they don't exist on Cloudfront).
https://github.com/belltown/
0 Kudos
Komag
Level 9

Re: Bright script error from Eclipse? Image and Video proble

just checking - have you set the files to "public" within the S3 bucket?
0 Kudos
kelvis2000
Level 7

Re: Bright script error from Eclipse? Image and Video proble

Komag Hi and thanks for your help.
I am using CrossFTP and setting the permissions there,
would this be wrong?
I thought it was a permissions problem, I was trying to get one section to work
which is the Delta Blues section, I kept uploading category-1.xml which is the Delta Blues Section XML file and checking
the XML file via browser. I know some of the URLS were going to DreamObjects which I
left for Amazon Cloud. I had not uploaded the videos so I did not change the URL's
for the video on a few Videos.
Here is the one video that works because NewManLiving uploaded it to his server,
but again the images do not appear? But they do appear in a browser?

<item sdImg="http://guitar.objects.cdn.dream.io/images/SDvidCCRider214.png" hdImg="http://guitar.objects.cdn.dream.io/images/HDvidCCRider290.png">
<title>Mississippi John Hurt</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>
http://d7u0o2d8h47jb.cloudfront.net/test/CCRyderB.m4v
</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>
http://d7u0o2d8h47jb.cloudfront.net/test/CCRyderB.m4v
</streamUrl>
</media>
<synopsis>CC Ryder.</synopsis>
<genres>Clip</genres>
</item>


Everything works great for categories.xml, is that uploaded to the
remote? Why would all the images (which is only four)
show up in the categories.xml page? but not on
other xml pages.

Thanks
Kevin

category-1.xml below

<?xml version="1.0" encoding="UTF-8"?>
<feed>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidBigBill214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidBigBill290.png">
<title> Big Bill Broonzy: </title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/WillieMaeBlues.mp4</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/WillieMaeBlues.mp4</streamUrl>
</media>
<synopsis>Willie Mae Blues.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidPayDay214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidPayDay290.png">
<title>Mississippi John Hurt</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/PayDay.mp4</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/PayDay.mp4</streamUrl>
</media>
<synopsis>PayDay Blues.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/SDvidStonePony214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidStonePony290.png">
<title>Kevin Duggan</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/StonePony.mp4</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/StonePony.mp4</streamUrl>
</media>
<synopsis>Stone Pony is Gone Blues.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidFrankie214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidFrankie290.png">
<title>Mississippi John Hurt</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/StonePony.mp4</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/StonePony.mp4</streamUrl>
</media>
<synopsis>Frankie and Johnny.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidCoffeeBlues214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidCoffeeBlues290.png">
<title>John Hurt</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/CoffeeBlues.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/CoffeeBlues.m4v</streamUrl>
</media>
<synopsis>Coffee Blues.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidCCRider214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidCCRider290.png">
<title>Mississippi John Hurt</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/CCRyderB.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/CCRyderB.m4v</streamUrl>
</media>
<synopsis>CC Ryder.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDBigRoad214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidBigRoad290.png">
<title>Tommy Johnson</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/BigRoad.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/BigRoad.m4v</streamUrl>
</media>
<synopsis>Big Road Blues.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidCannedHeat214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidCannedHeat290.png">
<title>Tommy Johnson</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/CannedHeat.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/CannedHeat.m4v</streamUrl>
</media>
<synopsis>Canned Heat Blues.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidSatisfied214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidSatisfied290.png">
<title>Muddy Waters</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/MuddyWater.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/MuddyWater.m4v</streamUrl>
</media>
<synopsis>Cant Be Satisfied.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidKitchen214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidKitchen290.png">
<title>Robert Johnson</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/Kitchen.mm4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640HD/Kitchen.m4v</streamUrl>
</media>
<synopsis>Come on in my kitchen.</synopsis>
<genres>Clip</genres>
</item>
<item sdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/SDvidSkipJames214.png" hdImg="http://ds1g3wm5vt4h6.cloudfront.net/images/HDvidSkipJames290.png">
<title>Skip James</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/SpecialRider.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://ds1g3wm5vt4h6.cloudfront.net/640SD/SpecialRider.m4v</streamUrl>
</media>
<synopsis>Special Rider Blues.</synopsis>
<genres>Clip</genres>
</item>
</feed>
0 Kudos
kelvis2000
Level 7

Re: Bright script error from Eclipse? Image and Video proble

"belltown" wrote:
The image urls for your SD images are wrong (or they don't exist on Cloudfront).

Thank You Belltown,
I know some of the URLS were going to DreamObjects which I
left for Amazon Cloud. I had not uploaded the videos so I did not change the URL's
for the video on a few Videos. I used the same XML file here
that I was using for DreamObjects rather than start completely over.
I still have some videos to upload but all the images, some videos and all the XML
are on the Amazon S3 server.
Thanks for your help,
The worst part of this process is I was
expecting problems,...

Kevin
0 Kudos
kelvis2000
Level 7

Re: Bright script error from Eclipse? Image and Video proble

"Komag" wrote:
just checking - have you set the files to "public" within the S3 bucket?


I have all permissions for myself & View Permissions for everyone

Grantee: abluesman xList xUpload/Delete xView Permissions xEdit Permissionsx
Grantee: everyone List Upload/Delete xView Permissions Edit Permissions

All the place holders are there but no images and no videos,
on video works and it is the video "NewManLiving"
uploaded to his server and gave me the URL.
The problem has to be with the way I set up S3/Cloudfront
at Amazon. I have no idea what I did wrong here
it is probably one setting. Do the S3 buckets have keys and secret keys?
With Dreamhost I remember using them but not in Amazon.
I also have the Bucket set to "Do Not Enable Website Hosting"
Also I have Viewer and Protocol policy set to HTTP and HTTPS, does that make a difference?

Thanks
Kevin
0 Kudos
NewManLiving
Level 7

Re: Bright script error from Eclipse? Image and Video proble

First use your s3 url to see if all permissions were set correctly. Once you can download using the url of your s3 bucket then you can work on your cloud front. Sonm of your cloud png files do load in a browser. See how the permissions are set. On the ones that download. You can set permissions on folders as well. Do yourself a favor and get the free s3 browser
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
kelvis2000
Level 7

Re: Bright script error from Eclipse? Image and Video proble

"NewManLiving" wrote:
First use your s3 url to see if all permissions were set correctly. Once you can download using the url of your s3 bucket then you can work on your cloud front. Sonm of your cloud png files do load in a browser. See how the permissions are set. On the ones that download. You can set permissions on folders as well. Do yourself a favor and get the free s3 browser


Thanks! I finally have it working, it must have been permissions. I am on a Mac and just downloaded and opened a S3 browser.

http://www.macupdate.com/app/mac/25028/s3-browser

Thanks for your help.
Kevin
0 Kudos
cbrazil
Level 7

Re: Bright script error from Eclipse? Image and Video proble

Hi everybody!....

I have the exact same problem, im working on eclipse and exporting all my files to roku channel just fine. But since a couple of days, i can't see the Roku template either
------ Running dev 'test' main ------
created feed connection for http://rokudev.roku.com/rokudev/examples/videoplayer/xml/categories.xml
url: http://rokudev.roku.com/rokudev/examples/videoplayer/xml/categories.xml
Took: 151ms
Parse Took: 3ms
begin category node parsing
number of categories: 4
ParseCategoryNode: banner_ad
ParseCategoryNode skip: banner_ad
parse returned no child node
ParseCategoryNode: category
category: Technology | TED Talks on Technology
categoryLeaf: The Mind []
ParseCategoryNode: categoryLeaf
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(174)
categoryLeaf: Global Issues []
ParseCategoryNode: categoryLeaf
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(174)
added new child node
ParseCategoryNode: category
category: Entertainment | TED Talks on Entertainment
categoryLeaf: Music []
ParseCategoryNode: categoryLeaf
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(174)
categoryLeaf: Inspiration []
ParseCategoryNode: categoryLeaf
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(174)
added new child node
ParseCategoryNode: category
category: Design | TED Talks on Design
categoryLeaf: Creativity []
ParseCategoryNode: categoryLeaf
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(174)
categoryLeaf: Design []
ParseCategoryNode: categoryLeaf
BRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/categoryFeed.brs(174)
added new child node
Traversing: 47ms


AND THEN the error on line 176

for each e in xml.GetBody()
name = e.GetName()
if name = "category" then
print "category: " + e@title + " [" + e@description + "]"
kid = ParseCategoryNode(e)
kid.Title = e@title
kid.Description = e@Description
kid.ShortDescriptionLine1 = xml@Description
kid.SDPosterURL = xml@sd_img
kid.HDPosterURL = xml@hd_img
kid.Feed = e@feed
o.AddKid(kid)
else if name = "categoryLeaf" then
print "categoryLeaf: " + e@title + " [" + e@description + "]"
kid = ParseCategoryNode(e)
kid.Title = e@title
kid.Description = e@Description
kid.Feed = e@feed
o.AddKid(kid)
else if name = "specialCategory" then
print "specialCategory: " + e@title + " [" + e@description + "]"
kid = ParseCategoryNode(e)
kid.Title = e@title
kid.Description = e@Description
kid.sd_img = e@sd_img
kid.hd_img = e@hd_img
kid.Feed = e@feed
o.AddKid(kid)
endif
next

return o
End Function


My category feed:
<?xml version="1.0" encoding="UTF-8"?>
<categories>
<category
title="LIVE - Em breve"
description="CBTV ao vivo"
sd_img="http://cbtvonline.com/rokucat/Live_SD.png"
hd_img="http://cbtvonline.com/rokucat/Live_HD.png"
feed="http://cbtvonline.com/rokucat/xml/category-1.xml"
/>
<category
title="VIDEOS"
description="CBTV Videos"
sd_img="http://cbtvonline.com/rokucat/Videos_SD.png"
hd_img="http://cbtvonline.com/rokucat/Videos_HD.png"
feed="http://cbtvonline.com/rokucat/xml/category-2.xml"
/>


</categories>


My first category:
<?xml version="1.0" encoding="UTF-8"?>
<feed>
<item sdImg="http://cbtvonline.com/rokucat/Live_SD.png" hdImg="http://cbtvonline.com/rokucat/Live_HD.png">
<title>CBTV - Em breve</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://cbtvonline.com/rokucat/videos/teaser.mp4</streamUrl>
</media>

<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://cbtvonline.com/rokucat/videos/teaser.mp4</streamUrl>
</media>
<synopsis>Seu canal brasilero</synopsis>
<genres>Clip</genres>
</item>

</feed>


Like i said it was working just fine and then this happened and i have no idea what it could be!!!! :roll:

THANKS! Smiley Happy
0 Kudos