Private Kodi build installer/updater
The main functionality is working. There are some features that still need to be completed.
- Edit the "update_url" setting in "resources/settings.xml" to match your domain that you upload the server scripts to
- Enter the web server's basic authentication credentials in the "web_username" and "web_password" variables in "kodi/lib/kodi.py" (this is to access the web app)
- Zip addon (Make sure the top level folder "script.kbuild.installer" is in the zip and the addon files are inside it.)
- Install addon in Kodi with "Install from zip file" option
- Configure all of your other addons the way you want them
- Go to the "Kodi Build Installer" settings (Advanced) then select "Backup Current Configuration"
- When the backup is complete, the archive will be in your Kodi data folder witha matching '.md5' file
- Upload the zip file to the "kodi" folder on your server
- Edit the "version.php" file in the "kodi" folder on your server to match the archive name and set the "_md5" value that is contained in the matching ".md5" file
You can have a current config and a test config on the server. If the "Select Test Configuration" option is set in the addon then it will use the test config specified in the "version.php" file. That way you can check everything out before promoting it to the current config.
Apache/Nginx/IIS webserver with PHP
composer - https://getcomposer.org/
- Upload the contents of the "server" folder to a folder named "kodi" on your web server
- Change directory into the "kodi/auth" folder and issue the following command
composer install
- Set owner to the user that your web service runs as
- Make the "data" and "logs" folders writable by the webserver
- Change directory into the "includes" folder and edit the settings in "config.php"
- Use basic authentication to restrict access to the "kodi" folder
Browse to http://youdomain.com/kodi/auth to get to the main user interface.