Kodi Community Forum

Full Version: JSON notification -> XBMC events
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.