Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

The Only Raspberry Pi 3 Kodi Tutorial You Will Ever Need

In this updated guide, you will learn how to set up Raspberry Pi 3 as a complete Kodi (was XBMC) entertainment center solution with the right accessories.

Over the past couple of years, I have had mixed feelings about Raspberry Pi as a Kodi based front-end device, because even after using all possible optimization tricks it simply was not responsive enough for my requirements.

Fortunately, with the latest Raspberry Pi 3 this is not the case anymore, so I have now included RPi in my recommended HTPC builds.

In this complete and up-to-date tutorial, you will learn

  • which components you will need
  • how to build your Raspberry Pi
  • which operating system you should choose
  • how to add more media content sources
  • how to configure the Raspberry Pi for better performance
  • how to turn Raspberry Pi into an audiophile music player
Free Bonus: Download the free PDF version of the Raspberry Pi 3 Media Machine eBook that will show you step-by-step how to set up Raspberry Pi and Kodi.

Components you will need for optimal performance

To complete this tutorial, you will need to buy the following components


  • Raspberry Pi 3 board
  • The Kodi edition Raspberry Pi case
  • Ethernet cable
  • HDMI cable
  • Micro SD memory card (at least 8GB)
  • Micro USB power adapter
  • Flirc USB IR receiver (if your TV does not support HDMI CEC)
  • HDHomeRun TV tuner (if wish to watch live TV)

The total price for the computer is about $88, plus $23 for the remote control (Flirc), for a total of $111. However, you may have most of the required accessories at home already.

You can also unlock MPEG-2 and VC-1 hardware decoding by purchasing a license from the foundation’s online store.

Get a case with a built-in heat sink

Flirc_case_medium2Nowadays, there are a lot of commercial cases to choose from that you can buy online.

After testing several different models, my favorite case is the Flirc Raspberry Pi case, which is hands down the best case for RPi.

The Flirc case is compatible with both the latest third generation and older second generation and B+ models. It is made out of aluminium and it looks absolutely stunning compared to other RPi cases in the market. The case has a built-in heat sink, which is useful especially if you intend to overclock the system.

Get this high quality Raspberry Pi case here.

Get a supported microSD card

SD_cardPlease note that many users report issues with various memory cards, so be sure to get a supported SD card. When I got my first Raspberry Pi Model B, I tested 3 cards before I found one that worked properly with the operating system.

You can get a standard micro SD card with many Raspberry Pi 3 bundles, but they may be low quality and do not necessarily last very long.

If you want to increase the longevity of the memory card, I recommend getting a separate micro SD card that comes with wear levelling. Only the more expensive micro SD cards come with wear levelling, which means that the card will try to spread wear out over the whole disk instead of writing and reading the same spot on the disk all the time.

I would also recommend getting a card with at least 8GB storage as more space increases the longevity of the card by having more space for wear levelling.

One good card that supports wear levelling and performed really well in my tests is the SanDisk Extreme Pro 8GB MicroSDHC.

Samsung’s class 6 micro SD card that is often sold together with the NOOBS operating system install manager performed as well as the class 10 SanDisk Extreme Pro in my tests.

I also noticed with a Kingston class 10 memory card that the class of the micro SD card does not necessarily mean the memory card will be faster than class 6, as the random read/write speeds are even more important.

You can also use a USB memory stick with OSMC operating system, but I did not see any speed improvements between the Kingston DT USB 3.0 stick and the SanDisk Extreme Pro.

As a conclusion, you should make sure that your micro SD card will last longer without any issues, so I would recommend using the SanDisk Extreme Pro 8GB.

Get a supported power adapter

The RPi does not come with a power adapter, so you will also need to get a supported power adapter. Be sure to get a good quality power adapter as those cheap ones that come together with many Raspberry Pi bundles may not work properly.

For example, I had problems with a Flirc remote companion adapter when using a cheap power adapter. I got erratic key presses with the Flirc when using a power adapter that came together with the Raspberry Pi model B+ bundle. When I plugged the RPi into my TV’s USB slot or used my iPad’s power supply, the problems were resolved.

Supported input devices

