2011-10-10, 17:36
Hello,
I am writing a torrent client that can notify XBMC when a download has started/finished.
I was hoping to do this via JSON RPC. Unfortunately I cannot find the appropriate method to call.
A list of methods is described at the following wiki page:
http://wiki.xbmc.org/index.php?title=JSO...ifications
at the moment I am calling an HTTP GET with the following URL format:
"http://{0}:{1}/xbmcCmds/xbmcHttp?command=ExecBuiltIn(Notification({2},{3},{4})
where {2},{3}and {4} are subject, messagebody and timeout respectively.
This works fine but I would be a lot happier using JSON RPC.
Am I missing something?
Vae
I am writing a torrent client that can notify XBMC when a download has started/finished.
I was hoping to do this via JSON RPC. Unfortunately I cannot find the appropriate method to call.
A list of methods is described at the following wiki page:
http://wiki.xbmc.org/index.php?title=JSO...ifications
at the moment I am calling an HTTP GET with the following URL format:
"http://{0}:{1}/xbmcCmds/xbmcHttp?command=ExecBuiltIn(Notification({2},{3},{4})
where {2},{3}and {4} are subject, messagebody and timeout respectively.
This works fine but I would be a lot happier using JSON RPC.
Am I missing something?
Vae