Devices

IPTV on Raspberry Pi: build a live TV box with Kodi

Turn a Raspberry Pi 4 or 5 into an IPTV box with LibreELEC and Kodi. What you need, setup steps, adding your playlist and guide, and performance tips.

IPTV on Raspberry Pi: Build a Live TV Box with Kodi

Quick answer

Install LibreELEC (a Kodi-based system) on a Raspberry Pi 4 or 5, enable the PVR IPTV Simple Client add-on, and add your M3U link and guide address. The result is a quiet, low-cost IPTV box with a full TV guide.

On this page
  1. What you need
  2. Install LibreELEC
  3. Add IPTV
  4. Performance tips
  5. Sources and official links
  6. IPTV on Raspberry Pi: questions and answers

A Raspberry Pi makes a neat DIY IPTV box. With LibreELEC it boots straight into Kodi and behaves like a dedicated media player.

What you need

  • Raspberry Pi 4 or 5 (older models struggle with HD streams).
  • Official power supply, a 16 GB or larger microSD card and a case with cooling.
  • A micro-HDMI to HDMI cable and an Ethernet cable.
  • A remote: most TVs control Kodi over HDMI-CEC.

Install LibreELEC

  1. Download the Raspberry Pi Imager on your computer.
  2. Choose Media player OS > LibreELEC for your Pi model and write it to the card.
  3. Put the card in the Pi and boot it on the TV.

Add IPTV

  1. In Kodi go to Add-ons > My add-ons > PVR clients and enable PVR IPTV Simple Client.
  2. Open its settings, paste your M3U link and your guide (XMLTV) link.
  3. Restart Kodi; channels appear under TV.

Full Kodi walkthrough: Kodi IPTV setup guide.

Every app on this page asks for the same thing: either an Xtream Codes login (server address, username, password) or an M3U playlist link. IPTV Trends sends both as soon as your payment clears. If an app offers both, use the Xtream Codes login: it loads the channel groups and the TV guide together. See M3U vs Xtream Codes.

Performance tips

  • Use Ethernet; Pi Wi-Fi is fine for HD but weak for 4K.
  • Set the guide to refresh daily.
  • Keep the Pi cool; throttling causes stutter.

Sources and official links

IPTV on Raspberry Pi: questions and answers

Yes. A Pi 4 or 5 with LibreELEC and Kodi plays IPTV with a full guide.

The Pi 5 or Pi 4; earlier models struggle with HD.

Only for setup. Most TV remotes control Kodi over HDMI-CEC.

Written by the IPTV Trends team

Written by the people who answer the IPTV Trends Telegram channel and set these apps up every day. App menus change between releases; tell us on Telegram if a step no longer matches what you see.

Watch on every screen you own

Plans from $14.95, 1 to 3 screens, live TV and the TV guide included. Questions first? Ask on Telegram.