nixers
Netflix from the command line? - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics)
+--- Forum: Programming On Unix (https://nixers.net/Forum-Programming-On-Unix)
+--- Thread: Netflix from the command line? (/Thread-Netflix-from-the-command-line)


Netflix from the command line? - pfr - 15-10-2020

I didn't really know where to post this so venam please move it if necessary.

I am wondering if there are yet any ncurses/cli/tui netflix apps? I have done a bit of a search but elgoog isn't showing me much.

I was thinking, I can log into Spotify using their API and listen to music from my terminal using ncspot, surely there is an ncurses netflix tool that would allow me to browse through thumbnails (possibly displayed with w3m-img or even sixel) and then simply launch streams in mpv? Provided Netflix has an API..

Someone please tell me this app exists already because it would change my life :)

So far the only thing I've come across that looks interesting is QtDRMStreamViewer but this still uses the the Qt Web engine and requires glibC to run it.


RE: Netflix from the command line? - mattrose - 15-10-2020

The netflix streams are encrypted with DRM that requires a special plugin in the browser to decrypt, and getting a license for that is ... not easy.

see https://en.wikipedia.org/wiki/Widevine and https://en.wikipedia.org/wiki/Encrypted_Media_Extensions


RE: Netflix from the command line? - pfr - 19-10-2020

(15-10-2020, 10:27 PM)mattrose Wrote: The netflix streams are encrypted with DRM that requires a special plugin in the browser to decrypt, and getting a license for that is ... not easy.

see https://en.wikipedia.org/wiki/Widevine and https://en.wikipedia.org/wiki/Encrypted_Media_Extensions

I noticed that the QtDRMStreamViewer depends on the Widevine Content Decryptor (which can apparently be extracted from the Google Chrome Browser). "Widevine must be obtained using Google Chrome, grep it from their Website."


RE: Netflix from the command line? - mcol - 20-10-2020

Rami it looks like you're considering hacking together a client ;)

If so, it might be useful to check out kodi. It downloads ChromeOS and extracts Widevine Content Decryptor or something in order to run netflix. Works really well.


RE: Netflix from the command line? - jolia - 20-10-2020

(20-10-2020, 07:23 AM)mcol Wrote: Rami it looks like you're considering hacking together a client ;)

If so, it might be useful to check out kodi. It downloads ChromeOS and extracts Widevine Content Decryptor or something in order to run netflix. Works really well.
is kodi able to run netflix?


RE: Netflix from the command line? - mcol - 20-10-2020

(20-10-2020, 01:14 PM)jolia Wrote: is kodi able to run netflix?
Yep! I use it to watch netflix on my TV, using a raspberry pi. Works great.


RE: Netflix from the command line? - pfr - 23-10-2020

(20-10-2020, 02:30 PM)mcol Wrote:
(20-10-2020, 01:14 PM)jolia Wrote: is kodi able to run netflix?
Yep! I use it to watch netflix on my TV, using a raspberry pi. Works great.
Holy shit! I never knew this. I stream from my phone to my TV but was more just wanting a small laptop client for when I'm travelling or in bed.