remoteHDMI CEC

If your television supports HDMI CEC, I recommend using it as that is the easiest way to control your Raspberry Pi. You can use your TV’s remote to control Kodi (XBMC) by sending signals over the HDMI cable. Usually, HDMI CEC works without any further configuration.


If your television does not support HDMI CEC, then the most cost-efficient and working solution is the Flirc (get it here). Flirc learns any remote control so you can use your old IR remote control and map it with the Flirc using a configuration application on Windows and Mac OS X.

You can follow this Flirc guide to map the keys with the configuration application. You can then plug the Flirc into Raspberry Pi and start controlling the Kodi.

Mobile apps

The third option is to use your mobile phone or tablet as a remote control using an app such as Constellation.

Build your Raspberry Pi 3

Building your own system is very easy and by following these four simple steps, you will have the system ready to be booted up with an operating system in less than 30 minutes.


  1. First, open the case and apply the thermal tape to the built-in heatsink. Then, insert the board inside the case.
  2. Insert the case cover back into place and tighten the screws.
  3. Insert the micro SD card in the slot under the case. Please follow the instructions in the next chapter to install an operating system.
  4. Insert the HDMI, Ethernet and micro USB cables in place. Plug in the Flirc adapter, keyboard or any other controllers.

Choose an operating system


In this chapter, you will learn which operating system you should choose and how to install it.

I have tested both OpenELEC and OSMC operating systems from a performance and stability point of view. They both use Kodi (XBMC) as an entertainment center, but the Linux distribution in the background is different.

There is also a third alternative called Xbian.

From pure performance point of view, there is no significant difference between the OpenELEC and the OSMC.

The OSMC uses a more lightweight and optimized skin than OpenELEC by default, which make it feel a bit faster when navigating around Kodi.

All in all, both OpenELEC and OSMC are good choices for you, but I would recommend opting for OSMC as it provides better overall user experience and it is easier to configure, if you, for example, want to overclock it later on.

OpenELEC operating system


In this chapter, I will show you how to install OpenELEC operating system using disk image installation method.

Install the OpenELEC operating system with a Disk Imager

If you want to speed up boot times, then you should install the OpenELEC to the microSD using a DiskImager tool on Windows instead of using the NOOBS installer.


  1. Download the Raspberry Pi2 builds, and extract the OpenELEC-RPi2.arm-6.0.3.tar.gz using 7zip. Insert your microSD card into the computer’s SD card reader.
  2. Download Win32DiskImager and run it as an administrator on Windows.
  3. Select the OpenELEC-XXXX.img image file and choose the SD card drive letter as the device.
  4. Click “Write” and wait until the file transfer is completed.
  5. Safely remove the microSD card and insert it into your RPi.

OSMC operating system


Download and launch the OSMC

The OSMC is the successor to Raspbmc and it is created and maintained by Sam Nazarko and you can download the latest OSMC version here. I will use the Windows installer in this tutorial.

Before proceeding with these instructions, plug in the micro SD card reader and unplug any other USB storage devices to make sure you will not format an incorrect drive by accident.


  1. Launch the OSMC installer application and select the language and Raspberry Pi 3 device in the welcome screen.
  2. Then, click the “next” button and select the latest OSMC version.
  3. Next, select where you would like to install OSMC. Usually, you should install it on the SD card.
  4. Then, click the “next” button and configure whether your system connects to the web via a wired or wireless connection.
  5. Now, select the device path where you would like to install OSMC.
  6. Click “next” and accept the licence agreement.
  7. When the download process has completed, confirm installation by selecting “Yes” when prompted.
  8. After installation is completed, you are ready to insert the micro SD card onto RPi and boot it up.

After plugging in the memory card, USB stick, USB keyboard or remote control, Ethernet cable and power adapter, the system will boot up and the Kodi will launch for the first time.

To finalize the installation, Select your locale and confirm the licence agreement and you are ready for show time.

Add more media content sources

In this section, I will introduce my favourite ways to add more content sources such as live TV streaming, Netflix streaming, high-fidelity music streaming and local media files.

I would also suggest checking out my complete Kodi guide, if you wish to learn more ways to set up and customize Kodi.

