proper exit of Kodi with UPS shutdown
#1
Hi all,
I'm running Kodi 17.3 on a Mac mini running macOS Sierra 10.12.5. I have an APC UPS connected and configured to the shutdown the Mac mini when on battery after 5 min.
Now my question is: When the Mac OS is shutting down the computer, will it correctly exit Kodi in a proper way?

Before I had no UPS and I had a power drop while watching a movie on Kodi, after the power went back on, my database was corrupted, due to this uncontrolled power down.

Or do I need some kind of scripting with json-rpc (Application.Quit) before shutting down the computer, so Kodi exits correctly?

Hope anybody finds me an answer.

Txs,

Jeroen
Reply
#2
Moved to Mac OS X support
Reply
#3
Thats not really related to Kodi imo. The behavior of an USV shutdown is unknown to me. It depends on the USV/USV Driver i guess.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
Does osx have kodi-send? If so get your ups software to run
Code:
kodi-send --action="Quit"
before shutting down.
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.)
Reply
#5
No it hasn't (might be compilable but it's not distributed)
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
proper exit of Kodi with UPS shutdown0