How to Watch Netflix, Amazon Video, and Plex With Raspberry Pi
Whatsapp Pinterest
Advertisement

Maybe you’ve tried turning your Raspberry Pi into a media center with Kodi Install Kodi to Turn Your Raspberry Pi Into a Home Media Center Install Kodi to Turn Your Raspberry Pi Into a Home Media Center You need a media center solution, and you've heard about Kodi. Is it suitable, and can you install it on your Raspberry Pi? And how do you take it beyond the basics? Read More , and maybe you found it a bit disappointing. You don’t want to use illegal streaming add-ons, but without them, very little else seems to work other than YouTube and a few specialist channels.

What you really want is to install Netflix, Amazon Video, and much more on your Raspberry Pi. Perhaps even Plex for accessing content on your home network. Want to know how to do that instead? Here’s what you need to do.

You Need a Raspberry Pi 3

Before you go any further, make sure you’re using a Raspberry Pi 3 (or even a Raspberry Pi 3 B+) for this. While the Raspberry Pi 2 is okay, the later models are superior for streaming and decoding data from Netflix and Amazon Video.

Raspberry Pi 3 Model B Motherboard Raspberry Pi 3 Model B Motherboard Buy Now At Amazon $37.30

The same goes for the Pi Zero. These compact versions of the already small Raspberry Pi are good, but they’re not quite good enough for this project. If you’ve ever tried to get Netflix or Amazon Video add-ons working on a Raspberry Pi-based Kodi box, you’ll know how tricky (and frustrating) it can be.

Typically, these problems are due to a combination of poor add-ons (or ones that will only work with desktop PC Kodi installations) and the low spec of older Raspberry Pis. If you’re using a Raspberry Pi 3, the following steps will allow you to access your existing Netflix and Amazon Video subscriptions via Kodi.

Install Kodi on Raspberry Pi With OSMC

You’ll need to get started by choosing the right version of Kodi for your Raspberry Pi. As you may know, several Kodi versions are available for Raspberry Pi How to Choose the Best Version of Kodi for Raspberry Pi How to Choose the Best Version of Kodi for Raspberry Pi Not sure how to get started with Kodi for Raspberry Pi? Here are your best options for an awesome home media center. Read More , but to get Netflix, Amazon Video, and Plex working with minimal effort, you’ll need to use OSMC (Open Source Media Center).

turn raspberry pi into the ultimate media center

Available from osmc.tv, you’ll need to download the installer file for Windows, Mac, or Linux. This automates the process of writing OSMC to your microSD card. Alternatively, download the disk image and install in the usual way How To Install An Operating System To Your Raspberry Pi How To Install An Operating System To Your Raspberry Pi Here's how to get a new OS installed and running on your Pi – and how to clone your perfect setup for quick disaster recovery. Read More .

Once installed on the card, you’re free to insert the card in your Raspberry Pi, connect it to your local network (use Ethernet for now, you can set up Wi-Fi once everything is configured) and your TV’s HDMI port, and connect the power cable.

Downgrade OSMC for Better Stability

Although you have installed OSMC, a very specific version that isn’t available to write as an image to your microSD card is required. This “nightly build” is stable enough to run the Netflix add-on which you’ll install later.

First, open the Terminal or connect to OSMC via SSH Setting Up Your Raspberry Pi For Headless Use With SSH Setting Up Your Raspberry Pi For Headless Use With SSH The Raspberry Pi can accept SSH commands when connected to a local network (either by Ethernet or Wi-Fi), enabling you to easily set it up. The benefits of SSH go beyond upsetting the daily screening... Read More and enter:

sudo nano /etc/apt/sources.list

In the file, append this line to the bottom; this adds a new source.

deb http://download.osmc.tv/dev/gmc-18 gmc-18 main

Add a new source in the Terminal

Press Ctrl + X to save and exit. Next, add the GPG certificate to validate the source:

wget -qO - http://download.osmc.tv/dev/gmc-18/gpg.key | sudo apt-key add -

The next step is to update the sources list:

sudo apt-get update

You can then run a kernel upgrade:

