[HOW-TO ALL PLATFORMS]Can I use Netflix on OSMC?(post 4)

Here is a small guide for Pi 2, 3 and Vero4k, remember Netflix addon is still under development:

First make sure your system is up to date:

sudo apt-get update
sudo apt-get dist-upgrade

I always reboot after a dist upgrade, since there can be upgrades that night need it, like kernel updates.

After reboot start a new ssh session and run these commands:

wget https://raw.githubusercontent.com/zjoasan/netflix-install-script/master/netflix_prep_install.sh
chmod +x netflix_prep_install.sh
./netflix_prep_install.sh

If you dont want to use the script here comes the manual steps:

Crypto for netflix plugin(for Kodi 18)

sudo apt-get install python-crypto
sudo apt-get install build-essential python-pip
sudo pip install -U setuptools
sudo pip install wheel
sudo pip install pycryptodomex

(for 19.x)

sudo apt-get install python3-crypto python3-pip python3-pycryptodome

Getting netflix-repository .zip

USE THIS FOR KODI 18 LEIA:
wget https://github.com/castagnait/repository.castagnait/raw/master/repository.castagnait-1.0.1.zip
USE THIS FOR KODI 19 MATRIX:
wget https://github.com/castagnait/repository.castagnait/raw/matrix/repository.castagnait-1.0.0.zip

In Kodi:

goto Settings
choose Add-on browser
choose Install from zip file
navigate to homefolder (homefolder/addons, if you used the script)
choose repository.castagnait-1.0.1.zip
Return to the add-ons browser and choose Install from repository
then select CastagnaIT repository and install Netflix add-on
go back to main menu
goto Video->Video add-ons
If you dont have netflix there, go to my addons, video-addons, netflix and enable.
First time you start Netflix it will ask you for your login credentials. Here you might have to go authkey solution. but that’s abit out of the scope of this script.
When you first start a video in netflix plugin, it will notice you dont have libwidvine installed and help you install it. (takes a while, will download an image and extract the latest liwidvine, and install it. Let it run as root, when it asks)

You might need to restart your OSMC device after installation.

Edit: Added Libwidevine extraction bit
Edit 2: Updated install procedure to reflect the OSMC-v18-alpha skin
Edit 3: Plugin now extracts libwidvine by it self, no need for extraction script.
Edit 4: Added an automation script.
Edit 5: Removed instructions for v18 nightlys.
Edit 6: Changed the version requirements for pycryptodomex, and changed the download to netflix-repository, defaults to Kodi v.18 addon, remarked Kodi v.19 in script.
Edit 7: rewrite the instruction to match current OSMC stable
Edit 8: rewrite the instruction to match current OSMC stable again
Edit 9: MMAL is only option for Pi now so drop omxplayer hint

23 Likes