2011-06-28, 01:25
I have recently started using XBMC and am ready to start some addon development. I have developed plugins for other media center applications, but never in python. The first plugin I want to develop is fairy simple. I want to send a command to a separate application whenever a video begins playing. The actually communication can be a variety of methods (command line, HTTP, web service, etc) and I should be able to figure that part out. The part where I am not so sure about is with how to trigger this communication when a video starts playing. Are there any examples out there that show how to start a script based on the activity of xbmc (video/music playing/stopped/paused)? Any help pointing me in the right direction would be great.