Display a popup message via HTTP Url - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Display a popup message via HTTP Url (/showthread.php?tid=304881) |
Display a popup message via HTTP Url - chrisonline1205 - 2017-01-24 Is it possible to send KODI a message who is shown as a popup via a HTTP URL from another PC? I have tried "http://kodi.wiki/view/JSON-RPC_API/#JSONRPC.NotifyAll" and it works, but I don't see a Popup on the screen. RE: Display a popup message via HTTP Url - chrisonline1205 - 2017-01-24 Found it by myself: jsonrpc?request={"jsonrpc": "2.0", "method": "GUI.ShowNotification", "params": {"title": "Test", "message": "TestMessage"}, "id": 1} RE: Display a popup message via HTTP Url - Spiderfish - 2018-09-05 Could you share the the code please because I am looking for something like this RE: Display a popup message via HTTP Url - chrisonline1205 - 2018-09-05 The code is shown in my post before. Or what do you exactly mean? RE: Display a popup message via HTTP Url - Spiderfish - 2018-09-05 I did this from libreELEC ssh : wget --header="Content-Type: application/json" --post-data="{\"jsonrpc\":\"2.0\",\"method\":\"GUI.ShowNotification\",\"params\":{\"title\":\"Title Goes Here\",\"message\":\"Message Goes Here\"},\"id\":1}" http://kodi:[email protected]:8080/jsonrpc and I can get the message on my libreelec screen. I want to put it under <onclick> function how to do it? Thanks |