2008-09-28, 19:15
I am looking to write an Eventghost plugin for XBMC. I noticed Topfs2 wrote one a while back that uses the UDP event service to get commands but it's no longer working with the latest version of XBMC.
I am thinking of doing something a little more like the Eventghost plugin for Media Portal where it simply maps the commands to Windows messages and simply does a SendMessageTimeout() to broadcast the message to XBMC. This will allow for much simpler code being the lot of the plugin is just one big action map.
Does XBMC have listen to events this way or is the UDP service the only way?
I am thinking of doing something a little more like the Eventghost plugin for Media Portal where it simply maps the commands to Windows messages and simply does a SendMessageTimeout() to broadcast the message to XBMC. This will allow for much simpler code being the lot of the plugin is just one big action map.
Does XBMC have listen to events this way or is the UDP service the only way?