Forum Discussion

KDOV's avatar
KDOV
Visitor
12 years ago

Can I Link to Another Channel?

Is it possible to link from inside my channel, to another channel in the channel store?
For example - I have two channels (each with different content).. and they are companions are each other. Is there a way to be able to link from one, to the companion channel in the channel store??!
Thanks.

5 Replies

  • Thank you. This worked well.. I am able to link to the channel store (and my companion channel).

    I have a follow up question... How do I do the thing that the PBS app does - and check first if the channel I want to link to is installed or not?
    I'm having a hard time working out how to integrate query/apps into my code (if indeed that is what I need to do to be able to determine this).
  • destruk's avatar
    destruk
    Streaming Star
    It might not be the best way, but it's certainly easy to add a roku registry key when the channel is first loaded - if all your channels share the same dev key then you can check if that specific registry value exists.
  • "destruk" wrote:
    It might not be the best way, but it's certainly easy to add a roku registry key when the channel is first loaded - if all your channels share the same dev key then you can check if that specific registry value exists.

    The problem with that is that the registry key wouldn't be deleted if they remove the channel, so it would only tell you if it has been installed at some point.

    The best method would be to parse the XML returned from the query/apps ECP command, and see if the channel is listed.