Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jeswin
Level 7

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