Install MPEG-2 and VC1 video codecs


In order to decode and play MPEG-2 and VC1 video files using hardware acceleration, you will need to purchase codec licenses from the Raspberry Pi foundation.

Install the codecs by following these steps:

  1. Purchase MPEG-2 and VC1 codec license keys
  2. You will receive the license key through your email within 72 hours
  3. In OSMC, go to My OSMC > Pi Config > GPU Mem & Codec
  4. Enter the license key from your email to MPEG2 and/or WVC1 licence under the Codec status
  5. Reboot the system

Add HDHomeRun LiveTV


The easiest way to watch live TV with Raspberry Pi is to use it with a HDHomeRun network attached TV tuner. If you do not already have it, you can use this guide to get and install HDHomeRun.

You can also record TV shows with Raspberry Pi using a TVHeadend server, but it is still much more complicated to set up and will not provide optimal user experience as a DVR. Live TV recording in the background consumes Raspberry Pi’s resources, so using OSMC/OpenELEC at the same time will not be so smooth experience.

Therefore, I would recommend building a Windows-based DVR back-end system using this guide.

However, Raspberry Pi works well for watching live TV and timeshifting, so let’s see how you can easily watch live TV with HDHomeRun and RPi.

  1. Select “Install” and Kodi will download and install this add-on.
  2. Now, you can go to “Videos” > “Video Add-ons” > “HDHomeRun Live TV” to watch TV streams.
  3. In order to add live TV to the home menu, go to “Settings” > “Appearance” > “Skin – Settings” > “Home – Customize Home Menu”. Scroll down to the “Live TV” and “Choose shortcut”.
  4. Select “Add-on” > “Video Add-on” > “HDHomeRun Live TV”. Select OK to save settings.
  5. Go to “Settings” > “Add-ons” > “Get Add-ons” > “Kodi Add-on repository” > “Video Add-ons” > “HDHomeRun Live TV”.
  6. Now, you can launch the Live TV shortcut to watch TV.

Add Hulu, Netflix and other premium channels


I think this online video streaming service is too cool to miss if you want to watch Hulu, Netflix, Amazon VOD, HBO Go and other premium content channels on your Raspberry Pi.

In order to watch premium channels on the RPi, you will need to install commercially available software called PlayOn (get it here) on your Windows-based PC that allows you to stream premium content channels into Kodi running on any operating system.


Just buy and download PlayOn here and install it on your Windows-based computer.

In order to register your copy, open PlayOn Settings (go to Start / All Programs / PlayOn / PlayOn Settings) and enter the license information on the Registration tab.

Now, let’s configure OSMC to be able to view Netflix and other premium services.

  1. Go to “Videos” > “Files”. Select “Add Videos…” > “Browse” > “UPnP Devices” > “PlayOn (your computer name)”.
  2. From this list, you can browse the service you want to add as a source (e.g. Netflix).
  3. Next, you can rename the name of this media source (e.g. Netflix).
  4. In order to add Netflix to the home menu, go to “Settings” > “Appearance” > “Skin – Settings” > “Home – Customize Home Menu”.
  5. Select “Add” on any existing shortcut and “Choose shortcut” > “Video Library” > “Sources” > “Netflix”. Select OK to save settings.
  6. Now, you can start browsing your favourite TV shows and movies via PlayOn Media Server.

Continue reading more advanced instructions here, if you want to seamlessly integrate Netflix and Hulu into Kodi.

Add Tidal music service

My favourite music streaming service is called Tidal, which allows you to stream high fidelity music (even lossless format is available) and music videos.

Installing Tidal is as easy as adding any official Kodi add-on.


  1. Go to “Settings” > “Add-ons” > “Get Add-ons” > “Kodi Add-on repository” > “Music Add-ons” > Select “Tidal”.
  2. Select “Install” and Kodi will download and install this add-on. Now, you can go to “Music” > “Music Add-ons” > “Tidal”.
  3. Press “C-key” to access to the context menu and select “Add-on settings”.
  4. Select the quality and input your Tidal username and password.
  5. In order to add Tidal to the home menu, go to “Settings” > “Appearance” > “Skin – Settings” > “Home – Customize Home Menu”.
  6. Select “Add” on any existing shortcut and “Choose shortcut” > “Add-on” > “Music Add-on” > “Tidal”. Select OK to save settings.
  7. Now, you are ready to enjoy high fidelity music streaming with Tidal from the home screen.

