How to watch Netflix on the Raspberry Pi
Raspberry Pi is a low-cost, credit card-sized computer that plugs into a computer monitor or TV and uses a standard keyboard and mouse. This is a small, capable device that allows people of all ages to explore calculations and learn how to program in languages such as Scratch and Python. It can do everything desktop computer needs, from browsing the Internet and playing HD video to making spreadsheets, word processing, and playing games.
More importantly, Raspberry Pi has the ability to interact with the outside world and has been used by various digital maker projects, ranging from music machines and parent probes to weather stations and texting infrared cameras to birdhouses. We hope to see Raspberry Pi being used by kids around the world to learn how to program and understand how computers work.
A Very cheap and tiny computer Raspberry pie can do a lot. One of the easiest and most useful ways to use your Pi is as a low-cost alternative to a Roku or Fire TV. You can load programs like Plex and Kodi onto the Raspberry Pi to create a reasonably priced media center device, but even these simple items are not absolutely necessary if you just watch Netflix on the Raspberry Pi. While Pi cannot do the job out of the box, getting your Pi to deliver Netflix is easy.
Watch Netflix on the Raspberry Pi
All we have to do is run the Chromium browser using the Raspbian operating system and open Netflix in Chromium on your Raspberry Pi.
Currently, Raspbian Disk Raspberry Pi Foundation mirror already contains the PIXEL desktop. PIXEL stands for “Pi Improved Xwindows Environment, Lightweight.” The image comes with Chromium, an open source browser developed by Google. Chromium is based on Chrome, so it can do a lot of things that brothers can do the same thing – including something that Epiphany, Raspbian’s default browser, can not do.
Why Epiphany is this important?
Because Netflix does not support Epiphany, it supports Chrome. Unfortunately, Chrome and Chromium are not exactly the same, and you cannot use Chromium to watch Netflix. If you try, you’ll be greeted by a screen like this:
This is not good. This error indicates that you lacked the components required to view Netflix. This component is called the Widevine content decryption module.
This may sound like weird third-party plug-ins, but it’s not – it’s actually included in out-of-the-box Chrome. If you’ve ever used Chrome to transfer Netflix, you’ve used it without your knowledge. Only this plug-in is standard on Chrome, not Chromium’s standard.
So all we need to do is get a Chromium version that includes this Chrome plugin. let’s do it!
How to watch Netflix on the Raspberry Pi
We’ll be doing this entire project in the Raspbian operating system, so start by downloading the Raspbian disk image and writing it to a microSD card to use in your Raspberry Pi. If you’re not familiar with this process, I have good news – I have written an entire guide to How to install Noob in Raspberry Pi
Install Chromium with Widevine support
In earlier versions of this article, we have downloaded and run a recovery script for the Google Chrome OS, enabling Widevine to start using Chromium. Unfortunately, this does not seem to apply anymore – the current version of Google Chrome’s recovery script does not work with the current version of Chromium. Fortunately, there is another way to do this, and we’ve updated our guidelines accordingly.
What we can do is download and install the Chromium version that has been compiled with Widevine support. Open a terminal window in Raspbian and enter the two lines in order:
sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb …
Install Chrome Extension
So We have plugins installed – it should work now, right? Not so fast trying to play something on Netflix, you’ll catch up with this error:
We need to do one more step and install a Chrome extension called “Chrome’s User Agent Switcher.” This is because we need to make a point about Netflix and believe we are using Chrome OS.
So go to the Chrome Web Store and install the extension. Next, we just need to enter some value in the extension.
Create User String
After installation, open the extended options and create a new user agent string as follows:
New user agent name:
New user agent string:
Mozilla / 5.0 (X11; CrOS armv7l 6946.63.0) AppleWebKit / 537.36 (KHTML, as Gecko) Chrome / 47.0.2526.106 Safari / 537.36
Then click the icon for the extension and select Chrome> Netflix.
Only! Now you should be able to watch Netflix without any problems.
If you open Netflix from a terminal using the Chrome browser https://www.netflix.com, you may see an error message like “Can not call a method: org.freedesktop.UPower.EnumerateDevices”. To solve this problem, you can install UPower, a middleware that handles Linux system power management. To install UPower, just go back to the terminal and type sudo apt-get install upower.
You can delete our downloaded .deb file to save space.
it will work just great if you face any problem with then please do comment write below!
Visit similar tutorials on Raspberry pi