LibreELEC

From MattWiki
noteThis Page was written with LibreELEC 10.0.x in mind, and may not work correctly with other versions or distributions.


LibreELEC Logo

Just enough OS for KODI LibreELEC (short for Libre Embedded Linux Entertainment Center) is a non-profit fork of OpenELEC as an open source software appliance, a Linux-based Just enough operating system for the Kodi media player. This fork of OpenELEC announced in March 2016 as a split from the OpenELEC team after "creative differences", taking most of its active developers at the time to join the new LibreELEC project.[1][2][3][4] This is a conservative fork of the OpenELEC project with a stronger focus on pre-release testing and post-release change management.[4]

Installing[edit | edit source]

Commands[edit | edit source]

To update the library

kodi-send --action="UpdateLibrary(video)"

To delete items that are no longer on the drive

kodi-send --action="CleanLibrary(video)"

Export Library items

kodi-send --action="exportlibrary(video,true,true,true,true)"

To View the Kodi.tv logs

tail -f /storage/.kodi/temp/kodi.log

Rebuild the video database[edit | edit source]

for DIR in TV_Shows Movies
do
   find . -type f -name *.nfo -delete
   find . -type f -name *.txt -delete
   find . -type f -name *.exe -delete
   find . -type f -name *.jpg -delete
   find . -type f -name *.png -delete
   find . -type f -name theme.mp3 -delete
   find . -type d -name .actors -delete
   find . -empty -type f -delete
   find . -empty -type d -delete
   cd ../
done

RTC (Real Time Clock)[edit | edit source]

These instructions are for the DS3231 RTC modules[5]

  1. Remount the system partition as read/write: mount -o remount,rw /flash
  2. Edit /flash/config.txt and add (somewhere near the end): dtoverlay=i2c-rtc,ds3231
  3. Remount the system partition as read only: mount -o remount,ro /flash
  4. Reboot the system for the changes to take affect

Change Mounted Drive Name[edit | edit source]

LibreELEC uses the drive label for the name of the mounted drive (assuming the drive has a label). To change the drive label try:

For NTFS formatted drives:

sudo umount /dev/sdb1
sudo ntfslabel /dev/sdb1 "new_name"

For ext2/ext3/ext4 formatted drives:

e2label /dev/sdb1 new-label-name-here

References[edit | edit source]

  1. Chewitt (24 March 2016). "Let's rock this gig!". libreelec.tv. Retrieved 1 May 2016. 
  2. Chewitt (20 March 2016). "Hello World!". libreelec.tv. Retrieved 12 May 2016. 
  3. "About LibreELEC.tv". libreelec.tv. 2016. Retrieved 12 May 2016. 
  4. 4.0 4.1 "LibreELEC.tv". GitHub. Retrieved 12 May 2016. 
  5. "forum.libreelec.tv". DS3231 Real Time Clock installation guide for RPi / /LE8. frankvw. 2018-12-17. Retrieved 2022-11-10.