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: 
jeswin
Visitor

Install Query is not working

Hi,

I am trying to install a channel if the channel is not available in the device,
I am using the following code,

ip = CreateObject("roDeviceInfo").GetIPAddrs()
url="http://"+ip["eth1"]+":8060/install/"+m.top.ChannelCode
obj = CreateObject("roUrlTransfer")
obj.SetPort(CreateObject("roMessagePort"))
obj.SetUrl(url)
obj.AsyncPostFromString("")


But using the same code if i try with launch instead of install it works fine it launches the channel correctly.
This code works in the beginning i don't know what happend now. Am i missing anything?
0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: Install Query is not working

I've never tried to install a channel like this, but are you trying to re-install the exact same code? I don't think will work. At least if you try to side-load the same code, nothing happens. Perhaps that's what's happening here.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.