2012-05-08, 17:01
Hi Guys,
I have what I hope is a basic request. I am trying to create a "home" web page for my home system. I have remote XBMC machine that I would like to control remotely via this page.
I want to issue some basic commands to the XBMC machine like Update Library, Reboot, etc. What would the html code look like to do this? In my unRAID NAS I have PHP and Curl installed. My web page is hosted on the NAS. Puttying to my NAS I can type the following command pointing to the XBMC machine:
How do I execute the same thing from within a web page?
Many thanks,
H.
p.s. I know I can use the stock XBMC web interface. I am trying to do something a little more custom.
I have what I hope is a basic request. I am trying to create a "home" web page for my home system. I have remote XBMC machine that I would like to control remotely via this page.
I want to issue some basic commands to the XBMC machine like Update Library, Reboot, etc. What would the html code look like to do this? In my unRAID NAS I have PHP and Curl installed. My web page is hosted on the NAS. Puttying to my NAS I can type the following command pointing to the XBMC machine:
Code:
curl "http://192.168.0.102:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=XBMC.UpdateLibrary(video)"
How do I execute the same thing from within a web page?
Many thanks,
H.
p.s. I know I can use the stock XBMC web interface. I am trying to do something a little more custom.