In my setup I’ve choose the image from Libreelec for the best solution for using. My concern is getting a full synkronized setup, Where I can stop a movie in the livingroom, and go tpo bed and continue the movie from where I stopped it.The only important thing here – is all Raspberry Pi should be on the same version of libreelec for this to work.
Download the latest image to fit your model from here https://libreelec.tv/downloads/
Use win32imagewriter to write the image to a SD card. –> Thats actually installing your image – now boot it up and configure it for your settings.
My Setup include the plugin Mythbox – which is connecting to MythTV and streaming from my Backend.
For making the installation allround – you’ll start only with configuring the first RaspberryPi. Create the input sources etc – and copy out the file /storage/.kodi/userdata/sources.xml and save the file sources.xml.
The other file for using this setup i the advancedsettings.xml which contains the information on how to connect to a MySQL database for all information etc. This setup expect your have an already running MySQL server with user and passwd etc. Create the DB anbd the users for kodi.
# create database kodi;
# create ‘kodi’@’%’ identified by ‘PASSWORD’;
# Grant alkl privileges on kodi.* to ‘kodi’@’%’;
These 2 files advancedsettings.xml and sources.xml you’ll copy to all your new Devices – and from boot they will have the exact same sources and access the same MySQL DB for information regarding views movies info etc.
Thats it and enjoy your setup. When setting the Sources etc up the first time – only one Raspberry Pi should be connected – copy the files from the master PI – and insert them to the other Pi’s and they will start up all looks the same on all Pi’s.
These 2 files are located at /storage/.kodi/userdata in the normal Libreelec setup – the procedure would be like:
- create the database and user for kodi
- Create the files – both the Settings foir the MySQL server – and the attached sopurces
- upload the files to the correct location: /storage/.kodi/userdata
- reboot the RaspberryPi
- Now you have to update all files within the sources.