RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Kodi won't open from main menu when roms are stored on network

    Scheduled Pinned Locked Moved Help and Support
    kodimain menuromsnetworkpermissions
    16 Posts 3 Posters 5.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BuZzB
      BuZz administrators @jrhessey
      last edited by

      @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.

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

      J 1 Reply Last reply Reply Quote 0
      • J
        jrhessey @BuZz
        last edited by

        @BuZz

        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.

        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by BuZz

          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 ?

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          J 1 Reply Last reply Reply Quote 0
          • J
            jrhessey @backstander
            last edited by jrhessey

            @backstander

            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
            
            BuZzB 1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @jrhessey
              last edited by

              @jrhessey Please format your post (use a code block - http://commonmark.org/help/)

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              J 1 Reply Last reply Reply Quote 0
              • J
                jrhessey @BuZz
                last edited by

                @BuZz

                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.

                BuZzB 1 Reply Last reply Reply Quote 0
                • J
                  jrhessey @BuZz
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators @jrhessey
                    last edited by BuZz

                    @jrhessey

                    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.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jrhessey @BuZz
                      last edited by

                      @BuZz

                      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!

                      BuZzB 1 Reply Last reply Reply Quote 1
                      • BuZzB
                        BuZz administrators @jrhessey
                        last edited by

                        @jrhessey I updated the wiki :)

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        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.