Remote Control4 Driver/HTTP for XBMC
#1
All,

I wrote a small driver for control4 that worked with the HTTP protocol to control XBMC.
I need help with the update as a result of the new HTTP API.

Does this update work?

Old Version:
For example, http://localhost:8080/xbmcCmds/xbmcHttp?command=Pause()

New Version:
http://localhost:8080/jsonrpc/VideoPlayer.Pause

HELP!

Reply
#2
I know I cannot be the first to ask this question..

is it possible to execute the command liek this:

http://localhost:8080/jsonrpc/VideoPlayer.Pause

Reply
#3
No it is not. xbmc's JSON-RPC implementation is purely POST based when using HTTP because passing arbitrary JSON objects as GET parameters (which is needed for certain JSON-RPC method calls) is a PITA. Furthermore with the new JSON-RPC API version 4 which was released with Eden (XBMC 11.0) there is no method named VidePlayer.Pause anymore.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#4
(2012-04-04, 20:24)kedda Wrote: All,

I wrote a small driver for control4 that worked with the HTTP protocol to control XBMC.
I need help with the update as a result of the new HTTP API.

Does this update work?

Old Version:
For example, http://localhost:8080/xbmcCmds/xbmcHttp?command=Pause()

New Version:
http://localhost:8080/jsonrpc/VideoPlayer.Pause

HELP!

Do you have that old driver; I am looking to use a media player driver through http, I am failing at developing drivers. Can I get a copy of your old one?
Reply

Logout Mark Read Team Forum Stats Members Help
Remote Control4 Driver/HTTP for XBMC0