[Release] NOOBS Companion KODI Add-on



Features

  • Automatically scans and lists installed NOOBS / PINN systems
  • Boot into any system via the add-on (simply select it)
  • Add a favorites shortcut to boot into any system
  • Rename system display name & change icon
  • Choose which system auto-boots
  • Works with USB or SD card installs
  • Install Boot-Back (see Boot-Back section below)

How to Install

Step 1

Follow THIS post to install my KODI Add-on Repository (if not already installed).

Step 2

Navigate to "Main Menu -> Add-ons -> My Add-ons"
Select ".." then select "Install from repository"
Select "MattHuisman.nz Repository".
Select "Program add-ons" then "NOOBS Companion"

Select "Install" and the add-on will download and install.


You can now access the add-on in the Add-ons main menu item.


Click into the add-on and you can now boot into any of the NOOBS systems by simply selecting it.


Enjoy!


Autoboot

Go into the NOOBS Companion add-on and navigate to the system you wish to boot first.
Open the KODI context menu on this item and select "Set to Autoboot"


That system will now automatically boot when you turn on your Pi.

This will simply create an autoboot.txt file on the root of the SD card pointing to the partition for the system you have chosen.

Be careful you don't set it to a system where you can't get back to KODI, else you won't be able to change it again.

If this does happen, insert the SD card into a PC and delete the autoboot.txt file.

Warning:
Autoboot is currently broken in NOOBS / PINN (since version 2.1)
Using it may even stop your Pi Booting.
If this happens, put the SD card in a computer and delete the 'autoboot.txt' file to fix.

I have opened an issue here and hopefully it should be fixed in the next version.

Boot-Back

For the below systems there is an extra context menu item for installing "Boot-Back".
This will modify the chosen system to allow for easier booting back into KODI.


The changes it makes are as below.

Recalbox


Modifies the /recalbox/scripts/kodilauncher.sh script to reboot back into KODI partition instead of it's own internal KODI version.

Batocera


Adds /recalbox/share/system/custom.sh script that modifies the /recalbox/scripts/kodilauncher.sh script on each boot to make it reboot back into KODI partition instead of it's own KODI.

Lakka


Modifies /storage/.config/autostart.sh to make it wait for Retroarch to exit, and then reboot back into KODI partition.

Raspbian


A bash script, icon and desktop shortcut are added to reboot back into KODI partition when double clicked.

RetroPie


Adds a KODI system to the main menu.
Selecting this then "KODI" will reboot back into KODI partition.

Troubleshooting

If for some reason the boot-back stops working (eg. after updating a system), you can simply go into the NOOBS Companion add-on and select "Install Boot-Back" which should fix it back to normal.