item=CreateObject("roAssociativeArray")
item.Title="Search"
item.SDPosterURL="http://serverurl.com/searchsd.jpg"
item.HDPosterURL="http://serverurl.com/searchhd.jpg"
categories.Push(item) 'add this manually specified item into current content list
screen.SetContentList(0,categories) 'set the content of category 0 for the top line
If msg.isListItemSelected()
If msg.GetIndex()=0 'if row 0
If categories[msg.GetData()].Title="Search" then
displaysearch()
else
playvideo(categories[msg.GetData()])
end if
else
'standard code begins here
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
Thanks for your patience — we’re excited to share what’s next!