How to watch Netflix on the Raspberry Pi

You can load programs like Plex and Kodi onto your Raspberry Pi to create an affordable media center device, but even those simple projects aren't really necessary if you just want to watch Netflix on your Raspberry Pi. .

While the Pi can't get the job done right away, giving the Pi the ability to stream Netflix is ​​pretty straightforward. Here's how to watch Netflix on the Raspberry Pi.

What we will do is use the Raspbian operating system to run the Chromium browser and open Netflix in Chromium on the Raspberry Pi.

Sorry, Chrome and Chromium aren't exactly the same, so you can't watch Netflix using Chromium right away. If you try, you will be greeted with a screen like this:

How to watch Netflix on the Raspberry Pi Picture 1

The error indicates that you are missing a required component for watching Netflix. That component is called the Widevine Content Decryption Module .

That sounds like some weird third-party plugin, but it's not - it's actually included in Chrome. If you've ever used Chrome to stream Netflix, then you've used this plugin without even realizing it. It's just that while this plugin is standard with Chrome, not with Chromium.

So what to do is get the Chromium version that includes this Chrome plugin.

How to watch Netflix on the Raspberry Pi

Step 1: Install Raspbian

Reference: How to install an operating system for Raspberry Pi for more details.

Step 2: Install Chromium with Widevine Support

What to do is download and install the version of Chromium that has been compiled with Widevine Support. Open a command line window in Raspbian and type the following two lines in order:

wget https://github.com/kusti8/chromium-build/releases/download/netflix-1.0.0/chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb

Very easy, right?

Step 3: Make the plugin work

You installed the plugin, but does it work immediately? Not so fast. Try playing something on Netflix and you'll get this error:

How to watch Netflix on the Raspberry Pi Picture 2

It takes one more step and installs a Chrome extension called User-Agent Switcher for Chrome . That's because you need to 'lie' on Netflix a bit and let it believe you're using Chrome OS.

So head over to Chrome Webstore and install the User-Agent Switcher for Chrome extension. Next, you just need to enter some values ​​into the utility.

Step 4: Create a new user-agent string

Once installed, open the add-on's options and create a new user-agent string like this:

How to watch Netflix on the Raspberry Pi Picture 3

New user-agent name: Netflix New user-agent string: Mozilla/5.0 (X11; CrOS armv7l 6946.63.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36 Group: Chrome Append? Replace Indicator flag: IE

Then, click on the extension's icon and choose Chrome> Netflix .

Now you should be able to watch Netflix without a problem.

Option

If you open Netflix from the Terminal using chromium-browser https://www.netflix.com , you might see an error message like ' Failed to call method: org.freedesktop.UPower.EnumerateDevices '. To fix this, you can install UPower, a middleware for power management on your Linux system. To install UPower, just head back to Terminal and enter:

sudo apt-get install upower
3.7 ★ | 26 Vote

May be interested

  • How to listen to Spotify on Raspberry PiPhoto of How to listen to Spotify on Raspberry Pi
    luckily, you can make a few tweaks to get spotify working on the raspberry pi and play music via the choice of hdmi connectivity or headphone jack. here's how to listen to spotify on the raspberry pi.
  • Learn Pi Imager, How to Use Raspberry Pi ImagerPhoto of Learn Pi Imager, How to Use Raspberry Pi Imager
    the raspberry pi foundation recently released a new application for recording sd cards for the raspberry pi. the new program, called raspberry pi imager, launches march 5, 2020.
  • How to install Arch Linux on Raspberry PiPhoto of How to install Arch Linux on Raspberry Pi
    luckily, there is an arch linux version designed to work with arm processors. let's see how you can install arch linux on raspberry pi through the following article!
  • How to use Raspberry Pi to monitor network with NagiosPhoto of How to use Raspberry Pi to monitor network with Nagios
    the best way to monitor networks with a raspberry pi is to use a software called nagios. nagios is like an error detection tool, it checks something as often as possible (like every 5 minutes) and warns you when this check doesn't work as expected.
  • How to use IFTTT with Raspberry PiPhoto of How to use IFTTT with Raspberry Pi
    in this article, you'll learn how to build a custom applet that you can use with the raspberry pi, including how to connect to ifttt, set up the internal webhook, and how to enable it.
  • How to install LibreELEC on Raspberry Pi 4Photo of How to install LibreELEC on Raspberry Pi 4
    the raspberry pi 4 is the most powerful piece of hardware to come from the pi platform. it has usb 3.0, more ram and faster cpu. for this reason, the pi 4 is perfect for a linux-based media player operating system like libreelec.