I have one problem. Because Im using MySQL. I need to delay the first initial start up so my WiFi can connect to the server. If not, I have to "Force Stop" Kodi in settings and relaunch it and from there everything is fine until I do a fresh start/reboot. Meaning, it loads Kodi without the "Advancesettings.xml" on first launch.
I've tested this on Llama with a delay setting for 6/15 sec. on startup and it works prefect but I like yours better.
Is there anyway I can add a 6/15 sec. delay on startup?