Use the Plex Media Server to transcode video files


The RasPi does not have hardware decoding support for any other video codec other than H.264 out of the box, so you will need to have all video files converted into H.264 format in order to play them smoothly. Alternatively, you can buy a license to unlock MPEG-2 and VC-1 decoding.

Fortunately, there is an easier way should you have another desktop PC or a media server. You can use Plex Media Server to transcode any media file you have in your library and stream it using a PleXBMC add-on for XBMC.

  1. First, you will need to download and install the Plex Media Server application either on your Windows, Mac OS X or Linux based computer.
  2. After installation, configure the movie library with the media manager (go to
    with your Internet browser).
  3. Next, download the PleXBMC add-on.
  4. In order to copy the plugin file to the RPi, you can use an FTP client such as FileZilla to copy the to /home/pi folder on your RPi. The username is pi and the password is raspberry.
  5. Go to Settings > Add-ons > Install from zip file > Home folder > to install the PleXBMC add-on.
  6. Go to Settings > Add-ons > Enabled Add-ons > Video Add-ons > PleXBMC > Settings to configure the add-on.
  7. In the General tab, change the Primary Server Address to the IP address of your desktop PC or media server where the Plex Media Server is running.
  8. In the Transcoding tab, tick Enable transcoding to allow Plex to transcode the video to the H.264 format supported by Raspberry Pi’s hardware decoding. Choose the video quality according to your preferences.
  9. Go to Videos > Video Add-ons > PleXBMC > Movies and launch your first movie.

Install Amber skin for the full Plex experience

While PleXBMC works with any skin, I would recommend using Amber skin, which is a PleXBMC-enabled skin that can be downloaded here. Once you have installed Amber skin, select “Go PLEX” from the Home Screen by scrolling to Settings and selecting “Go PLEX”.

Performance optimization and customization tips

optimizeThe following performance improvement tricks are particularly important if you own a Raspberry Pi 1 Model B+ or earlier model

You don’t necessarily need to do all of these optimization steps if you are using Raspberry Pi 2 or 3.

By following these tricks, you can speed up the Raspberry Pi 1 system by 20-40 percent compared to the original baseline.

Overclock it


You can safely speed up the RPi by overclocking it. Go to “My OSMC” > “Overclock”.

Next, change the system performance profile to “Turbo” to overclock the system.

Overclocking did not have as high of an impact as I was hoping for, but booting up time improved by over 20 percent on RPi 1. However, movie library importing, navigation speed and YouTube searching remained on the same level.

Change resolution to 720p

resolutionReducing the Kodi user interface resolution to in “Settings” > “System” > “Video” will save memory and make the system and menus a bit faster. Video will still play at full resolution (e.g. 1080p).

Go to “Settings” > “System” > “Video Output” > “Resolution” to change the resolution.

I noticed about a 20 percent improvement in the navigation menu speeds on RPi 1, so if you do not need 1080p resolution in the menus, this change will make your system feel snappier.

Change the default skin


On OSMC, the default skin is lightweight enough and already optimized for performance, so you don’t need to change the skin to improve system responsiveness.

However, there are even more beautiful skins available such as Aeon Nox and Mimic that work fine on Raspberry Pi 2 and 3 according to my tests.

Go to “Settings” > “Skins” > “Skin” to download and change a new skin.

Disable thumbnail extraction

thumbBy default, XBMC will extract thumbnails from videos that have no thumbnail in the library. As this consumes quite a lot of CPU performance, you should disable this feature to speed up navigation in the library.

Go to the “Settings” menu and select “Video” > “File lists” > disable “Extract thumbnail and video information”.

You may also want to disable Actor thumbnails from the “Settings” > “Video” > “Library” > “Download actor thumbnails when adding to library”.

