Send notification to GUI via JsonRPC
#1
Question 
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
Reply
#2
Is it implemented to latest jsonrpc?
Reply
#3
JSON-RPC doesn't support this yet. It will be added after Eden has been released. Then you'll be able to call GUI.ShowNotification().
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
Hmm why not for Eden? I know you are feature freezed for Eden now. It's very useful and many add-on developer using notification very often. Consider please. Sometimes some exceptions feels very good.
Reply

Logout Mark Read Team Forum Stats Members Help
Send notification to GUI via JsonRPC0