jeswin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2017
09:01 PM
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,
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?
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?
1 REPLY 1
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2017
12:01 AM
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
-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.
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.