Req Add -Stop Playback when tv is turned off- option to CEC options - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: Req Add -Stop Playback when tv is turned off- option to CEC options (/showthread.php?tid=220017) |
Add -Stop Playback when tv is turned off- option to CEC options - gokl - 2015-03-01 Hi, id like to add the possibility to stop playback when i turn off my TV where kodi is to connected to via hdmi/cec. Im watching live tv with tvheadend with kodi and when i turn of my TV i want xbmc to stop playing my live tv. Currently its possible to select between three options for "standby_pc_on_tv_standby": Shutdown, standby and ignore. Id like to add the option to "Stop playback" here. Or is there maybe a better way/place for this? I looked a bit at the code in PeripheralCecAdapter and found that i would need add new options to libCECs libcec_configuration. There are already the options bShutdownOnStandby and bPowerOffOnStandby used for the standby_pc_on_tv_standby option. Although im not sure why there is client options in libCEC. What am i missing here? gokl |