2015-03-25, 14:44
(2015-03-24, 10:24)berkhornet Wrote: Thanks for response. On further investigation it seems that Kodi is not being closed on system suspend/started when Windows resumes from sleep, despite these settings being checked in the GUI.
To resolve this, I have to run Laucher4Kodi with Administrator rights.
Unfortunately, Windows doesn't allow Start Up programs to run with Administrator rights, so I had to replace the Launcher4Kodi shortcut that is placed in the Startup folder with shortcut to a batchfile that runs Launcher4Kodi. A bit convoluted, but seems to work.
I now have everything running fine, including the CEC adapter, with one exception. I have the settings "Start Kodi when Windows resumes from Sleep" and "Close Kodi on System Suspend" set. I also have the Kodi CEC parameter "Device to power off when stopping Kodi = TV" set. These settings all work fine except, but my TV doesn't go into standby when I press the sleep button on the remote control (it does if the "Close Kodi on System System Suspend" is not set).
I suspect that the PC s going to sleep before the CEC command to put TV into standby is issued. Would it be possible to include a short wait command (or add a delay after closing Kodi setting) to prevent this happening?
Thanks for your help.