newchannel
14 years agoRoku Guru
(3) Red TED Screens
I want to temporarily host my images in the package to replace the (3) Red TED images, the text categories and the text beneath the (3) Red TED images.
I made several attempts but the same Red TED's and text and categories have not changed on my tv screen.
I currently have a folder titled:
C:\Documents and Settings\Owner\Desktop\Roku\roku_sdk_v29\examples\source\videoplayer\images
and in this folder are the images that are main channel images, side images that are showing my own logo on the tv screen.
Can I place my replacement images for the (3) Red TED's into this same folder? If so, where on the category.brs do I need to reference these images? I see the connUrlPrefix but not sure how to re-write it to reference the folder with my images.
To change the category titles and text beneath the (3) Red TEDS, I edited them in the folder titled:
C:\Documents and Settings\Owner\Desktop\Roku\roku_sdk_v29\examples\source\videoplayer\xml
but they have not changed on the tv screen most likely because I have not edited the categoryfeed.brs
In the folder :
C:\Documents and Settings\Owner\Desktop\Roku\roku_sdk_v29\examples\source\videoplayer\source
for the categoryFeed.brs I see this original information as:
InitCategoryFeedConnection() As Object
conn = CreateObject("roAssociativeArray")
conn.UrlPrefix = "http://rokudev.roku.com/rokudev/examples/videoplayer/xml"
conn.UrlCategoryFeed = conn.UrlPrefix + "/categories.xml"
conn.Timer = CreateObject("roTimespan")
conn.LoadCategoryFeed = load_category_feed
conn.GetCategoryNames = get_category_names
print "created feed connection for " + conn.UrlCategoryFeed
return conn
End Function
How do I write the url to point to the images and what else have I left out or my not have correct in order to change the (3) Red TEDS?
Thank you in advance, again!
I made several attempts but the same Red TED's and text and categories have not changed on my tv screen.
I currently have a folder titled:
C:\Documents and Settings\Owner\Desktop\Roku\roku_sdk_v29\examples\source\videoplayer\images
and in this folder are the images that are main channel images, side images that are showing my own logo on the tv screen.
Can I place my replacement images for the (3) Red TED's into this same folder? If so, where on the category.brs do I need to reference these images? I see the connUrlPrefix but not sure how to re-write it to reference the folder with my images.
To change the category titles and text beneath the (3) Red TEDS, I edited them in the folder titled:
C:\Documents and Settings\Owner\Desktop\Roku\roku_sdk_v29\examples\source\videoplayer\xml
but they have not changed on the tv screen most likely because I have not edited the categoryfeed.brs
In the folder :
C:\Documents and Settings\Owner\Desktop\Roku\roku_sdk_v29\examples\source\videoplayer\source
for the categoryFeed.brs I see this original information as:
InitCategoryFeedConnection() As Object
conn = CreateObject("roAssociativeArray")
conn.UrlPrefix = "http://rokudev.roku.com/rokudev/examples/videoplayer/xml"
conn.UrlCategoryFeed = conn.UrlPrefix + "/categories.xml"
conn.Timer = CreateObject("roTimespan")
conn.LoadCategoryFeed = load_category_feed
conn.GetCategoryNames = get_category_names
print "created feed connection for " + conn.UrlCategoryFeed
return conn
End Function
How do I write the url to point to the images and what else have I left out or my not have correct in order to change the (3) Red TEDS?
Thank you in advance, again!