Control XBMC via HTML
#14
(2012-05-09, 19:21)robweber Wrote: 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.

Thank you Rob,

Sorry I missed your post earlier... I would like to take your advice but could I impose on you to clarify how I would call this within my html? I am not very familiar with scripting or any of the more advanced stuff...Blush

I was hoping I could implement certain things like changing the Skin (looks like it's not doable), and a super quick way of sending update video library and update music library commands. They are there in Maraschino, but I need to pick a few things in the library to get to them. I wanted them front and center as part of my work flow.

Thanks again,

Hernando
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