sudo apt-get dist-upgrade -y

Follow this by downgrading to build 17.8-225.

sudo apt-get install rbp2-mediacenter-osmc=17.8-225 -y

This may take a while, so be patient. Once this is complete, install the following dependencies:

sudo apt-get install python-pip python-crypto build-essential -y
sudo apt-get install python-all-dev python-setuptools python-wheel -y
sudo apt-get install python-crypto-dbg python-crypto-doc python-pip-whl -y

These dependencies will ensure that everything you’re about to install will work as intended.

Install and Configure Plex for Local Media Streaming

Want to stream video, music, or photos from another device on your network? You’ll need the Plex server installed on your PC, and the client add-on installed on your Raspberry Pi.

Plex running on OSMC

With OSMC running on your Raspberry Pi, browse to Settings > Add-on browser > Install from Repository > Video add-ons. Scroll through the list until you find Plex, select, and Install. Click OK to confirm, and wait while this finishes.

Once done, use the Restart option to reboot the Raspberry Pi.

While that’s happening, check our Plex guide Your Guide To Plex - The Awesome Media Center Your Guide To Plex - The Awesome Media Center If you have a lot of locally-saved movies and TV shows, you need to install Plex. And this is the only guide to getting started with Plex you'll ever need to read. Read More for information and tips for this great streaming solution.

Install and Configure Amazon Video on Raspberry Pi

Want to stream Amazon Video on your Raspberry Pi? Here’s what you need to do.

Staying in the terminal (or SSH client), it’s time to install the Amazon Video add-on. Begin using a wget command to download the ZIP file directly from GitHub:

wget https://github.com/Sandmann79/xbmc/releases/download/v1.0.2/repository.sandmann79.plugins-1.0.2.zip

With this done, switch your attention to your TV and navigate to Settings > Add-on browser > Install from Zip File. Here, select Root filesystem, then find your way to home > osmc > repository.sandmann79.plugins.

Install repository for Amazon VOD on Raspberry PI

Select this, and wait as it unpacks, then browse back and find Settings > Add-on browser > Install from repository. Go to Sandmann79s Repository and find Video add-ons. From here, select Amazon VOD (the alternative called “Amazon” is for German users).

Amazon VOD dependencies in Kodi

Select Install, then confirm with OK. Note that some additional add-ons will be installed (see above image). Leave it to finish, then reboot your Raspberry Pi. When it restarts, it’s time to configure the add-on. Browse to Settings > Add-on browser > My Add-ons > Video Add-ons, and select Amazon VOD.

Configure Amazon VOD on OSMC

Go to Configure, and in the General view change the Playback option so that Input Stream is selected. Then, in the Connection view, select Sign In and input your Amazon account credentials.

With this done, you’ll be ready to watch Amazon video content! You’ll find Amazon VOD listed under Add-ons.

turn raspberry pi into the ultimate media center

Install and Configure Netflix on Raspberry Pi

Let’s look at streaming Netflix on the Raspberry Pi next.

To install a Netflix client on your Raspberry Pi, you’ll need to perform some minor configuration first. In the terminal, enter:

pip install pycryptodomex

This is a dependency required to run Netflix. The add-on needs to know where this is, so add a symbolic link:

sudo ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome

Next, download the add-on itself from GitHub.

wget https://github.com/kodinerds/repo/raw/master/repository.netflix/repository.netflix-1.0.1.zip

Return your attention to the TV, and browse to the ZIP file: Settings > Add-on browser > Install from Zip File. Under Root filesystem, find home > osmc > repository.netflix-1.0.1.zip, and select Install.

Install Netflix on Raspberry Pi

Wait for the notification, then go back and browse to Settings > Add-on browser > Install from repository > Netflix Addon Repository, and then Video add-ons. Here you’ll find Netflix; select Install, choose the most recent version, then OK.

Install Netflix add-on

With this done, restart your Raspberry Pi. When it reboots, you’ll need to configure the add-on with your Netflix credentials.

Configure Netflix add-on on your Raspberry Pi OSMC

