Adding a setting to LibreELEC

  • I'm trying to add a setting to the service.libreelec.settings plugin, but I can't find a great way to test changes. Patching into the LibreELEC build process takes forever just to test small changes, is there a better way to do it?

  • Code
    mkdir /storage/bind
    cp -r /usr/share/kodi/addons/service.libreelec.settings/ /storage/bind

    Add the following to /storage/.config/autostart.sh:

    Code
    mount --bind /storage/bind/service.libreelec.settings /usr/share/kodi/addons/service.libreelec.settings

    Reboot, and now you have read/write access to the addon. Most of the Python code is compiled, so you'll need to copy any source code you wish to test into the /storage/bind/service.libreelec.settings directory.