XBMC Community Forum
Remote Control4 Driver/HTTP for XBMC - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: Remote Control4 Driver/HTTP for XBMC (/showthread.php?tid=127773)



Remote Control4 Driver/HTTP for XBMC - kedda - 2012-04-04 20:24

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!


RE: Remote Control4 Driver/HTTP for XBMC - kedda - 2012-04-09 16:53

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


RE: Remote Control4 Driver/HTTP for XBMC - Montellese - 2012-04-12 11:44

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.


RE: Remote Control4 Driver/HTTP for XBMC - zariaman - 2013-09-25 04:47

(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?