I need an easy way to exit Kodi automatically while switching off the TV. Family members switch off the TV with the remote but forget to exit Kodi. This eats up my daily GB allowance whic would normally be sufficient (but not for a full night fetching data!). Ideally the shutoff button of my TV should exit the Kodi on the Raspberry Pi app. But in the Flirc setup I can't find a way to map that (only the arrow, select etc as in the minimalist controller). My remote is a Samsung BN59-00684B.
I though of other options, such as setting the sleep timer in Kodi or using a standby killer (disconnects power from TV and RP upon standby, this requires reboot of RP at start), but tehes are not so elegant. Is there a profile of my Samsung remote that I can load in the Flirc and whose buttons I can assign dedicated Kodi commands?