Automatic control of lights when watching movies in XBMC