cant start retropie from osmc kodi interface
-
Hi guys,
I have an issue that I cannot start retropie from kodi that runs in osmc no matter what I do. I have installed retropie according the intructions for osmc. However when I start Retrosmc Launcher my Kodi just restart, same happens if I do System.Excec("/home/osmc/RetroPie/scripts/retropie.sh") and also RunScript("/home/osmc/retropie.py") where I launch "/home/osmc/RetroPie/scripts/retropie.sh" with Popen.
Everything works flawlessly if I start "/home/osmc/RetroPie/scripts/retropie.sh" through ssh session.
What am I doing wrong, I am pulling my hair already.
Thanks in advance!
-
Just as I posted this I managed to figure it out. It seams that when kodi in osmc starts a script it starts it in root directory where it has no privilages. Adding "cd /home/osmc" at the beginning of "/home/osmc/RetroPie/scripts/retropie.sh" solved the problem!
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.