2012-02-13, 05:33
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.
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.