Skip to main content

Build your own Kodi media server using a Raspberry Pi

If you've ever wondered how to install Kodi on a Raspberry Pi, the answer is a bit more complicated than just following a few steps. Why? Let us explain in this guide.

Kodi is the continuation of XBMC, a free and open-source application that is a great media player and a complete replacement for any other media-centric software. It's not a streaming server or DVR. It's the software you use to watch video content and listen to music through any screen with an HDMI connection.

Because it's open-source, Kodi runs on just about every platform known to man — Windows, Android, iOS, macOS, and a gazillion different flavors of BSD and Linux.

Several operating system platforms also work really well on the Raspberry Pi. A marriage of the two makes for a cheap media center that's easy to set up and has all the features you'll find on expensive alternatives. It's a DIY project that anyone can do, and the results are incredible.

Before getting started

As with any DIY project, you'll need a few things before you can get started. We've compiled a list of everything that you'll need to get Kodi installed on your Raspberry Pi:

  • Raspberry Pi
  • A case of some sort
  • A power supply
  • A microSD card with an adapter to plug it into your computer

You can run Kodi on an earlier model of Raspberry Pi (and plenty of folks do), but the better hardware in the third revision makes a big difference. The power supply needs to provide 5 volts at 2 amps through a Micro-USB or USB-C port. Any microSD card will work, but faster cards are better — try to get something Class 10 or higher. You'll also want one at least 8GB in size.

The case needs to have decent airflow because things can get hot. It should also stay together if the cat or a roaming infant gets behind things and pulls on cords. And you'll need a cable that can take HDMI with audio from the Raspberry Pi to the screen you want to see your stuff on.

The easy way is to buy one of the best Raspberry Pi kits that has all this stuff in it. You'll save a couple of dollars and a lot of time. I went with this kit from CanaKit, and it has everything you need to get started. It's decent quality stuff.

You'll also want to have a keyboard and mouse you can use directly with your Kodi box. Almost any keyboard and mouse will work, but after trying a whole bunch of them through the years on various small electronic projects, I have to recommend the Logitech K400. It's bigger than many others, but it works on everything without any setup or hassle — even the PlayStation 4, which can be finicky and hates peripherals.

I have like three of them around the office, and they've held up just fine.

How to install Kodi on Raspberry Pi using Raspberry Pi Imager

It's worth noting that this method installs Kodi as the main interface on your Raspberry Pi. This means that every time your Raspberry Pi is turned on, this is what you'll be using instead of relying on the Pi desktop to interact with Kodi. You'll still need to use a keyboard and mouse to navigate through the setup process and the various menus after the fact.

  1. Download Raspberry Pi Imager onto your PC from the Raspberry Pi website.
  2. Once installed, open the Pi Imager app on your PC.

  3. Insert your microSD card for the Raspberry Pi into your PC.
  4. Under Operating System, select Choose OS.

  5. Select Media player - Kodi OS from the pop-up menu.

  6. Select LibraELEC from the next on-screen prompt.

  7. Choose the version of LibraELEC based on the Raspberry Pi version you are using.
  8. Under Storage, select Choose Storage.
  9. Select your microSD card from the list of storage options.
  10. Click the Write button.
  11. Click OK to confirm that all of the data on your microSD card will be wiped.
  12. Click Continue after the installation has finished.
  13. Safely eject the microSD card from your PC if it's not done automatically.

Once the Kodi installation is completed, you can pop that microSD card into your Raspberry Pi. Make sure everything is connected, like the monitor, keyboard, mouse, and power, then fire it up.

Upon starting up for the first time, you'll see a similar screen to what you would find to install Raspberry Pi OS onto the Pi. The system will automatically create the partitions it needs before botting into Kodi via LibraELEC.

After the Pi reboots, it'll take you straight into the LibraELEC "wizard" to help you get Kodi set up properly. This includes setting your location, time zone and connecting the Pi to your home network. Simply follow the on-screen prompts, and then Kodi will be all set up and ready to go.

How to install Kodi on Raspberry Pi using Terminal

Unlike the first method of using Raspberry Pi Imager to install Kodi as the primary interface, this next method installs Kodi as a standalone app. By doing this, you can still use your Raspberry Pi for other things, along with having Kodi available whenever you want.

  1. Turn on your Raspberry Pi.
  2. Once loaded, open a Terminal window from your desktop.

  3. Type "sudo apt install kodi".
  4. Press Enter on your connected keyboard.

The process should only take around 30 seconds or so, but it will depend on your internet connection speed. Once completed, you'll be able to access the Kodi app from the Menu bar, under Sound & Video

How to use Kodi on a Raspberry Pi

There are some things you'll want to do to get started watching video content and listening to music through your new Kodi box. You might need to buy licenses for MPEG-2 and VC1 hardware decoding. They're cheap and easy to buy over the internet. I think you should spend a few bucks to buy them instead of finding other ways to acquire them.