Open Settings > Add-on browser > My add-ons > Video add-ons > Netflix, select Configure, then find Account. Under Switch Account, enter your credentials.

Configure resolution on the Netflix add-on

You’ll also need to configure the InputStream module. In Settings > Add-on browser > My add-ons, find VideoPlayer InputStream and select InputStream Adaptive. Choose Configure, then set Max Resolution General and Secure Decoders so that they match the resolution of your TV. Click OK to confirm, and exit.

Lastly, Install and Configure Widevine CMD

So far, you’ve installed Plex, Amazon Video, and Netflix. You’re almost set, but before you can watch anything, the Widevine CMD decryption module must be downloaded. You cannot do this manually, however; instead, it needs to be done by the Amazon or Netflix add-on.

turn raspberry pi into the ultimate media center

Choose either add-on, select a video, and play. You’ll instantly be notified that the Widevine CMD needs to be downloaded. Note that as this is a proprietary module, it is not open source.

Select Install Widevine, and follow the instructions to download the Chrome OS recovery image from which the Widevine CMD is extracted (the recovery image will be automatically discarded later). This can take a while to download and extract, so let the Raspberry Pi work at its own pace.

turn raspberry pi into the ultimate media center

Once Widevine CMD is installed, it’s a good idea to reboot your Raspberry Pi 3 one last time.

Your Raspberry Pi Is Now the Ultimate Media Center

That’s it: you can now stream Netflix and Amazon Video on Raspberry Pi, and it can easily stream video from another computer on your network via Plex. In short, your Kodi-based Raspberry Pi media center is awesome again.

Meanwhile, if you’re concerned about using a VPN with your Raspberry Pi, OpenVPN is preinstalled with OSMC, which is straightforward to configure How to Install a VPN on Any Raspberry Pi How to Install a VPN on Any Raspberry Pi A VPN is a vital part of online privacy and security. If you're not already running one alongside your usual security tools, you should be. But what if you're using a Raspberry Pi? Read More . Almost all of the best VPNs provide OpenVPN compatibility The Best VPN Services The Best VPN Services We've compiled a list of what we consider to be the best Virtual Private Network (VPN) service providers, grouped by premium, free, and torrent-friendly. Read More .

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. didier
    October 7, 2018 at 5:16 pm

    None of this works any more..
    Thanks anyway

  2. Charles Z
    September 3, 2018 at 1:34 am

    What an awful way to spend a weekend, as usual with linux nothing works, conflicts everywhere, always patching things, hardcoding stuff, this is why you pay for the overvalued Apple TV xD

    Great tutorial though, thanks guys! you are awesome.

  3. Jules Powrie
    June 24, 2018 at 5:54 pm

    Thanks for the tutorial, I followed it carefully but when I try to install the Netflix add-on, I manage to choose the version, but then I get a message "The dependency on script.module.pycryptodome version"

    Any advice?

    • Moritz
      July 24, 2018 at 11:06 am

      Hey there,
      thanks for the tutorial! It worked fine for me when I first installed it until I played around too much with other Plugins and my Kodi wouldn't play any video anymore. I upgraded to the latest version, which restored playback functionality but broke the netflix addon. Now however I can't downgrade to 17.8-225 anymore, as it supposedly got removed from the repository... :/

      But to asnwer the other questions here: 1080p netflix playback worked on my raspberry pi but it was stuttering, so I set the 720p stream as default.
      The problem with dependency plugins not being installed is to be expected and is a problem of the nightly build of kodi. You have to go into the official Kodi repository and install them all manually. It's 5 of them I think. Some of them depend on each other so you have to find the right order. If one fails, just continue with the others and come back to the ones that failed later. At least this procedure worked for me...

  4. Allan Gamboa
    May 27, 2018 at 1:41 pm

    That netflix repository is down :(

  5. Christian Cawley
    May 25, 2018 at 1:29 pm

    I believe you can run at 1080. I Only used 720p as it was playing through a "HD ready" TV.

  6. Keel
    May 24, 2018 at 9:30 pm

    Interesting, can you stream to 1080p or limited to 720p only for Amazon & Netflix?