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: 
newchannel
Level 7

How to Place 1 Channel Inside of Another?

I would like to take one of my channels and place it in a category inside of another one of my channels.

Is this possible and if so where do I start?

Thank you.
http://www.victoryNOWfilmsandtv.com
0 Kudos
4 Replies
joetesta
Level 10

Re: How to Place 1 Channel Inside of Another?

I think you mean you want all the functionality of channel A to be inside channel B. If so, yes, that's totally possible. Start by reading the code and hacking away Smiley Happy
aspiring
0 Kudos
EnTerr
Level 8

Re: How to Place 1 Channel Inside of Another?

"newchannel" wrote:
I would like to take one of my channels and place it in a category inside of another one of my channels.
Is this possible and if so where do I start?

You should be able to do that using the Run() runtime function, see section 6.5 of BrSc Language Reference. Presumably that sub-channel would have to be in a different directory than /source.
0 Kudos
Roku Employee
Roku Employee

Re: How to Place 1 Channel Inside of Another?

Best is to simply rename main() to something else like "sub channel2()" and then when you want to launch the channel-within-a-channel just call channel2()

Run and Eval are buggy, use with caution.

- Joel
0 Kudos
newchannel
Level 7

Re: How to Place 1 Channel Inside of Another?

Thanks for the information on this topic! Will follow up on the suggestions.

Thank you.
http://www.victoryNOWfilmsandtv.com
0 Kudos