Boot to kodi.
-
It doesn't reboot. The boot to Kodi option, boots to Kodi, and when you exit it, it starts Emulation Station. What is happening in your system is that Kodi for some unknown reason crashes and then starts ES, whithout rebooting. You have to give more info about your setup ( read the first post) and provide your Kodi log.
-
After some research, I found this strange.
The autostart is called by the profile if the user is pi on tty1, and I don't see a reason to ignore the first line (kodi).
2 questions :- is this really a reboot after crash ? : boot splashscreen, kernel booting, uptime, ...
- is it possible that kodi silently crashes again after the reboot, normally returning to ES ?
Sorry, I ask more question than I resolve :(
-
Read my reply again, my english is not very good but I think is understandable ;)
-
@Rascas I was replying to the op, but you replied before me (I upvoted your post BTW)
My questions were to verify the very same the point you mention :) -
You're right.
Maybe it is not a reboot because there is not splash/loading screen (the one with raspberries) when kodi crashes... Only the ES loading screen.
It happens too in another raspberry pi with libreelec... But in this raspberry kodi boots again (of course, there is not any another OS to boot XD).
So, my question is... Is there any option to direct boot to kodi and ONLY launch ES from kodi's program option (like an addon) and not from exit?
Thanks in advance guys.
-
@josete2k I am not familiar with Libreelec but I bet that it also doesn't reboot when Kodi crashes, it just restarts Kodi, not the whole system.
You have two options, at least:- Try to find why Kodi crashes, because it is not normal. It may crash in any system, speccially with problematic 3rd party addons. So my advice is to try to find why it crashes, if you don't know we may help if you provide you Kodi log.
- Edit /opt/retropie/configs/all/autostart.sh and change the first line:
kodi #auto
to
kodi-standalone #auto
With this, if Kodi crashes, it will be restarted, before ES starts. Just like Libre/OpenELEC. ES will only start, when there is a "clean Kodi exit".
The problem with this, and why it is not default in RetroPie is because, most of the times when you do "Exit" in Kodi on the Raspberry Pi, it isn't a "clean exit", and it restarts again, which becomes frustating if you want to go to Emulation Station.@Sano I am sorry, I was on the phone, didn't notice it was another person replying.
-
Thanks, I'll try it tomorrow. When Kodi crashes is on start... but as you say it seems a restart, not a reboot.
As I said, I use the CEC option and many times I only have my remote TV control near...
The best way, so, should be an addon to "clean exit & lanuch ES"...
-
@josete2k No. There isn't an addon for a "clean exit and launch ES" because it is a internal Kodi problem, a very old one on the Pi at least. The best way is to identify which addon or whatever is causing your problem.
-
First time I got a crash was in a clean installation just editting the background options in confluence... strange isn't it?
Well I've changed the line in autostart.sh...
from
#kodi
to
#kodi-standalone
And installed this addon I made myself:
https://mega.nz/#!2EpRXYZR!fNpGj06JZVGv-frspfpCO0-h38RkKF5vDlq_jZdMI_4
I got the idea from
https://www.raspberrypi.org/forums/viewtopic.php?p=965712#p965712
-
@josete2k If Kodi crashes, with default settings, and doing simple things like that, your problem is likely a hardware one. Make sure you have a good SD card and a good power supply, preferebly a one piece one, whitout a separate usb cable.
Making a python script to kill/restart Kodi isn't going to do any better.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.