Last Update: 7-22-20 | Updated .desktop with Chrome User Agent string for CrOS Chrome/77.0.3865.120
Last Update: 7-20-20 | ~redacted~ company reached out about creating an official package, also there are conversations happening with ~redacted~ company about official support of the Pi
Last Update: 5-6-20 | Specify that “Raspbian with desktop” is assumed and tested
Last Update: 4-7-20 | Fixed screen tearing

If you just want to take a Raspberry Pi 4 (as of today!) and turn it into a fully functional “Media” center by just pasting one line, here it is:

SSH to your Pi (don’t run from the Pi console if you want pretty graphics :)) and run:

This will produce the following (click to see larger image):

Reboot, and then from the Application Menu (top left) -> go to “Internet” -> open “Chromium (Media Edition)

You are now ready to use your Raspberry Pi on Netflix, Hulu, Amazon Prime, Disney Plus, HBO, Spotify, Pandora, and many others.

If you need to change any browser Settings, do so via the “Chromium” browser and not the “Chromium (Media Edition) – both are the same browser, so the settings are the same. The “Media Edition” (just a custom launcher with the user-agent) cannot load the settings since Chromium thinks you are launching it on “Chrome OS”, and when it checks for the Chrome OS language settings it crashes since they don’t exist.

At last, all this assumes the latest version of Raspbian with desktop (not Debian/Ubuntu! –
https://downloads.raspberrypi.org/raspbian_latest), and you can re-run the curl and sh as many times as you want without any harm.

If you are curious about some of the background and details on why you can’t easily run Netflix (and others) on your Pi and how to solve it, you are welcome to go look at my “development” blog post article: http://blog.vpetkov.net/2019/07/12/netflix-and-spotify-on-a-raspberry-pi-4-with-latest-default-chromium/

Enjoy!

350 Thoughts on “Raspberry Pi Netflix One Line Easy Install – along with Hulu, Amazon Prime, Disney Plus, HBO, Spotify, Pandora, and many others

  1. AleXSR700 on October 6, 2020 at 1:37 pm said:

    Hello,

    I was wondering how to uninstall this mod. Is there a way to undo all changes?

    • To un-install, it’s just reversing the order, open a terminal and:

  2. rreddy78 on October 6, 2020 at 8:37 am said:

    As i use a jetson nano (ARM 64) i have to run chromium 32 version in a docker container

    https://github.com/teacupx/docker-chromium-armhf

    I have followed the steps given here and still DRM is not working.

    Do you think i need the latest widevnecdm in order for it to work ?

    The chromium 32 in the docker is v85.0.4183.121

  3. Hi,

    unfortunately when I want to use the Spotify Web-Player I get the message that this browser is not supported. :/
    Is there any way to fix that?

    Thanks for your help, keep up the great work!

  4. Hi,
    thank you very much for your work, I’ve been enjoying the fruits for quite some time now.

    As of yesterday, on 2 separate raspberry pi’s, both Pi 4, with latest Raspbian update I can’t get to enter Netflix.com.
    It gives a “This site isn’t available” error while ANY other URL and video play works fine.

    Did anyone ever encounter that and found a fix?

    Thx a lot

    • That happened to me once too. I cleared my cache and cookies and then just ran the script again, reset the pi and it was working just fine. Hope that helps!

  5. Nice work. This worked first time on my RP3 that I imaged just this week. Super happy now that Netflix and spotify are working. Also soundcloud and mixcloud.

    Chromium settings does crash with a “Aw, snap!” window. Has anyone seen this?

  6. This is very interesting. I haven’t read all the technical details about the solution but have a general understanding on how it works and why it’s needed on the RPi.

    However, the caveat in the end does apply to me: I am running Ubuntu. So my first question, if anyone would have the time and knowledge to enlighten me: Why is this solution not applicable on Ubuntu?

    Second question would be: Is there any realistic solution for Ubuntu on RPi?

    Awesome job anyway. It’s rather annoying that a potent little computer like the RPi has to suffer from limitations like this.

  7. Matthew Jones on September 14, 2020 at 11:58 am said:

    This really worked. I am so amazed. Worried a bit cause I do not know anything about most of this stuff but for the most part works as advertised. Use it!!

  8. I used your code and everything works fine, except for HBO Max. Every time I load a movie or show, I get an error of ”
    Can’t Play Title”. Do you have any type of fix for this issue?

  9. hola , ahora tengo la raspberrypi4 ,pero funcionaria bien utilizarlo en la 3 a+? utilizando la misma tarjetasd con raspbian ya con chromium media edition

  10. Hello Ventz,

    i did the installation of Chromium-Media as mentioned above, but i get the following message:

    Wrong .desktop-file: ‘/usr/share/applications/chromium-media-browser.desktop’

    Can you help?

    • Hi Steve,

      run “sudo nano /usr/share/applications/chromium-media-browser.desktop”
      in the editor, you search for “chromium-browser”.
      Change that to “chromium”
      press CTRL+X to save the changes

      from the applications-menu open Chromium-media-browser again.

      • John_NS on October 1, 2020 at 12:47 am said:

        Looks like this might be raspberry pi 64 bit thing. From what I can see/figure out the 32bit Raspberry OS uses chromium-browser for a directory while 64bit uses chromium.

        You can change that to chromium but it doesn’t install the wildvine files properly, so nothing works – it just creates a file called “chromium-browser”.

        Above my skills to figure out how to fix it. 🙂

        • LibWideVine is not supported on 64 bit ARM systems currently to my knowledge.

          If that changes, applying this to the Pi should be relatively easy. Google is really driving this effort unfortunately, and it seems they (again, currently) have no interest in changing it.

  11. colporteur on August 23, 2020 at 8:13 pm said:

    I have just discovered the installation I did a few months back on my Pi4B 4G, not only supports BritBox but also Bell Satellite TV. The following link https://www.bell.ca/Fibe-TV/Fibe-TV-App provides a login under Watch on Screen of Your Choice. Using Bell account credentials and the Chromium install allowed me to watch the Sportnet hockey game.

    Ventz, add Bell Satellite TV to your repertoire of streaming services the installation supports. Great job man. Thank you for sharing.

    Question:
    What ever became of Raspberry Pi’s O/S interest in looking at making this part of an install?

  12. Hello! On the 64 bits version of Raspberry Pi OS, instead of launching normally, I get:
    Invalid desktop entry file: ‘/usr/share/applications/chromium-media-browser.desktop’
    However, on the regular 32 bit branches as well as twister OS, it works perfectly fine. Any hint on how to fix that? Thank you!

    • Francisco on September 8, 2020 at 2:20 pm said:

      Hello! I get the same problem and I am also using a 64bit version of Raspberry Pi OS. I hope there is a workaround. Thank you!

  13. Thx a lot, now able to watch hulu and netflix on raspberry because of your help. But I still cannot get HBO max to work. Tried multiple user agents for latest chrome version but nothing works. Can you please help? Using Latest Raspberry pi 4, 4 GB. Latest software installed.

  14. TungstenX on August 12, 2020 at 3:05 pm said:

    Good day,
    Two days ago this solution stopped working for me. Netflix opens all good until the show starts playing in the back ground, then the screen goes black (with black font) saying Page not found. But the audio of the trailer is still playing. F5 shows the pages again for a few seconds before going back to black. It happens after log in on the main page and the My list page.

  15. Bartosh on August 11, 2020 at 10:17 am said:

    Hi! Nice work. Im running your solution on one of my 2 sd cards. runs perfect. today i installed raspbian buster via noobs in the lite version with desktop. then i copied your code from above into the terminal an executed it. when im trying to watch for example youtube i don’t get it to run in fullscreen.

    is the mistake responsible that i copied it into the terminal and didnt do it via ssh?

    greetings
    pascal

    • Hi,

      I have the same problem. Display Netflix in full screen does not work correctly, as it looks like it is “encoded”, horizontal lines are visible.

      This problem also occurs on youtube, both from chromium-media and from normal chromium.

      Is there a solution for this problem?

      Thanks.

  16. nairod on August 8, 2020 at 12:52 pm said:

    Bonjours
    Pour ma part j’ai fait tout comme vous avez dit mais quand je clique sur l’icône “Chromium(Media Edition)” rien ne se passe. Avez vous une solution a se problème ? Je suis sur le nouveau rapberry pi os.

    • Essayez d’ouvrir un terminal et d’exécuter:

      Si cela ne fonctionne pas, c’est quelque chose d’autre sur votre système avant le script.

  17. Sean Collar on August 6, 2020 at 9:33 am said:

    Big fan of your your work, I was able to get Chromium widvine DRM functional using Docker image on RPI4b however I get a sound “stutter” I guess I would call it on Ubuntu Mate 20.04 when using local tv provider app viewing certain channels. You got any input on how I may be able to resolve?

    • Sean – that’s an interesting deployment method 🙂
      I would assume you have to mount the sound device from the Pi to the container, something like this for your “docker run …”:

Comment navigation

 

Leave a Reply to Bartosh Cancel reply

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

>> NOTE: Please use <code>...</code> to post code/configs in your comment.

Post Navigation