Control XBMC via HTML
#13
Glad you got it working, although I'm still a little confused on how this is any different than the functionality (and purpose) behind what maraschino already does. Everyone has there own way of doing things I guess.

One piece of advice though, I wouldn't use this command:

Code:
http://192.168.0.102:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=XBMC.UpdateLibrary(video)

the XBMC HTTP API has been deprecated since Dharma and will probably be removed by Frodo. The only reason its around right now is so developers have time to transition to the JSON API instead. You can do the same command with JSON, only it would look like this:

Code:
http://192.168.0.102:8080/jsonrpc

//in the data section of the http post request (using jquery this would be simple)

{ "jsonrpc" : "2.0", "method" : "VideoLibrary.Scan", "params":{}, "id": 1}

Your URL will work for the near future but is slated to be removed at some point.
Reply


Messages In This Thread
Control XBMC via HTML - by hernandito - 2012-05-08, 17:01
RE: Control XBMC via HTML - by whitebelly - 2012-05-08, 18:54
RE: Control XBMC via HTML - by hernandito - 2012-05-08, 19:39
RE: Control XBMC via HTML - by jhsrennie - 2012-05-08, 19:48
RE: Control XBMC via HTML - by hernandito - 2012-05-08, 20:13
RE: Control XBMC via HTML - by whitebelly - 2012-05-08, 21:16
RE: Control XBMC via HTML - by hernandito - 2012-05-08, 21:51
RE: Control XBMC via HTML - by whitebelly - 2012-05-08, 22:17
RE: Control XBMC via HTML - by Riball - 2012-05-09, 00:00
RE: Control XBMC via HTML - by hernandito - 2012-05-09, 02:27
Re: Control XBMC via HTML - by robweber - 2012-05-09, 00:20
RE: Control XBMC via HTML - by whitebelly - 2012-05-09, 01:44
RE: Control XBMC via HTML - by robweber - 2012-05-09, 19:21
RE: Control XBMC via HTML - by hernandito - 2012-05-11, 18:08
RE: Control XBMC via HTML - by robweber - 2012-05-12, 03:08
Logout Mark Read Team Forum Stats Members Help
Control XBMC via HTML0