Kodi Community Forum

Full Version: AllowIdleShutdown or InhibitIdleShutdown(true) resets idle count?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wrote a bash script, which monitors logins via ssh or samba and inhibits xbmc to shutdown the machine using xbmc-send with action AllowIdleShutdown/InhibitIdleShutdown in this case. The script was executed every 5min via cron.

Problem: Even if I set the AllowIdleShutdown or InhibitIdleShutdown(false) the machine NEVER was shut down.

I THINK that the problem is that my script is "stateless": It sets AllowIdleShutdown or InhibitIdleShutdown(false) every 5min independent if it was already set before.

May that be the case? Huh

Best regards - Henning