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

How to watch England vs New Zealand: Live stream 2nd Test series cricket on

With the first Test ending in a draw, the series is on a knife edge at Edgbaston, as Joe Root's side look to put off the field controversies to one side and claim a much needed win against the Kiwis. Don't miss a single ball of the 2nd Test with our England vs New Zealand live stream guide below. The series has been somewhat overshadowed by the emergence of offensive historic tweets posted by Ollie Robinson who made his debut in the opening Test but has since been suspended. With the controversy still brewing amid interventions from politicians and accusations leveled at other members of the team, Root has a battle on his hands to keep his side focused on the game ahead. One positive for Root coming into the game is that they'll be playing in front of a near capacity crowd at Egbaston, with the overwhelming majority of the expected 18,000 spectators set to be cheering on the home side. The tourists have been delivered a huge blow coming intot his final match, with s

6 things Apple stole from Android at WWDC— and one that Google should steal

Every year, Apple and Google trade ideas for their newest versions of iOS and Android, respectively. But this year, during Apple's WWDC 2021, it seems like Apple purloined more than a few ideas that Google's integrated into Android over the last few years. Millions of iOS users won't get their hands on iOS 15 and iPadOS 15 until later this year, so until then, we don't know until then how the new features will fare in the real world. For now, here's a tongue-in-cheek look at six features Apple, um, borrowed from Android with its latest software releases. Jump to: iPad widgets and app drawer Live Text Apple Maps AR navigation iOS notifications New Siri capabilities Apple Photos Bonus: What Google needs to steal iPad widgets and app drawer iPad OS 15 introduced two big new updates for the iPad home screen today: widgets and the App Library. If you think this sounds awfully familiar, there's a good reason for that. 2020's iOS 14 introduced both

The Galaxy Watch 4 is coming soon — here's everything you need to know

Samsung's Galaxy-brain play: leaving Tizen behind for Wear OS. The Samsung Galaxy Watch 3, one of the best Android smartwatches , may have only just launched in November 2020, but the latest rumors out of South Korea suggest the company may already be developing its replacement — with some big changes and upgrades in the works meant to topple Apple from its smartwatch throne. There's no confirmation whether Samsung's 2021 smartwatch will be named the "Galaxy Watch 4" or adopt a new name entirely. However, we know that this new watch will run the new version of Wear OS, which would have a big impact on app support and Android phone connectivity. It could also feature a newer-faster chipset, which could put it leagues ahead of the best Wear OS watches . Details are fairly scarce so far, but we've scrounged up every known leak about specs, design leaks, and pricing, along with everything else we know so far about the Samsung Galaxy Watch 4. Samsung's bes

EU calls out Google, Amazon, & Apple for 'unfair competition' in IoT market

The report blames the lack of interoperability in the consumer IoT sector on the prevalence of proprietary technology and lack of common standards. What you need to know The European Commission has published the preliminary results of its inquiry into the consumer Internet of Things (IoT) sector. The report has identified a few potential concerns, including prevalence of proprietary technology and accumulation of large amounts of data by "providers of smart device operating systems." The European Commission is expected to publish its final report in the first half of 2022. The European Commission today shared the initial findings of its consumer Internet of Things (IoT) sector inquiry. The inquiry was launched in July last year as part of its digital strategy. Along with confirming the rapid growth of the Internet of Things market, the report highlights a few potential concerns with regards to the "current functioning of consumer IoT markets, as well as to th