The Kodi Watcher enables you to enable and disable the screencapture depending on Kodi state. This is not limited to the same machine, you could observe also a Kodi on any other device at your network.
HINT 1: In any case you need to enable the remote control for Kodi. Please checkout Wiki for instructions. LINK HINT 2: If you just use a USB-Grabber you could enable the Kodi Watch for this separately at the USB-Grabber page.