Your Digital Media Has Never Looked So Good

 
jeswin
Topic Author
Posts: 24
Joined: Wed Dec 07, 2016 9:30 am

Install Query is not working

Wed Sep 06, 2017 9:01 pm

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?
 
renojim
** Valued Community Member **
Posts: 3139
Joined: Mon Feb 15, 2010 1:35 pm

Re: Install Query is not working

Thu Sep 07, 2017 12:01 am

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

Who is online

Users browsing this forum: nmaves and 1 guest