Question

I am able to use curl to get apps and the apps id from my computer in Roku device. And ultimately, I am able to launch channels using curl from my local computer with e.g. curl -d '' 'http://192.x.x.x:8060/launch/33739' but what I am looking for is doing similar operation where I will have a list of channels and then I should be able to open the channels.

In external Control Guide of Roku in http://sdkdocs.roku.com/display/sdkdoc/External+Control+Guide it is said that it can be done, but it doesn't have a detailed information how this can be done. So, can someone help me find a way to do this?

Thanks in advance.

Was it helpful?

Solution

A bit twisted but don't think there is simpler way:

  • create roDeviceInfo, call GetIPAddrs() to determine IP of the box
  • create roUrlTransfer, call setURL("http://"+IP+":8060/launch/33739"), then say PostFromString()

OTHER TIPS

Nas Banov answer inspired me to write an article on dev.to regarding launching Roku Channel from within another channel. I hope my post will make it even more clear on how to do this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top