Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
newchannel
Roku Guru

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 4
joetesta
Roku Guru

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 🙂
aspiring
0 Kudos
EnTerr
Roku Guru

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
RokuJoel
Binge Watcher

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
Roku Guru

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