Objective: To automatically boot a Raspberry Pi computer and play a video on endless repeat.
Raspberry Pi 2b+, LibreElec, Kodi
🎯 Goal
Boot LibreELEC → Kodi launches automatically → plays a specific video in true kiosk mode → loops forever → no GUI visible.
1️⃣ Put your video somewhere
Example:
/storage/videos/video.mp4
2️⃣ Make a “loop” folder and duplicate the video
Kodi’s RepeatAll
logic works best on playlists with 2+ entries.
mkdir -p /storage/videos/loop ln -sf /storage/videos/hawker.mp4 /storage/videos/loop/1.mp4 ln -sf /storage/videos/hawker.mp4 /storage/videos/loop/2.mp4
3️⃣ Build a playlist Kodi can load
Kodi playlists live here:/storage/.kodi/userdata/playlists/video/
4️⃣ Create /storage/.config/autostart.sh
LibreELEC runs this script at boot.
Make it executable:
chmod +x /storage/.config/autostart.sh
5️⃣ Reboot & Done
LibreELEC boots → Kodi starts → video plays fullscreen → loops forever with no GUI.