Adjust display refresh rate to match video

refreshI would recommend adjusting the display refresh rate to match video in order to get smoother video playback.

You can enable it by going to System > Video > Playback > Adjust display refresh rate to match video.

Another way to smoothen the playback is to use audio passthrough. I have not tested this tip myself, but using audio passthrough should lower the CPU usage for DTS and AC3.

You can enable it by going to System > System > Audio output > Enable passthrough.

Use NFS instead of SMB share

networkIf you are using a Network Attached Storage (NAS) such as Synology Diskstation, it is recommended to use NFS protocol instead of SMB protocol to access media files in XBMC. SMB networking protocol uses much more of the RPi’s CPU, so NFS is a faster option.

For example, during my tests, a 1080p video was buffering frequently over a wireless network with SMB protocol, but with NFS it played smoothly without any buffering issues.

Power it from a USB port on your TV

usbAs this computer does not have a separate power button, a good trick is to connect it to your TV’s USB port, so that when you turn on your TV it will also boot up the computer.

This way you will also need one less power plug.

Turn Raspberry Pi into an audiophile music player


If you have replaced your old Raspberry Pi with a newer third generation model, it would be a shame to throw the old model away.

One great way to still use your old Raspberry Pi is to repurpose it as a music player.

To get the best audio playback quality and turn your Raspberry Pi into audiophile music player, I recommend trying out the HiFiBerry DAC+ and Volumio music player. HiFiBerry DAC+ is a special sound card for the Raspberry Pi that is optimized for 192kHz/24bit high-quality sound.

Volumio is a great music system that replaces your Kodi (XBMC) based operating system to play all your music, whether it is a high-resolution file or Spotify, with the highest quality. You can control it with your mobile phone, tablet or PC.

To enjoy high-quality sound, you will need

  • Raspberry Pi board
  • HiFiBerry DAC+ – RCA or Phone jack version
  • HiFiBerry DAC+ compatible case
  • Volumio music player (download here)
  • Win32DiskImager (download here)
  1. Download and extract the file.
  2. Download and open Win32DiskImager, right-clicking on the file, and selecting “Run as Administrator”.
  3. Insert the MicroSD Card on your computer, and browse the Volumio1.5PI.img file and click on Write.
  4. Insert the HiFiBerry DAC+ board to the RPi board. Insert the micro SD card and cables and boot up system.
  5. Type volumio.local/ on your device’s browser. Be sure that you are connected to the same network as Volumio.
  6. From here, you can configure it such as adding NAS drives or Spotify credentials.
  7. Done! You are now ready to play your first song.

I have been very satisfied with Volumio, and I have a separate HiFiBerry powered RPi and active speakers in my living room to easily play music whenever I want.


All in all, the Raspberry Pi 3 is an excellent mini computer and coupled with Flirc remote companion and this high quality Raspberry Pi case, it works great as an entertainment center front-end.

Now go and build the RPi yourself: get the list of required parts.

“How Can I Use This Information For My Raspberry Pi?”

I created a free step-by-step eBook that you can use to quickly apply the relevant steps from this post to your Raspberry Pi and Kodi installation.

The eBook contains the 8 most important steps from this post…

… and actionable tips that you can use today to simplify your user experience.

Click below to download the free eBook:

Download Rpi eBook

Bonus: Download the free PDF version of the Raspberry Pi 3 Media Machine eBook that will show you step-by-step how to set up Raspberry Pi and Kodi.

After you have set up your own Raspberry Pi, be sure to continue reading my guide to customizing Kodi with all the bells and whistles.

How to Customize Kodi with All the Bells and WhistlesPrevious:
How to Use the Flirc to Control Your HTPC with Any Remote

The post The Only Raspberry Pi 3 Kodi Tutorial You Will Ever Need appeared first on Media Experience.

This post first appeared on Best HTPC Media Center Guide | My Media Experience, please read the originial post: here

Share the post

The Only Raspberry Pi 3 Kodi Tutorial You Will Ever Need


Subscribe to Best Htpc Media Center Guide | My Media Experience

Get updates delivered right to your inbox!

Thank you for your subscription