Forum Discussion
newchannelyes, in part. There is still more to do after adjusting line 100, but this is needed as well.
If you have a category names "Snakes" then you will need:
Line 100 (RootHandler):
if item = "snakes" ...
In your JSON:
...
"Snakes": [
{
"id" ....,
"title" "Snakes"
...
}
],
...
In DetailsViewlogic.brs you need to adjust line 24 to include 'snakes':
...
sub OnDetailsContentSet(event as Object)
btnsContent = CreateObject("roSGNode", "ContentNode")
if event.GetData().TITLE = "series"
btnsContent.Update({ children: [{ title: "Episodes", id: "episodes" }] })
elseif event.GetData().TITLE = "Snakes"
btnsContent.Update({ children: [{ title: "Episodes", id: "episodes" }] })
...
Thank you again.
I was able to take my live stream and make it a category since there is the option of "liveFeeds" listed already in the RootHandler.
Next I will attempt to add my additional categories.
Plus, I need to change the order. The channel opens with series, shortform, movies and live and I need to look further to see how to move these around so that the live is first.
- newchannel2 years agoRoku Guru
Got the Live TV category working. But, how do you move the categories around? Let's say for example I want Live TV to be the first row and Movies to be the second row. What controls the order of the rows?
Thank you.
- newchannel2 years agoRoku Guru
The 500 kb feed limit.... I'm now wondering if this will be a problem. If yes, then I read Roku SDK needs to be used and not the rdp to scenegraph example. Guess I'll look for an sdk example to review.
Also, "series" shows up first and not sure how to move it further down. I can make new categories but can't put them in the right order I want.
Can anyone provide info on these 2 thoughts?
- ferdiworks2 years agoRoku Guru
Try changing the dates on the items instead of trying to move them in the feed!