added script to control light by xbmc polling xbmc playing or paused state (dirty but working)