Back to KOD1HELP home

Raspberry Pi – Kodi Setup & Troubleshooting

Set up a Raspberry Pi as a Kodi media centre. If yours is already set up, jump to the problem you want to fix.

Choose a Pi and operating system

LibreELEC boots straight into Kodi and suits a dedicated player. OSMC also boots into Kodi and offers device settings and updates through My OSMC. Use the operating system’s model-specific image. It already includes Kodi.

LibreELEC Raspberry Pi downloads · OSMC downloads and supported images

Install Kodi with LibreELEC or OSMC

Get a microSD card, a reader for your computer, a suitable HDMI cable and the power supply for your board. Pi 4 and 5 use micro-HDMI. The Pi Zero family uses mini-HDMI.

Writing an image erases the selected card. Back it up first. Unplug other removable drives if you’re unsure which one to select.

LibreELEC

  1. Open the LibreELEC media creation guide and get the USB-SD Creator, or download the correct image and write it with Raspberry Pi Imager using Use custom.
  2. Select the image for your exact Pi and the microSD card. Write the image, wait for verification to finish, then eject the card.

OSMC

  1. Download the OSMC installer for the computer you’re using. Select your Raspberry Pi model and a supported release.
  2. Choose the SD-card installation target and the correct card. Let the installer finish, then eject the card. If you use a manual disk image, write the Pi-specific image as an image rather than copying it as a file.

First boot

  1. Insert the card with the Pi unplugged. Connect the TV and, if available, Ethernet. On a Pi 4 or 5 with one screen, start with HDMI0, the micro-HDMI socket nearest USB-C power.
  2. Select that HDMI input on the TV, then connect the Pi’s power. Allow the first boot to finish without unplugging it.
  3. Complete the setup prompts. Use a USB keyboard if the TV remote doesn’t respond yet.
  4. In Kodi, open Videos → Files → Add videos to add a local folder or network share. Play a short known-good file first, then add your library or make other changes.

Remote controls and HDMI-CEC

If CEC fails, try a direct Pi-to-TV connection and restart both devices after enabling it. If CEC turns the TV on or switches inputs unexpectedly, adjust the CEC power and source options one at a time.

OSMC Official Remote Control · Kodi HDMI-CEC guide

Power, storage and cooling

Raspberry Pi power supply and setup guidance

Ethernet, Wi-Fi and network shares

  1. Try Ethernet straight to the router first if your Pi has an Ethernet port. A successful wired test helps isolate a Wi-Fi problem.
  2. For Wi-Fi, use LibreELEC Settings → Connections or My OSMC → Network. Check the password and signal. Try a shorter distance to the router and a band supported by your Pi.
  3. For NAS media, check that the NAS is awake and reachable. In Kodi, add the SMB or NFS share. If browsing finds nothing, try the NAS address and exact share name. Verify the share permissions and login on another device.
  4. If only internet streams fail, try another service and check whether another device on the same network is affected.

KOD1HELP network troubleshooting

Buffering, stutter and performance

  1. Compare the same file locally and over the network. If it plays locally but buffers from the NAS, check the network and NAS before changing Kodi settings.
  2. Try a simpler file. Start with 1080p H.264 video and ordinary stereo audio. If only certain files fail, note their codec, resolution, frame rate and bitrate. Support varies by model and image.
  3. If playback is jerky without buffering, try Settings → Player → Videos → Adjust display refresh rate → On start/stop where available. A short black screen during the switch can be normal. If the TV loses picture, return to a known-good display mode.
  4. If menus are slow, check free space, try the standard Estuary skin and let library scanning finish. Check power and cooling if slowdowns affect everything.
  5. Adjust caching only after these checks. On Kodi 21 Omega, advanced cache settings are under Settings → Services → Caching. Record the defaults and change one setting at a time. A larger buffer can’t fix an unreliable source or sustained bandwidth shortage.

Kodi caching settings · Kodi video playback settings

Back up, update and recover

LibreELEC update and backup instructions · OSMC backup instructions · KOD1HELP backup guide

Common problems and what to try first

If you still need help, note your exact Pi model, OS and Kodi version, the message you saw and whether the problem happens with a local file. Find and capture a Kodi log · LibreELEC Safe Mode