Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Exiting Kodi to Emulationstation › Reply To: Exiting Kodi to Emulationstation
[quote=93959]Hey Guys,
I think/know that this Problem occures to quite a few people : After you exit Kodi you come to a blackscreen
I used the “normal” Script to start kodi via Emulationstation:
#!/bin/bash
kodi-standalone
After some Googleing a found the following script which should solve the Issue.
Sadly doesnt work and im wondering if anyone can help me out / figure out what (i added the Emulationstation part (last 2 lines) myself but im far too bad in Linux / Python to figure out where i go wrong.
LOG_FILE=$HOME/.kodi/temp/kodi.log
rm $LOG_FILE 2> /dev/null
/usr/lib/kodi/kodi.bin --standalone &
while [[ ! -f $LOG_FILE ]] ; do
sleep 1s
done
while read line ; do
if [[ ${line} =~ "application stopped" ]] ; then
echo "Killing kodi"
break
fi
done < <(tail --pid=$$ -f -n0 $LOG_FILE)
killall kodi.bin
fbset -depth 8 && fbset -depth 16
killall emulationstation
/opt/retropie/supplementary/emulationstation/emulationstation
Anybody can help me out? i think alot of Ppl would love a working script for this.
[/quote]
Yes I tried this one also, didn’t work for me either. I found this, but haven’t tried it yet.
http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=100811&hilit=black+screen+kodi
Looks like we just have to wait until the fix is added to the repository.