Before you go any further, make sure you’re using a Raspberry Pi 3 or later. We’ve used the Raspberry Pi 3 B+. While the Raspberry Pi 2 is okay, the later models are superior for streaming and decoding data from Netflix and Amazon Video.
Raspberry Pi is a powerful compact computer that can be used to create any number of wonderful homebrew projects. Packed with built-in Bluetooth, Wi-Fi, USB ports, an ethernet port, an HDMI port, the Raspberry Pi has become an essential part of the home tinker’s tool kit. It also makes a great media center, and with your Raspberry Pi, Netflix streaming just takes some simple steps.
How to watch Netflix, Amazon & Your Media Collection on Raspberry Pi
Selecting Your Pi Model :
There are plenty of Raspberry Pi models on the market, but to build the best media center possible, we suggest the Raspberry Pi 3. The device comes with a 1.2GHz 64-bit quad-core CPU, 1GB of RAM, 802.11n Wireless LAN, Bluetooth 4.1, 4 USB ports, HDMI, a Micro SD slot, and a VideoCore IV 3D graphics core. Combined, it’s all the power you need—plus it’s only $34.49.
Raspberry Pis don’t have any onboard storage, so you’re going to need a Micro SD card to store your data. For around $8, you can get a fast Samsung 32GB EVO Select Micro SD. If you decide to write over the media center programming to turn your Pi into a game device or some other project in the future, this Micro SD can handle most small- to medium-size projects.
Download OSMC :
To get Netflix, Amazon Video, and Plex working with minimal effort, you’ll need to use OSMC (Open Source Media Center). OSMC is one of several Kodi versions available for Raspberry Pi. Download the installer from osmc.tv, which automates the process of writing OSMC to your microSD card.
With installers for Linux, Mac, and Windows, OSMC is accessible no matter what system you work on. Insert your Micro SD card into your computer, then launch the installer, and follow the prompts.
Insert the formatted Micro SD card into your Raspberry Pi, connect the device to your TV via an HDMI cable, attach the USB keyboard, and power on the Pi. Follow the prompts during set up. Set up the language, time zone, and name your device, and connect your Pi to your Wi-Fi. Finally, select OSMC as the look for your device. When you’re done, you’ll find yourself at the OSMC homepage. Kodi will launch by default when you turn on OSMC. Although you have installed OSMC, a 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 source file by entering
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
Press Ctrl + X to save and exit.
Now we’ll add the certificate for a new source.
wget -qO – http://download.osmc.tv/dev/gmc-18/pubkey.asc | sudo apt-key add –hlkhlk
Now follow these steps:
sudo apt update
You can then run a kernel upgrade:
sudo apt dist-upgrade -y
Follow this by downgrading to a new build.
sudo apt install rbp2-mediacenter-osmc=17.8-433 -y
This may take a while, so be patient. Once this is complete, install pip:
sudo apt install python-pip python-crypto build-essential -y
Follow this by installing these dependencies:
sudo apt install python-all-dev python-setuptools python-wheel -y
sudo apt install python-crypto-dbg python-crypto-doc python-pip-whl -y
Download and Configure Netflix on Raspberry Pi:
While you can download Netflix directly from Kodi, it’s easy to download the app while you’re here in the terminal. 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
download the add-on itself from GitHub.
Once your Pi reboots OSMC, Kodi will automatically launch. To install our download of Netflix, navigate to the Settings menu. Now go to Settings > Add-on browser > Install from Zip File. Under Root filesystem, find home > osmc > repository.netflix-1.0.1.zip, and select Install.
Now you need to get the Netflix add-on.
Go 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.
Now Open Settings > Add-on browser > My add-ons > Video add-ons > Netflix, select Configure, then find Account. Under Switch Account, enter your credentials.
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 decoder and Max Resolution secure decoder so that they match the resolution of your TV.
Click OK to confirm and exit.
Download and Configure Plex on Raspberry Pi:
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.
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.
Download 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, it’s time to install the Amazon Video add-on. Begin using a
wget command to download the ZIP file directly from GitHub:
With this done, switch your attention to your TV and navigate to Settings > Add-on browser > Install from Zip File. You’ll be informed that installing isn’t possible from unknown sources, so select Settings, then check the box against Unknown sources. Confirm the decision by selecting Yes, then go to the home screen and return to the Install from Zip file option.
Here, select Root filesystem, then find your way to home > osmc > repository.sandmann79.plugins.
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.
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.
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. If you have two-factor authentication enabled on your Amazon account, you’ll be prompted to enter the code that has been sent to your device.