Since we’re all staying home now in order to keep safe from coronavirus, it’s the perfect time to up your Netflix game.
You may have already figured out that Netflix can be one of the more difficult things to get running on your Pi. This is because it relies on Digital Rights Management (DRM) that’s typically only distributed for closed platforms.
However, there are ways to get Netflix working with your Raspberry Pi.
In this article, we’ll show you how to use a plugin forKodi that makes it relatively simple and quite reliable to run Netflix on your Pi. We particularly like this strategy because other web browser methods are easily broken.
Here’s all the parts and equipmentyou’ll need:
Raspberry Pi (this works for versions 2, 3, or 4)
Micro SD Card (we recommend at least 16GB)
USB Keyboard & Mouse
Internet Connection (if you have raspberry Pi 3 or 4, you’ve gotWiFi built in)
(Optional) Raspberry Pi Case
Now you’re ready to get started!
Before you can get Netflix running, there are a few steps to get prepared:
Update all the packages already on your Pi (run these commands:sudo apt update,sudo apt upgrade)
InstallKodi to your Raspberry Pi (run:sudo apt installkodikodi-peripheral-joystickkodi-pvr-iptvsimplekodi-inputstream-adaptivekodi-inputstream-rtmp)
Install these extra packages to supportKodi (run:sudo apt install build-essential python-pip python-devlibffi-devlibssl-dev libnss3)
Install the required Python packages (run:sudo pip installsetuptools wheelpycryptodomex)
Add the Netflix Repository onKodi
Now you’re ready to use all of the packages you just installed:
LaunchKodi on your Pi (hover over “Sound & Video” and select “Kodi”)
Change theKodi’s settings to allow unknown sources
Click the “Settings” icon (the cog graphic) at the top left of the screen
Click “System” down at the bottom right
Click “Add-ons” in the side bar
Toggle for the “Unknown Sources” option (*Note, you will get several warning messages. Don’t worry. It’s ok to dismiss these as long as you’re only installing reputable plugins, like the ones we’re showing you).
Once you have “Unknown Sources” enabled, press your Esc key to return to the Main Menu
Click “Add-ons” in the side bar again so you can installtheCastagnaIT repository
Click “Install from zip file” to continue
Click “Home folder”
Scroll to the bottom of the dialog box to find and double-click on the file called:
Good job! Now you should be all set to finally install the Netflix plugin.
Install theNetflixPlugin to Your Raspberry Pi
Now that we have the required repository installed, here’s what you need to install the Netflix plugin:
From the “Add-ons” page, click “Install from repository”
Open “Video add-ons”
Open the “Netflix” plugin (you’ll be able to start installation on the next screen)
Click “Install” in the bottom right-hand corner (you’ll have to click “Ok” to install additional plugins – this process can take some time)
Next, you’ll need to enable the “AdaptiveInputstream” plugin
Go back to the “My Add-ons” page
Choose the “VideoPlayerInputstream” category
Open the “InputStream Adaptive” plugin
Click the “Enable” button
You’re finally ready to run Netflix!
Run Netflix on Your Pi
Here’s what you need to do to (finally!)watch your favorite Netflix shows:
Go back to the “Add-ons” page and click on “Netflix”
The first time you open the Netflix add-on, you’ll need to enter your log-in info
Now that you’re within Netflix, choose a show you want to watch
The first time you watch a show, you’ll need to install the DRM modules needed for the plugin
You’ll be notified that “Widevine CDM is required” – click“InstallWidevine” to start the installation
You’ll be notified thatWidevine CDM has to be extracted from a Chrome OS recovery image and requires at least 3.1GiB of free disk space”. Click “Yes” to continue
Click “Iaccept” to agree to the EULA required from Google
Wait while the download and extraction processis completed (this may take some time – but now is a great time to get your popcorn ready!)
As soon as theWidevine process is complete – you’ll be all set for your Netflix binge!
Andbe sure to check backfor more news and projects for Raspberry Pi and Arduino!
GET IN TOUCH