Kodi won't open from main menu when roms are stored on network
-
@jrhessey is that ES log from after launching Kodi ? I don't see any reference - looks like a log after just booting into ES.
runcommand.log is stored in
/dev/shm/runcommand.log
after launching Kodi from ES - it will be gone after a reboot.Without a log of the error you are seeing I cannot advise further.
-
Yeah that's after trying to run Kodi, all I see is that
/home/pi/RetroPie/roms/kodi/kodi.sh permission denied error and it goes back to the kodi screen
The only thing I saw about kodi was at the beginning of the file with the invalid file system. I'll try again this evening and see if I get anything different. I may try doing an image myself on a different SD card just to test it.
-
Did you update retropie-setup script and reinstall Kodi from the retropie-setup menu ?
what is the output of
grep -A5 "<name>ports" {$HOME/.emulationstation,/etc/emulationstation}/es_systems.cfg
are you launching kodi from the ports menu ?
-
Sorry just noticed your reply
FSTAB below
proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 //192.168.10.131/RetroPie/roms /home/pi/RetroPie/roms cifs username=user,password=password,users,_netdev,x-systemd.automount 0 0 //192.168.10.131/video /home/kodi/videos cifs username=user,password=password,users,_netdev,x-systemd.automount 0 0 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that
/home/pi/RetroPie/roms/kodi/kodi.sh below
kodi-standalone
-
@jrhessey Please format your post (use a code block - http://commonmark.org/help/)
-
I did not run the update script. I did INSTALL Kodi from the retropie setup menu.
grep -A5 "<name>ports" {$HOME/.emulationstation,/etc/emulationstation}/es_systems.cfg
/home/pi/.emulationstation/es_systems.cfg: <name>ports</name> /home/pi/.emulationstation/es_systems.cfg- <fullname>Ports</fullname> /home/pi/.emulationstation/es_systems.cfg- <path>/home/pi/RetroPie/roms/ports</path> /home/pi/.emulationstation/es_systems.cfg- <extension>.sh .SH</extension> /home/pi/.emulationstation/es_systems.cfg- <command>%ROM%</command> /home/pi/.emulationstation/es_systems.cfg- <platform>pc</platform> -- /etc/emulationstation/es_systems.cfg: <name>ports</name> /etc/emulationstation/es_systems.cfg- <fullname>Ports</fullname> /etc/emulationstation/es_systems.cfg- <path>/home/pi/RetroPie/roms/ports</path> /etc/emulationstation/es_systems.cfg- <extension>.sh .SH</extension> /etc/emulationstation/es_systems.cfg- <command>%ROM%</command> /etc/emulationstation/es_systems.cfg- <platform>pc</platform>
I am trying to launch Kodi from the main rom menu. Followed the steps in the retropie wiki to create the menu option.
-
@BuZz
Sorry, I was banging my head against the wall trying to figure how to format that so it wasn't all screwed up. Overlooked the ? next to compose. -
So - you are maintaining your own es_systems.cfg - it's also out of date, as latest retropie-setup will call bash directly for ports (update retropie-setup and re-install kodi).
To launch kodi via script on a usb drive formatted as a windows fs (fat32/exfat/ntfs etc) you will need to change it to
<command>bash %ROM%</command>
(retropie-setup does this when updating a port, but you won't get the changes since you are manually managing the config)If you are launching it as a standalone system, you will also need to make a similar change
<system> <fullname>Kodi</fullname> <name>kodi</name> <path>~/RetroPie/roms/kodi</path> <extension>.sh .SH</extension> <command>bash %ROM%</command> <platform>kodi</platform> <theme>kodi</theme> </system>
note the file to edit would be
/home/pi/.emulationstation/es_systems.cfg
- but bear in mind you will need to keep this file manually synced with/etc/emulationstation/es_systems.cfg
which is automatically managed by RetroPie-Setup. -
I swore I tried bash in front of the %ROM%. I went back to check and it's not there. I must not have saved it correctly. I will give that a shot. If that does fix it, I'm sorry.
When I was stepping through this howto, I wondered what it would affect when they said it would be maintained manually. Now I know... Thanks!
P.S. They literally just updated the KODI wiki with bash %rom% instead of %rom$ in this section of code. HA!
-
@jrhessey I updated the wiki :)
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.