JSON notification -> XBMC events - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: JSON notification -> XBMC events (/showthread.php?tid=122740) |
JSON notification -> XBMC events - ndeshmukh - 2012-02-13 Hi, For some things like screensaver activation/deactivation, there are JSON notifications. I can read them on telnet to localhost:9090. I would like to convert them into events in Eventghost. What would be the best way? Catch JSON notifications in a service addon in XBMC and generate equivalent events? This way one can automate events for all those things which only have json notifications. Or should I write python script for Eventghost to catch them? Is one easier than the other? Does anybody have any existing code? Thanks. |