Kodi integrates into any home media system.

You might also want to set up Plex and the PleXMBC add-on to decode and stream video to your new Kodi box. Kodi is a player that can attach to your storage or countless streaming servers via the internet. If you have a large media library of your own, Plex is an easy-to-setup media server that works great with Kodi to watch and listen to everything you have.

You can also install support for your own DVR backend or an HDHomeRun tuner or set things up to watch recorded PlayOn streams. Look at the Add-ons settings for all the legal and Kodi project-approved ways to get content from the internet to your screen. Of course, there are plenty of places on the internet to get more information about services you can add to Kodi, but we'll let you find those on your own.

The next step is to lean back and enjoy it.

Everything you need

CanaKit - Raspberry Pi 4 Basic Kit

The new Raspberry Pi 4 is a significant improvement over the 3 B+, and with this kit from CanaKit, you'll have everything you need to install and use Kodi on the Raspberry Pi. The kit includes a case, power supply, and heat sinks. From there, you'll just need a keyboard, mouse, and microSD card.

From $65 at Amazon


Source: androidcentral

Popular posts from this blog

The hidden cost of food delivery

Noah Lichtenstein Contributor Share on Twitter Noah Lichtenstein is the founder and managing partner of Crossover , a diversified private technology fund backed by institutional investors, technology execs and professional athletes and entertainers. More posts by this contributor What Studying Students Teaches Us About Great Apps I’ll admit it: When it comes to food, I’m lazy. There are dozens of great dining options within a few blocks of my home, yet I still end up ordering food through delivery apps four or five times per week. With the growing coronavirus pandemic closing restaurants and consumers self-isolating, it is likely we will see a spike in food delivery much like the 20% jump China reported during the peak of its crisis. With the food delivery sector rocketing toward a projected $365 billion by the end of the decade, I’m clearly not the only one turning to delivery apps even before the pandemic hit. Thanks to technology (and VC funding) we can get a ri

Cyber Monday Canada: Last-minute deals for everyone on your list

Best Cyber Monday Canada deals: Smart Home Audio Phones, Tablets & Accessories Wearables Laptops & PC Components Amazon products Gaming Televisions Cameras Lifestyle & Kitchen Toys & Kids Cyber Monday Canada is here, and retailers are rolling out the red carpet for customers who want to shop for everything from tech to kitchenware to games and everything in between. Unlike years past, Cyber Monday Canada deals look a bit different than normal. Instead of retailers trying to pack their stores with as many shoppers as possible, we're seeing tons of online deals that you can take advantage of from the comfort of your home. We've rounded up our favorites below, so feel free to browse through the best of what Canada Cyber Monday has to offer! This list is being updated with new Cyber Monday deals all the time, so check back often. Spotlight deals It's a Switch Nintendo Switch Fortnite Edition bundle $399.95 at Amazon It's a Switch.

iPhone 13 Pro vs. iPhone 15 Pro Buyer's Guide: 50+ Differences Compared

The iPhone 15 Pro brings over 50 new features and improvements to Apple's high-end smartphones compared to the iPhone 13 Pro, which was released two years prior. This buyer's guide breaks down every major difference you should be aware of between the two generations and helps you to decide whether it's worth upgrading. The ‌iPhone 13‌ Pro debuted in 2021, introducing a brighter display with ProMotion technology for refresh rates up to 120Hz, the A15 Bionic chip, a telephoto camera with 3x optical zoom, Macro photography and photographic styles, Cinematic mode for recording videos with shallow depth of field, ProRes video recording, a 1TB storage option, and five hours of additional battery life. The ‌iPhone 13‌ Pro was discontinued upon the announcement of the iPhone 14 Pro in 2022, but it is still possible to get hold of it second-hand. Our guide helps to answer the question of how to decide which of these two iPhone models is best for you and serves as a way to c

Slack’s new integration deal with AWS could also be about tweaking Microsoft

Slack and Amazon announced a big integration late yesterday afternoon. As part of the deal, Slack will use Amazon Chime for its call feature, while reiterating its commitment to use AWS as its preferred cloud provider to run its infrastructure. At the same time, AWS has agreed to use Slack for internal communications. Make no mistake, this is a big deal as the SaaS communications tool increases its ties with AWS, but this agreement could also be about slighting Microsoft and its rival Teams product by making a deal with a cloud rival. In the past Slack CEO Stewart Butterfield has had choice words for Microsoft saying the Redmond technology giant sees his company as an “existential threat.” Whether that’s true or not — Teams is but one piece of a huge technology company — it’s impossible not to look at the deal in this context. Aligning more deeply with AWS sends a message to Microsoft, whose Azure infrastructure services compete with AWS. Butterfield didn’t say that of course