Posts: 11
Joined: Mar 2017
Reputation:
0
I know this can be set through the skin but it defaults to FALSE on boot (at least on my pi3). Where do I put the 'InhibitIdleShutdown(true)' command where it will execute on kodi startup? Just a hint to get started?
Wanna
Posts: 7,648
Joined: Jun 2011
Reputation:
287
just disable auto/idle shutdown in settings?
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
How are you exiting Kodi? Most settings are written on exit, but if you just pull the plug or kill kodi from the commandline, the settings won't be saved.
One sure fire way to get them saved seems to be to change skins, then change back again.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 11
Joined: Mar 2017
Reputation:
0
I'm not exiting kodi, it's exiting me - hence my question. In my experience changing skins resets some skin features to the default (e.g. watch status) but I tried your suggestion anyway. No luck, when I inhibit shutdown, change skins then shutdown and restart idle shutdown is NOT inhibited. I think what I'm looking for is a file to insert code that will execute on boot like a init or rc file in linux. Anyone know if such a file exists? The kodi binary seems pretty monolithic with few support files.
Posts: 688
Joined: Feb 2015
Reputation:
21
Kodi does not exit or shutdown by itself when on idle, only if you set it to do so. Are you sure that you did not changed that option in Settings -> System Settings -> Power Saving -> Shutdown function timer ?