------ 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
<?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>
<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>
'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
<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>
<?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>
"belltown" wrote:
The image urls for your SD images are wrong (or they don't exist on Cloudfront).
"Komag" wrote:
just checking - have you set the files to "public" within the S3 bucket?
"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
------ 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
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
<?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>
<?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>