Forum

Full Version: XBMC commands ? http,JSON,etc...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

Is it possible to control xbian with http commands?

Thank you!
means what? maybe you can be more specific what is it that you trying to achieve
It's possible to control XBMC with a browser if thats what you are asking.

<address of RPi>:8080
Hello

No, I mean http commands:
http:<IP>:<Port>/command?value=Volume:80

for example.

Thanks
(28th Aug, 2013 02:29 AM)Fohnbit Wrote: [ -> ]Hello

No, I mean http commands:
http:<IP>:<Port>/command?value=Volume:80

for example.

Thanks

Your looking for the JSON-RPC interface.

http://wiki.xbmc.org/?title=JSON-RPC_API
http:// wiki.xbmc.org/index.php?title=JSON-RPC_API/v6
Thank you.
Json I already found, but have you an example?

I dont want use Json directly!
again.what is it you want to do? I mean maybe there is other way than http to do the things you want.
Just be more specific what you want XBMC to do?
An example using http to set volume:

http://xbmc@yourpi:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Application.SetVolume","params":{"volume":100},"id": 1}}

Simply replace "yourpi" with your raspberry pi ip address or hostname.
Hello

Which command is for starting a saved audio playlist?

Thanks
(28th Aug, 2013 07:28 PM)Fohnbit Wrote: [ -> ]Hello

Which command is for starting a saved audio playlist?

Thanks

this is all related to your previous thread where you should keep answering and posting as without you move nowhere. No point to make new threads for every question you ask.
So I have merged your threads
-thx-
(28th Aug, 2013 07:28 PM)Fohnbit Wrote: [ -> ]Hello

Which command is for starting a saved audio playlist?

Thanks
Welcome to the our forum.
Please note there is very much info about the xbmc json interface on google.
I've made myself an webinterface in the past for he xbmc4xbox.

For your questtion, i googled, and it was the first hit
http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v4#Player.Open
Reference URL's