
Install Netflix Amazon Prime Video and Plex on the Raspberry Pi in Kodi using OSMC
The Raspberry Pi makes a great little media center, but one thing it has always lacked was Netflix support. Now thanks to the upcoming release of Kodi Leia, we can now make that a reality! This installation does use nightly builds of OSMC to get the latest version of Kodi v.18, so keep in mind this code is in progress and there are the possibilities of issues. Lets get started…
Lets install OSMC
Lets grab the latest release version of OSMC from here.
Once downloaded, write the image to your SD card. If your new to writing images, there is a great cross-platform program called Etcher you can use to write to the SD card. It can be found here.
Once your have written to the SD card, lets insert and start our Raspberry Pi.
Configure OSMC
On first boot, OSMC will install, then ask you a number of setup questions.
Set your Default Language
Set your Time Zone
Set your Device Name
Make sure SSH is Enabled
Configure your Networking (Wired or Wireless)
Choose OSMC for your default look (Estuary may have playback issues with the Netflix add-on)
Once all the configuration is completed, you should be at the OSMC homescreen. Head down to Settings, then to System Info and note what the IP address is of your Raspberry Pi.
Lets update OSMC to a nightly build
Next we need to update OSMC to one of the nightly builds. To do this we need to SSH into our Raspberry Pi. If you need some help with this, there is a great program for windows called Putty, which can be downloaded here.
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Using your SSH client, and the IP address noted earlier now connect to your Raspberry Pi. The defaults are login is
Username: osmc
Password: osmc
This should log you into your Raspberry Pi.
Lets update our apt sources to include the nightly builds of OSMC.
sudo nano /etc/apt/sources.list
This will open our sources file. Scroll to the bottom, and add the following line.
deb http://download.osmc.tv/dev/gmc-18 gmc-18 main
Press CTRL+x, enter Y to confirm, and press enter again to save our changes.
Now lets add the gpg certificate for the new source.
wget -qO - http://download.osmc.tv/dev/gmc-18/pubkey.asc | sudo apt-key add -
Now, lets set OSMC to run on our specific build with the following commands. Enter each one at a time.
sudo apt-get update sudo apt-get dist-upgrade -y
This will install OSMC to the latest OSMC beta build and supports the newest version of widevine. Previously the guide used versions 17.8-387, 17.8-370, 17.8-351, 17.8-339, 17.8-319, 17.8-315, 17.8-290, 17.8-243 & 17.8-225.
Lets add some dependencies
In order to get our add-ons working correctly, we need to add some additional dependencies and their recommended packages.
sudo apt-get install python-pip python-crypto build-essential -y sudo apt-get install python-all-dev python-setuptools python-wheel -y sudo apt-get install python-crypto-dbg python-crypto-doc python-pip-whl -y
Now lets install our Python cryptography dependency.
pip install pycryptodomex
To make sure our add-ons are finding our pycryptodomex module, lets add a symbolic link to the location.
sudo ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome
Lets get our add-ons
You can download these .zip repositories directly in Kodi, but its nice and simple to cut and paste these links into our SSH session. So lets download our Netflix and Amazon Prime Video Addons here.
wget https://github.com/castagnait/repository.castagnait/raw/master/repository.castagnait-1.0.1.zip wget https://github.com/Sandmann79/xbmc/releases/download/Repository/repository.sandmann79.plugins-1.0.3-leia.zip
Once downloaded, lets go ahead and reboot our system.
sudo reboot
Lets Install our Add-ons
Now that we are all setup, lets configure OSMC. First, lets enable our newly downloaded Add-ons.
Plex
Settings -> Add-on browser -> Install from Repository -> Video add-ons
Move to the left until the sidebar opens, and select Check for updates.
Now scroll down to Plex and select. Then select Install. And Ok to confirm.
Amazon Prime Video
Settings -> Add-on browser -> Install from Zip File
Root filesystem -> home -> osmc -> repository.sandmann79.plugins…
This will install the repository. Now we install the add-on.
Settings -> Add-on browser -> Install from repository -> Sandmann79s Repository
Video add-ons -> Amazon VOD (Select Amazon if you live in Germany)
Now select install and okay. I tested with Amazon VOD version 0.6.3~beta.
Netflix
Settings -> Add-on browser -> Install from Zip File
Root filesystem -> home -> osmc -> repository.castagnait.zip
This will install the repository, now lets install the add-on.
Settings -> Add-on browser -> Install from repository -> Netflix Addon Repository
Video add-ons -> Netflix
Select Install, Select newest version, and select okay. (script.module.pycryptodome will state unavailable, but we took care of that earlier.) I tested with version 0.13.21.
Lets configure our installed Add-ons
Amazon Prime Video configuration.
Settings -> Add-on browser -> My add-ons -> Video Add-ons -> Amazon VOD
Select Configure
Under General, change Playback with to Input Stream.
Under Connection, go to Sign In, and login to our Amazon Prime Account.
Netflix Configuration
Settings -> Add-on browser -> My add-ons -> Video Add-ons -> Netflix
Select Configure
Under Account, select Switch Accounts and enter your login information.
InputStream Configuration
Settings -> Add-on browser -> My add-ons -> VideoPlayer InputStream -> InputStream Adaptive
Select Configure
Set your Max Resolution general and secure decoders to your desired resolution and Select Ok.
Running Netflix or Amazon Video for the first time
Netflix (and Amazon Video) require a proprietary decryption module called Widevine. Luckily our add-ons will take care of this for us. Select a Netflix or Amazon show and start an episode. You will then be prompted to Install Widevine. Because it is propriety it will be downloaded from a Chrome OS recovery image. Select yes to continue, and accept the license and root permissions. Once downloaded you will be prompted once more to install.
This installation will take some time, and prompt you a few times for the license agreement, root privileges, and installation. Once the installation is complete, lets reboot once more. Head back to the home screen, to Power and select reboot.
The first time you launch the video, the quality may be poor, but after the first launch it should improve to your selected quality. You can launch both Prime and Netflix and back out. Next time in should be looking great! Depending on your Raspberry Pi, you may need to play with some of the quality settings under the input stream settings to get nice smooth video streaming. Netflix seems to be more cpu intensive on the decryption/streaming.
All finished!
Congratulations, you should now have a working Media Center which you can use for your local content, as well as Netflix, Amazon Prime, and Plex. To be on the safe side, turn off your automatic updates for OSMC, and your add-ons to ensure updates don’t break anything. It may also be wise to decline Widevine updates as well as a recent update actually broke the system.
If you found this guide helpful please leave me some encouragement below! If your really happy, you can always gift me a coffee, I can never say no to coffee!
I have also by request added a bitcoin donation address. If you want to show your appreciation I would be grateful, but under no means do you need to feel obligated. This is a fun hobby for me. 🙂
BTC: 1GzagpXcAkELhU5emJFMLZpp7J5ayf
And for those that have, thank you for enabling my coffee addiction!
hai frind, I tried and Amazon works fine, netflix, can parse all movie titles, but it go out when I try to play a movie. Do you want to debug with me the problem?
Hi Fabio, if Amazon Video is working then it correctly installed the Widevine plugin for the decoding. I would try uninstalling, then reinstalling the plugin again to see if it works. Sounds like its just not launching the video correct? Is there a crash or anything else?
No crashes, only I can see all netflix frontend, choose my movie, click on it, wait, and after some seconds where a small animation wheen in the upper right corner (it depends by my theme), the screen don’t turn into the player ad go again to the netflix frontend.
I add that first I run amazon prime vide and the Widevine plugin installed correctly, after I run netflix and I can’t view movies, I rebooted again and i run netflix, and pront asked me to install widevine plugin: I installed it and I got the situation explained on top of this reply.
The widevine install should only need to happen once and doesnt matter if its by Prime or Netflix (I have done both). When I installed the first time I selected Netflix after Widevine installed it did dump back out to the selection screen. But second worked and has worked since. When you installed under Amazon Prime, did the video work there?
yes, in amazon prime, everything is ok
Hi Fabio, try installing version 0.13.2 of the Netflix plugin instead of the newest one. I am wondering if the new version has broken it.
Hi Darryl, hard work 🙂
So… today I tried to uninstall 0.13.4 netflix plugin to install 0.13.2 or less.
I uninstalled successully the plugin, but I can’t uninstall nothing else…
I see the page where I can choose the plugin version, but when I select it (it’s strange because I can only see 0.13.4 and not the 0.13.6 successfully installed by TOM), I can’t reach the internet repo and the install failed.
The message is the repository is unreaceable….
I’m sure the osmc is online!I can ping external sites from cli…. So… could you kindly help me.
PS:
second strage thing is I correctly installed pycryptodomex
***********************
osmc@osmctv40:~$ pip install pycryptodomex
Collecting pycryptodomex
Installing collected packages: pycryptodomex
Successfully installed pycryptodomex-3.6.1
************************
but when I try to install netflix addojn, I can see all dependences with pycryptodomex row with the description:
script.module.pycryptodome not available
What do you thing about that?
Thks
Fabio
Hi Fabio, the plugin does show as the pycryptodome module as being unavailable but that’s okay. In the previous steps where you installed it, and created the symbolic link, it allows the plugin to find it after installation. It only shows as unavailable at that one point.
Hi Darryl, I installed according your guide – great work. However I experienced after the installation of the Netflix and Amazon (German version) plugins frequent crashes of Kodi and got sad faces in a loop. Re-installed from the scratch several times but allways got the same result. Finally installing backup fixed the issue as recommeneded in an OSMS thread (it was stated that Kodi is in Alpha and likely would be the source of trouble). Unfortunately it deleted all plugins but for some reason did not asked for widevine installation again.
I then changed your scripting to a later build of OSMC and re-installed all plugins.
sudo apt-get install rbp2-mediacenter-osmc=17.8-348 -y –allow-downgrades
I have choosen the Kodi theme estuary since it seems to be lean and lightweight.
Since then I havent experienced frequent Kodi crashes.
Hi Christian, I know builds 347 and 346 had issues, but sounds like 348 is working great! There was issues in the past with not choosing the Estuary theme so sounds like your set up right. I will update the guide soon to version 348 as it seems to be a solid build. Thank you for letting us know!
Darryl, followed your directions and got Amazon and Plex to work. Netflix add-on version 0.13.5 will not work – found errors in Kodi.log file. When I installed this add-on it indicated that “script.module.pycryptodome – Unavailable”. Un-insatlled version 0.13.5 and installed 0.13.2. This allowed me to connect to Netflix but would not play movies. I can send log information if you want.
Hi Tom, did the pip install pycryptodomex and following line execute okay during setup? Those two lines install pycryptodomex and make it so that the Netflix add-on can find its location. When installing the add-on it will show as unavailable, but it will run fine after installation. If either of those didn’t execute correctly that could cause the error. You should be able to re-run those commands at terminal, then reinstall the Netflix add-on. On first run of a video, the system will prompt to install Widevide if its not already installed. Did it prompt you for that installation?
the pip install pycryptodomex installed, the second line failed with “file exists”. Re-installed Netflix 0.13.5. Rebooted. Appears to have same errors in log file.
Did widevine install Tom? I used 13.2 when I initially made the guide. Its possible 13.5 breaks the process…
Widevine installed when I first ran Amazon VOD, Re-installed 0.13.2 and after 3 reboots it now works.- except it is in Germany language. Amazon still plays in english. Any ideas as to where to reset this to english. Thank you for all your help.
So Netflix is in German and Amazon is in English? Amazon has a German option in the add-on, Netflix should just work. I would guess its either something with your Netflix account, or your system locale is set to German. Check in your OSMC settings and see if its maybe set to Germany.
Host Caiano i re install Widevine?
Yes, if you ssh back into the raspberry pi and run these two commands, then a reboot it should ask you to reinstall like it did the first time…
sudo rm ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm/libwidevinecdm.so
sudo rm ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm/widevine_config.json
Good luck!
Update – installed Netflix 0.13.6 and it works with no errors, Netflix has and option for German in the audio stream, reset it to English. Also turned auto-update “off” for Netflix.
Perfect, glad you got it working Tom! One additional thing you may want to do is in the OSMC menu, turn off the Updates as well. That will get rid of the periodic prompt to upgrade the version of OSMC.
ok…. I confirm… netflix repo is offline…
Anyone can help on this?
Fabio
Yes, it appears the repo site is down. I changed the guide above to download 13.6 directly. It should work for you now using the same version that Tom has.
Great Darryl, it WORKS 🙂
I only find some movie that don’t start (but the major part works!!!!)
I suggest you to create a script to automatize the entire process.
Thks
Fabio
That’s great news Fabio. Glad its up and running! I may do that, thank you for the suggestion.
Hi Darryl, please, on your opinion, what could be the problem if there’s no sync between video and audio? In Netflix only.
Hi Fabio, this can be caused by a number of things. One of the more common issues is Wifi. If the network slows or drops it can cause the sync loss. If it seems consistently off, you can try changing the offset. While the show is playing select the speaker icon on the bottom right side. There you can adjust the audio offset to compensate.
No.wireless LAN Onlus cat5 canale with 100mbit/s wan
I am not sure Fabio, typically the sync issue has to do with a bottle neck somewhere, wifi, your internet or maybe even your rpi. Are you installing on a 3B, or 3B+? You can always try a slight overclock to see if that fixes the issue.
Hi DArryl, I’m going back to you to help someone else to solve some problems they can find…
So… I tried to go through the problem of shync, and find that if I choose a smaller resolution in INPUTSTREAM configuration, I dont’ have any issue.
I’m sure I have bandwidth, so only think I can suppose the problem is in the raspberry…
It is a 3 version.
I notice that often I got hte yellow graphic in the top right cornet that warn m e the power is not enought… but until now, no sync problem I find using amazon, stream on demand and so on.
Only netflix is impacted.
I’ll try to change the power unit (it’s a 2A unit, so I can’t belive it could be less than enough 🙂 )
Could you help me to better understand the INPUTSTREAM configuration, to better trim it and try to solve the problem?
Thks all…
Fabio
Hi Fabio, so in the input stream config (the add-on configuration) you have a ‘Stream Selection’ setting. Set to auto, it will automatically pick a streaming resolution for you. I am not sure how it chooses but its probably based on possible types, bandwidth, cpu etc.
If you set this to Manual, then when you are watching a video, you can go into the setting in the video playback (where it shows the timeline etc) and go into the video settings and select a resolution there from there based on available streams. You can also make default there.
Netflix and Amazon video use Widevine for the decryption of copyright streams. How hard it needs to work depends on the encryption and stream quality. The yellow graphic on the top right your seeing is saying your are under-voltage on the power. When this happens the RPI can throttle back the CPU. If you have a quality encrypted stream, and are running on a throttled CPU it may not be able to handle it consistently.
That would be my guess anyway… Hope this helps!
I have the same issue. I have to limit stream at 720p and than Netflix works well. I’m afraid even pi 3 b+ (as I have) is not powerful enough.
I attempted some overclocking to see if I could get rid of any lag/sync issues at 1080p. Overclocked to 1.5 I got a little video stuttering, and beyond that speed I was getting Kernel panic. I was running on 5ghz wifi though as well which may have also been the issue… Running at 720p I have never had video or audio issues.
Thanks, have been wanting to do this for a while, and these instructions made it easy
Thank you Alice, that was my goal! 🙂
Your guide is amazing. Thank you.
I’ve got a little problem here: I use a hifiberry because my AV doesnt have HDMI, so I use SPDIF for sound connection. Every movie or series played via Plex works fine (DD/DTS). But on Amazon oder Netflix every movie/series is in 2.0 stereo. Is there something I have to change in the settings? Couldn’t find anything.
Hi Jan,
I am not sure on this, I have been using mine via HDMI and the 5.1 works when its set in the sound settings. You can try this which I found on the Hifiberry forums for integration with OSMC.
https://www.hifiberry.com/build/guides/enabling-hifiberries-in-osmc/
Hope this helps!
Hi Darryl,
thanks for the link. Thats how I set up my OSMC. When I play something with the Plex app the sound is fine. So general settings on the Pi should be correct. But when I play something with Netflix/Amazon app the sound is always stereo. So I thought I may be settings of the apps itself.
Hi Jan, try going into Settings -> System -> Audio and make sure that you are set to 5.1 sound there. Kodi may be set to stereo, and Plex may be overriding the defaults to stream in the 5.1 sound.
Hello, I’m a Raspberry noob so I followed this slowly and deliberate. But it still doesn’t work, specifically when I try to install the Netflix repo from the zip, it says “Failed to install add-on from zip file. The dependency on script.module.pycrptdome version”, I made sure to install pycrpt (it said successful) and to use sudo ln command (when I repeat it it says “File Exists”). Not sure what I did wrong here, I also tried to download the Netflix repo 13.2 and 13.4 by just changing the link, the download worked but installing it gives me the same error message…
Hi Alex, I just want to clarify a little, this is happening when you are going to Settings -> Add-on Browser -> Install from Zip File Step? You can alternatively try downloading this as well…
wget https://github.com/kodinerds/repo/raw/master/repository.netflix/repository.netflix-1.0.1.zip
It was the original Repo I had with the guide, but it did go down for a while. It seems to be back up again and perhaps will help with the problem.
Yes that is when it happens, the new repo you posted installed correctly. However doing “Install from Repository” yields the same error message “Failed to install add-on. The dependency on pycrptdome”
Did the sudo ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome command work as well? The add-on does look in the incorrect place for pycryptodome, but this line should correct that. It will still say its unavailable when your going to install the add-on, but it will install and work correctly…
ln: failed to create symbolic link ‘/usr/lib/python2.7/dist-packages/Cryptodome/Crypto’: File exists
this is the error message I get
All looks okay then Alex. I am not sure why the install is failing. I will try a reinstall tonight and see if I can make it though the installation and update accordingly…
Hi Alex, sorry for the delay in getting back to you. Got busy and didn’t have the time. I did reinstall today though and everything worked perfectly following the guide. Only thing I noticed is downloading Netflix from the new location (instead of the repo that went down) directly installed the Add-on, so I didn’t need to install from the Repository like I did with the Amazon repo. My only suggestion is that you may want to wipe and try again as something seems to have gone haywire along the way.
10 June 2018: Excellent guide! Working well here but with changes suggested from Darryl above. My experience:
1) NetFlix addon from https://github.com/asciidisco/plugin.video.netflix/archive/0.13.6.zip installed but a bug prevents adding/editing email and password. The latest kodinerds add-on worked fine.
2) It was not necessary to downgrade to version 225. Both 225 and newest worked but newest at this time works better overall than ver. 225
3) Necessary to use OSMC skin. The default Estuary skin won’t play NetFlix
Thank you for the updates Wessel! I did have some issues with newer alpha versions of OSMC completely breaking it so I am glad to hear the stability has gotten better! Now that the kodinerds add-on is back online I will add it back into the guide. I actually never tested the Estuary skin, whenever I use OSMC I stick with its skin. Personal preference… Thanks for letting me know!
Hi Darryl, bad news…
I changed the template with confluence to better play SOD and other addons I use, and after some days… netflix won’t start to play movies.
Amazon work like a charm, meanwhile Netflix crash (the screen go to the menù and don’t visualize che playing movie).
What Do you suggest? I already go back to OSM template.
Is oit better to reisntalkl from scratch or there’s something I can do with the actual system?
Thks
Fabio
Hi Fabio, yea the Confluence theme does cause some crashes and overall on these early builds the OSMC template does work better. I would try and reinstall the Netflix add-on and see if that helps, but I suspect that you will likely need a reinstall unfortunately.
Thanks to Wessel, I have updated the guide to a newer beta version of OSMC that works and is a little more stable. If you do have to reinstall, hopefully this will make the entire install experience a little better for you!
Great Guide!!!!! I try different guide, but finally, with your guide, I got my OSMC works with Amazon prime video…. thanks
Thanks Emmanuele!
Thank you for this, got Netflix and Amazon working first time following your info.
I am glad to hear that! Enjoy!!
Downgrade needs option –allow-downgrades (at least in my case):
sudo apt-get install rbp2-mediacenter-osmc=17.8-243 -y –alow-downgrades
Hi Marc, I haven’t had to set that option before, but I am sure it won’t hurt having it added either way. I will make a point to add that into the guide. Thanks for letting me know!
I had no issues whatsoever. works beautifully. I was wondering if you also had a solution for Hulu
Hey Adam, so I had posted two different solutions here, but upon testing, neither worked. I will do some looking and see if I can find something that works. I will update this comment accordingly…
Thansk a lot for the great guide! It works like a charm.
Thanks Joss! Took me a while to get this working so I am glad to share with you all!
Really simple and helpful guide here. Worked with absolutely no error. I was wondering if you can download content from there similar to the windows or android version. Thanks again.
Hi Mohamad, if you have your own content, you can watch it using a flash drive or share, but from our plugins its streaming only for the time being…
Hi, is there a way to setup OSMC as a virtual tuner on Plex Live TV & DVR? I have my PVR IPTV Client already setup with my iptv channels. I just need to figure out how to use the OSMC server on my network to act as a “HomerunHD” tuner similar to what Telly does. Thanks.
Hi Curtis, this is a good question. As far as I know there isn’t a way to do this but a good place to ask would be over on the Raspberry Pi Forums. There may be someone there who has done this, or at least know which direction to point you…
Hi Darryl – tried this many times but stumbling at the first hurdle. Getting “Version ‘17.8-225’ for ‘rbp2-mediacenter-osmc’ was not found” when trying to apt-get install this file. I’ve followed the initial steps to the letter. Any hints? Thanks, Matt
Hi Matt, you should actually be pulling in version 17.8-243. Is that the one your having trouble downloading?
I just had a look and it appears OSMC has removed some of the older builds.
I have updated the guide and tested it against the latest version 17.8.290. There is an issue with the Prime Plugin for the moment which should be fixed soon once they push the new code to the repo. Either way, if it does give you an error when running the plugin there is instructions for the fix as well.
worked perfect!
Hi,
Thanks for this guide – I’ve just followed it to the letter (twice!) On both occasions I came up with the following problem. My system is a Raspberry Pi2 and on each occasion I have done a clean install, with the exception that I have installed version 262 (instead of 243) using the following line;
# sudo apt-get install rbp2-mediacenter-osmc=17.8-262 -y
I get as far as signing into my Amazon Prime account (Amazon VOD > Configure > Connection > Sign in…) whereupon I am returned to the screen showing the Amazon VOD Add-on, without it allowing me to put my login details in.
Looking at the error file (sudo nano /home/osmc/.kodi/temp/kodi.log) I can see the following error;
22:17:07.088 T:1492120304 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
– NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type:
Error Contents: character mapping must return integer, None or unicode
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/default.py”, line 3, in
from resources.lib.startup import EntryPoint
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/startup.py”, line 6, in
from .network import *
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/network.py”, line 19, in
from .logging import *
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/logging.py”, line 9, in
g = Globals()
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/singleton.py”, line 14, in __call__
cls._instances[cls] = super(_Singleton, cls).__call__(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/common.py”, line 70, in __init__
self._globals[‘deviceID’] = self.genID()
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/common.py”, line 104, in genID
guid = hmac.new(getConfig(‘UserAgent’), uuid.uuid4().bytes, hashlib.sha224).hexdigest()
File “/usr/lib/python2.7/hmac.py”, line 136, in new
return HMAC(key, msg, digestmod)
File “/usr/lib/python2.7/hmac.py”, line 75, in __init__
self.outer.update(key.translate(trans_5C))
TypeError: character mapping must return integer, None or unicode
–>End of Python script error report<–
22:17:07.089 T:1492120304 DEBUG: onExecutionDone(5, /home/osmc/.kodi/addons/plugin.video.amazon-test/default.py)
A bit of googling suggests that I am not the only one to have had this problem but there doesn't seem to be a solution posted anywhere. There is a suggestion that if you ask the add-on to store the credentials instead of using a cookie then it will work but changing this setting hasn't helped for me.
Can anyone shed any light on this for me?
Many thanks in advance.
No Oli, sorry about the late reply, for some reason it had been marked as spam. Did you manage to get this figured out?
I noticed in you last comment you were going do some testing, anything new? Thanks
I got Plex installed nothing else
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Version ‘17.8-290’ for ‘rbp2-mediacenter-osmc’ was not found
osmc@RPI3B:~$
Hi Stephen, yes the guide was updated today. Its now using the newest build (as of today) and is working well. Its possible a few additional steps may be needed to get the Amazon Video plugin to work, but they are shown if needed. I stepped through everything after I finished writing it and it should work just fine.
I see by your error its saying version 290 was not found. Did you get the source information at the top of the guide added in okay?
The 290 loaded up this time and everything seems to be working or trying to work Amazon is taking a while to log in. This document was very helpful, thank you very much for taking the time to prepare the instruction.
Hi Stephen, glad to hear it seems to be working. Out of curiosity, did you have to do the extra steps to get Amazon to work?
Thank You
My pleasure!
Hi ! Thanks for the tutorial. I’m running into an error when trying to use Netflix. My credentials don’t work and I’m getting an error message
Login failed check your credentials
I have tried to reinstall the addon, then the all system but I still have the same error. Any help would be greatly appreciated !
Here’s the end of my OSMC log error :
18:08:07.687 T:1917366272 ERROR: Control 50 in window 10025 has been asked to focus, but it can’t
18:08:11.991 T:1701835504 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following err$
– NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type:
Error Contents:
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.netflix/addon.py”, line 33, in
NAVIGATION.router(paramstring=REQUEST_PARAMS)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils.py”, line 45$
result = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, li$
options = self.before_routing_action(params=params)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils.py”, line 45$
result = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, li$
‘method’: ‘is_logged_in’}))
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, li$
data = urllib2.urlopen(full_url).read()
File “/usr/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 429, in open
response = self._open(req, data)
File “/usr/lib/python2.7/urllib2.py”, line 429, in open
response = self._open(req, data)
File “/usr/lib/python2.7/urllib2.py”, line 447, in _open
‘_open’, req)
File “/usr/lib/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib/python2.7/urllib2.py”, line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File “/usr/lib/python2.7/urllib2.py”, line 1198, in do_open
raise URLError(err)
URLError:
–>End of Python script error report<–
18:08:12.247 T:1701835504 WARNING: CPythonInvoker(12, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): the python script "$
18:08:12.259 T:1799344880 ERROR: GetDirectory – Error getting plugin://plugin.video.netflix/
18:08:12.260 T:1917366272 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/) failed
18:08:34.466 T:1511408368 WARNING: CPythonInvoker(13, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): the python script "$
18:09:13.975 T:1917366272 ERROR: Control 50 in window 10025 has been asked to focus, but it can't
18:09:38.483 T:1493164784 WARNING: CPythonInvoker(14, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): the python script "$
18:09:38.493 T:1566298864 ERROR: GetDirectory – Error getting plugin://plugin.video.netflix/
18:09:38.494 T:1917366272 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/) failed
Hi Mr. Cloud, which version of the add-on are you installing, is it .10?
Hi Darryl,
thank you for the awesome guide!
I would like to use just the Amazon VOD addon. I did the install steps related to Amazon (so I skipped the “pip install pycryptodomex” line, as it’s for Netflix), but when I’m trying to start it, I get an error message saying “PrimeVideo error. Unable to find the main primevideo.com”
I’m living in Hungary, but I have an Amazon Prime account, and I can watch Prime contents on my notebook, so – I guess – my location cannot be the problem in this case.
Do you have any suggestions?
thanks,
Gabor
Hi Gabor, actually you do need the pycryptodomex line. I need to reword that, its not just a Netflix dependency. The following line adding the symbolic link I think is Netflix only, but it doesn’t hurt to add that as well. Basically you want to do everything except for the wget on the Netflix repository, and the installation of the Netflix add-on. Sorry about that, the way I wrote that is definitely misleading. Try installing that, and even the installation of the symbolic link just to be on the safe side and reboot. Hopefully that will correct the issue.
Hi Darryl,
thank you for your fast response!
Since them I realized, that my Amazon account is german, actually.
I thought, that “german user” is who lives in Germany right now, but then I read the app descriptions in OSMC, and I understood, that it depends on the account’s origin, not on my current location.
I think this was a problem. (And, of course, I will do the pycryptodomex install aswell.)
So I tried to install the “Amazon” app instead of “Amazon VOD”, but I got another error… It tries to install some dependencies, but the MySQL package cannot be installed for some reason…
Could it be related to any of mine previous issue?
thanks,
Gabor
I have not tried the Amazon app and didnt know that it needed MySql. What you can is, when you do your initial configuration after installing OSMC look for MySql in menu. It will be at the bottom of the list when your configuring your networking. Enable there, and hopefully that will meet the prerequisites for the Amazon app. When I have a chance I will try and stop through the process as well to see if it works!
Hi Darryl, thank you again for your suggestions!
I’ll try it in the next few days, then I will reply my results!
regards,
Gabor
Good luck!
Hi Darryl,
here are the news: I did the pycryptodomex install, and there was an osmc system update, too. After those steps I managed to install the MySQL dependency (I’m not sure about the coincidences however 🙂 ).
Then I realised, that I don’t have enough free space to download the Chrome OS image (I have a triple-boot system on a 16GB microSD). I tried to find a solution to install the chromium-widevine plugin _only_, but it seemed tough, so I just changed partition sizes, then used the whole image.
Sadly, my Amazon still doesn’t work. If I try to play some movie, I get the message: Unable to play. Invalid request.
Kodi log isn’t really helpful this time, as you can see below.
I’ve tried to reinstall the Amazon addon, without any result…
I would be grateful for any ideas.
Regards,
Gabor
20:06:15.235 T:1365242608 DEBUG: [script.module.inputstreamhelper-0.3.3]: [‘ldd’, ‘/home/osmc/.kodi/cdm/libwidevinecdm.so’] cmd executed successfully.
20:06:15.235 T:1365242608 DEBUG: [script.module.inputstreamhelper-0.3.3]: [‘ldd’, ‘/home/osmc/.kodi/cdm/libwidevinecdm.so’] cmd output:
linux-vdso.so.1 (0x7ecbd000)
/usr/lib/libarmmem.so (0x767eb000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x767c7000)
libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x766bb000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x766a8000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x76692000)
libnss3.so => /usr/lib/arm-linux-gnueabihf/libnss3.so (0x765ce000)
libnssutil3.so => /usr/lib/arm-linux-gnueabihf/libnssutil3.so (0x765a2000)
libnspr4.so => /usr/lib/arm-linux-gnueabihf/libnspr4.so (0x7656d000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x764f5000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x764cc000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x763de000)
/lib/ld-linux-armhf.so.3 (0x76f69000)
libplc4.so => /usr/lib/arm-linux-gnueabihf/libplc4.so (0x763ca000)
libplds4.so => /usr/lib/arm-linux-gnueabihf/libplds4.so (0x763b5000)
20:06:15.235 T:1365242608 DEBUG: [script.module.inputstreamhelper-0.3.3]: There are no missing Widevine libraries! 🙂
20:06:15.236 T:1365242608 DEBUG: CAddonSettings[script.module.inputstreamhelper]: loading setting definitions
20:06:15.236 T:1365242608 DEBUG: CAddonSettings[script.module.inputstreamhelper]: trying to load setting definitions from old format…
20:06:15.237 T:1365242608 DEBUG: CAddonSettings[script.module.inputstreamhelper]: loading setting values
20:06:15.238 T:1365242608 DEBUG: [script.module.inputstreamhelper-0.3.3]: Widevine update check was made on 2018-08-13T17:06:24
20:06:15.259 T:1365242608 NOTICE: [Amazon] getURL: https://atv-ps-eu.amazon.de/cdp/catalog/GetPlaybackResources?asin=B01J93ZQDY&deviceTypeID=AOAGZA014O5RE&firmware=1&deviceID=7a71bffc00b125e1c1f190aa6319
20:06:16.105 T:1798619888 DEBUG: CWebServer[8080]: request received for /jsonrpc
20:06:16.347 T:1365242608 DEBUG: Previous line repeats 1 times.
20:06:16.347 T:1365242608 ERROR: [Amazon] Cannot complete request. (prs.invalidrequest)
20:06:16.351 T:1365242608 INFO: CPythonInvoker(29, /home/osmc/.kodi/addons/plugin.video.amazon/default.py): script successfully run
20:06:16.382 T:1918009344 DEBUG: —— Window Init (DialogNotification.xml) ——
20:06:16.399 T:1918009344 DEBUG: GLES: Extension Support Test – GL_EXT_texture_format_BGRA8888 YES
20:06:17.654 T:1798619888 DEBUG: CWebServer[8080]: request received for /jsonrpc
20:06:22.260 T:1918009344 DEBUG: Previous line repeats 5 times.
20:06:22.260 T:1918009344 DEBUG: —— Window Deinit (DialogNotification.xml) ——
20:06:22.514 T:1798619888 DEBUG: CWebServer[8080]: request received for /jsonrpc
20:07:12.683 T:1590686448 DEBUG: Previous line repeats 63 times.
20:07:12.684 T:1590686448 NOTICE: ES: Client from ::ffff:192.168.0.12 timed out
20:07:13.241 T:1798619888 DEBUG: CWebServer[8080]: request received for /jsonrpc
20:07:14.319 T:1468261104 DEBUG: Previous line repeats 1 times.
20:07:14.319 T:1468261104 DEBUG: [Amazon] DB Update already running
20:07:14.794 T:1798619888 DEBUG: CWebServer[8080]: request received for /jsonrpc
20:07:16.882 T:1582297840 DEBUG: Previous line repeats 3 times.
Hi Gabor, I actually wouldn’t install the OSMC update. This is still in development and has not been officially released yet. The downgrade is to a build of Leia that I have personally tested and am using so I know that it works correctly. Newer builds have had varying effects, some have worked others have broken the setup. If you can, install the version shown, and disable the updates in OSMC. That is at least until they officially release this new version some day. Hopefully this helps!
Hi, my comments don’t show up so I will try one more time.
First of all, thank you for the guide.
Everything works well except when I try to install the addon from respository.
I get the message that dependensies failed to install.
I try this on a fresh install of the todays latest OSMC.
Again, everything works flawlessly until the installation of addon from respository.
Hi Oscar, the comments go to me first then I reply or approve so it was sending okay. 🙂 Are you installing the 290 build of OSMC? Its the line saying 17.8-290… Its the build I tested against. When you are installing the add-on, it will display that pycryptodomex is unavailable as well but it does work and is available. There are a number of dependencies that do install with Netflix, if you have done both of the previous things can you see what it says in the logs? If you SSH into your Raspberry Pi, you can enter ‘cd ~/.kodi/temp’ and inside is a file called kodi.log which may have some details.
Also the Netflix repo was down for a bit today, I am wondering if you happened to be working on it while it was down perhaps…
Installed properly according to the guide. I’m able to sign into my Netflix account and browse but streaming does not work.
Hi Ones, this looks like the widevine decryption module didn’t install correctly. Its takes a while for all this process to complete. The download is just under 2 gig, then it uncompresses and installs the module from there. I am wondering if this didn’t install right. Sometimes but not always you need a reboot after the installation as well to make it work. Have you tried a reboot, has it prompted again to install after the reboot?
Dear Darryl,
Thank you for your efforts and a fantastic guide.
I am also facing the same issues as Oscar above. I have checked the logs, please find below a sample extract of the same.
“17:49:30.989 T:1547694832 ERROR: CRepository: http://download.osmc.tv/kodi/addons/leia/addons.xml.gz index has wrong digest 7e4b55a6428c0c4ceaf4bbed14b30ace95d309730d745dd9a8cdc585a466b5$
17:50:17.292 T:1625932528 ERROR: Requested path http://download.osmc.tv/kodi/addons/krypton/script.module.beautifulsoup/script.module.beautifulsoup-3.2.1.zip not found in known repositor$
17:50:17.292 T:1625932528 ERROR: CAddonInstallJob[script.module.beautifulsoup]: failed to resolve addon install source path
17:50:17.294 T:1625932528 ERROR: CAddonInstallJob[plugin.video.amazon-test]: failed to install dependency script.module.beautifulsoup
”
If I try and pick up the HTTP path and paste it in the browser the zip file is available. So wondering if you could help me too with regards to the same issue. Any Video Add be it Plex, Amazon or Netflix i am getting the same issue as the installation of dependencies have failed.
Awaiting your response.
Thank You.
Best Regards
Zubin
Hi Zubin, looks like its having issues installing parts of the Add-on itself. This should be covered/fixed by the plugin authors themselves. I see that its having trouble downloading beautifulsoup. That is a package that allows parsing of websites and is readily available. What you can try is installing it manually by using ssh back into the Raspberry Pi and typing ‘pip install beautifulsoup4’. This will manually install beautiful soup much like we did with pycryptodomex and should be usable by the addon. You will need to try reinstalling the add-on again after installing beautifulsoup. Hope this helps!
Dear Darryl,
Thank you for your response much much appreciated. I kinda thought the same as mentioned above and did try it and it worked. I could install Netflix but it would just not login. May be it required a reboot or something. Then today it did allow me to login and load my profile, but then it said about widevine module to be installed and it did install that as well. It did not work again, then took one more reboot and bingo worked like a charm 🙂
Thank you once again for all your contribution towards this, your efforts have really paid off well. I am a big fan of netflix and post netflix have never looked back at my dish tv 🙂 lolzzzz…
Best Regards,
Thank You.
Zubin.
Glad you got it working Zubin, I too am a big fan. Love not having to deal with commercials ha!
Exactly bang on target, plus they take a lot more time for the movie we end up spending like more than 2 hrs plus for an English movie and more than 3 hrs plus for a local Indian (Hindi Language) movie. Sometimes we have content loss because of cuts in the movie as per censor board guide lines.
So now that I am set and running, all I need to make sure that my OSMC does not update is that correct ?
I would suggest yes Zubin. Under the OSMC menu you can disable the automatic updates. That way you can ensure that it will keep running as it does now!
Hi there,
This guide looks great – but will it work on a standard OSMC build? I have on running on a RPi3, but when I download the repositories, I cant find them in /home/osmc – in fact, all I can see there is .config, .kodi and Movies, Music, Pictures.
Is there any advice you might have?
Thanks!
Hi Emrys, no it wont work on the standard download. V.17 of Kodi in the standard current release of OSMC doesn’t support the widevine module which Netflix and Amazon Prime use for encryption. V.18 of Kodi which is in development now does. This guide basically shows you how to install a ‘beta’ of OSMC which has Kodi V.18 that I have tested and know to work with the Netflix and Amazon streaming add-ons.
Netflix doesn’t appear in menu. Can install it without problem but doesn’t appear when I wan’t to go in.
Hi Conrad, you are looking in Video -> Video-Addons correct? This is where everything will appear.
Hi. Thanks for this guide! I followed all steps and it all works well, however, when I try to install widevine cdm, it says that it is not available on this system architecture. I think I know the answer to this question, but to be a little optimistic, is there a way to get around this? Or do I need to accept that my pi is too old to be able to run it?. TIA
It’s probably too old Nathan. Are you pre-rpi 2?
Hi,
sudo apt-get install rbp2-mediacenter-osmc=17.8-290 -y –allow-downgrades
this version is not avabile anymore..
May i kindly ask you to updathe the tutorial accordingly all updates? Thanks..
Can do Anur! I am travelling right now so if you want you can ignore that step and use the latest version. I have not tested but I think it will likely work okay for you. When I have a chance I will update the guide to a tested version.
It did not work lates version. Repository in the zip file are extracted as expected but netflix install gives error with lates version.
Thanks Onur, I will keep that in mind when I look to update the guide to a newer version.
i got the same error on a pi zero w
Hi Stanisor, I think in this case it may be a processing power issue, it may not be able to handle decryption fast enough to render a proper stream. We could check the log here as well and see what the error is. The log is located here /home/osmc/.kodi/temp/kodi.log
I have installed with the default version (rbp2-mediacenter-osmc armhf 17.8-312), ignoring this step, and it runs.
I only use Netflix. I don’t know if the rest of utilities are working.
Hi Onur, I just checked and version 290 is still available. I am not sure why you had difficulties downloading…
Hi Darryl,
First of all many thanks for your time.
Might be it was not aviable at that moment. I’ll try to reinstall again whenever i have time. Greetings…
Hi Darryl, ! week ago, installed all system, netflix and amazon (with icarus added), first load of netflix, again the async between video and audio.
I tried with 2A power supply, always the problem.
I tryed to optimeze the InputStream configuration, lowering the resolution from MAX to 720p, and everything worked for me…
I week and no problems at all.
It could be nice to try to debug why with a Pi3 there could be such problem…
Bye
Fabio
Hi Fabio, I am guessing that the Pi3 may struggle a bit keeping up with the video files at the higher resolutions, and is losing sync because of that. Lowering the resolution to 720p may reduce a bit of that load and allow it to keep up. You can maybe try a bit of an overclock to try and keep up with the files. Other then that, I am thinking that its just a lack of computing power on the larger video files.
Hello
I am a little issue: The system is not able to save the screen width corrections, and it is necessary to adjust the overscan each time that I start the raspberry. Does it a known issue, or do not I have well configured something?
Thanks
Lluís
Hi Lluís, are you configuring via the OSMC menu options?
Hi Darryl,
Yes I configure via OSMC options menu. And the value is lost when the system is shut down
Hi Lluís, so I am not sure why your settings are not saving, but one thing you can do to keep your overscan setting is to SSH into the RPI, and enter the following command. sudo nano /boot/config.txt Here you can adjust the parameter called disable_overscan= to 0 or 1, depending on what you need. Once complete hit Ctrl+x and save the file. Then reboot. Hope this helps a little!
hi there, sorry to bother, I though to write some big thanks 🙂 but unfortunately I have to write for help
I did follow your guide, top to bottom, but at the end, with both Amazon Prime and Netflix, what happen is…
select se movie or whatever, it start loading, then stops for an second then start loading again, I can see the play symbol on the top right but after few seconds, it goes back to the movie list, nothing happen, no error messages nothing, I did try different movies on both Amaz and Netflix, same thing, I did downgrade Netflix but still same issue,
I’m running osmc on a Pi3 B+
thanks for any support
Antonio
Hi Antonio, I have had this happen before (I have followed my own guide many times when updating which beta versions to use) and usually after another reboot, the movies/shows will play correctly. Sometimes that’s all it needs… Let me know if that helps!
Hi Darryl, thanks for your prompt reply, I did reboot like 10 times 🙁 still not playing videos on both
I thought that may have been to easy… First thing everyone does is reboot. 🙂 You may want to check your plugin configs and make sure they are both using inputstream and not browser. If they are, then I would guess because its the same with both plugins that something didn’t work correctly with the widevine installation. Its a big download and takes some time to install correctly, when you installed did that seem to finish? It prompts a number of times for download, license agreement, installation etc. You also need to make sure you have enough space on your SD card.
it seems to instal fine, yes it did ask for agreement and stuff, my sd is 32gb so I believe there is plenty of space 🙂
anyways, tomorrow I’l try from scratch all again but with only Netflix since at the end it is what I’m looking for 🙂
I’ll let you know tomorrow, thanks anyways for your support.
Antonio
Yes, you have lots of space! Hopefully tomorrow you have better luck Antonio, being a beta sometimes strange things can happen. I do know this works works on the B+, I used these exact steps for mine (and I use all 3 video sources) and it has been working great.
I have tried for a couple of days to install following the directions. 17.8-290 is not found.
As I was typing, it appears you updated the instructions to 17.8-315. Thank you.
Followed the instructions. Everything looks great, but the netflix or amazon videos never play. When you select the video, the title, time and a right arrow appear in the upper right corner of the screen. It then disappears. You stay on the screen showing the various episodes of a season. Thoughts or suggestions?
Erased and started over. Confirmed Widevine installed completely. Same results. Rebooted multiple times. Same results. It appears to be the same issue Anonio is having.
Logfile:
20:39:02.963 T:1465905904 NOTICE: Creating InputStream
20:39:05.118 T:1465905904 ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (/home/osmc/.kodi/cdm/libwidevinecdm.so)
20:39:05.118 T:1465905904 ERROR: AddOnLog: InputStream Adaptive: OpenDRMSystem failed
Okay, let me look into this Jeff. I typically run all the steps directly off the guide before publishing the update to ensure it works, but maybe something has changed with the widevine download recently. I will see if I can work around this issue… Will update as soon as I can.
It appears the recent widevine is incompatible with inputstream. I tried to follow the instructions at github for emilsvennesson/script.module.inputstreamhelper/issues/8#issuecomment-354973010. I think the version is too old to work. I was trying to find the widevine version from last week to see if that would fix the issue.
Everything was working perfectly until yesterday, when Netflix suggested me to update widevine to the latest release (17.8-315) and now I am not able to play anymore Netflix contents. I have the same issue of Jeff: when you select the video, the title, time and a right arrow appear in the upper right corner of the screen. It then disappears. You stay on the screen showing the various episodes of a season.
I should have not updated or at least waited…
same here.
Hi, Followed the guide 2-3 times but keep bumping into the same problem when i run: sudo apt-get install rbp2-mediacenter-osmc=17.8-315 -y –allow-downgrades
it tells me it already has the newest version (17.8-315) even though i just installed osmc normally. If i go on with the guide everything works except when i want to watch something on netflix it loads for a few seconds then returns to the previous menu.
Hi Tim, yes the downgrade option wont really come into play until they release a new build for the beta, its okay to ignore that message for the time being. As for the other issue, Google has changed how widevine works and it is now incompatible. I am checking into a workaround for that…
hi guys, I sorted this out, or better, I didn’t, google did and some other user but I was able to test only on LibreELEC, Netflix use to give the same issue there, then a found a post in https://github.com/ with a workaround , basically the solution was replacing libwidevinecdm.so , now I was trying to test on OSMC but everything seems to be down,
if I can paste here the complete link let me know and I’ll share 🙂
thanks
Hi Antonio, yes its definitely an issue with the widevine decryption module. Issue is to get the correct version of it, we need the previous version that works on ARM systems. The RPI downloads the entire Chrome OS image, opens it up and pulls out the libwidevinecdm.so file when it installs and adds it to Kodi. I have the file on my installation, but I am not sure if just posting that up to download will break copyright. So I was going to post how to download/extract the file from a previous recovery image. There are a ton of different versions! Jeff tried one from a Github fix but it wasn’t working correctly, so I was going to search for one that does work.
Check out the following: https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/35#issuecomment-418875665
I followed the instructions on the github provided above and it is working.
Hi Jeff, that is what i found as well and it works for me too with both Amazon and Netflix. Thanks
Thanks for the link. Today I’ve installed for the first time the Netflix add-on and it does not work, also replacing the libwidevinecdm.so library as indicated in the link above (I can navigate in the add-on, but I can’t play video). I’ve rasperry pi 2 with osmc 2018.08-2, kernel: Linux ARM 32-bit version 4.14.34-6-osmc
This the error: ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (/home/osmc/.kodi/cdm/libwidevinecdm.so)
Hi Darryl,Firstly I would like to thank you for putting together this awesome step by step guide. Everything was working like clockwork until I updated widevine recently. Thanks for searching a workable solution,look forward to it.
Hello Team,,,, Thank you very much for your efforts in solving the issue.. after replacing the the file libwidevinecdm.so.. Now i am able to watch the movies without any issues.. Thanks a ton…
Hi Darryl,
I am a complete noob but followed all instructions until the installation of nightly builds
I was unable to install build 315 or 312 as it said they were not found. I then used the commands which I found somewhere
sudo apt-get update
sudo apt-get dist-upgrade
Everything seemed fine and I have Netflix & Amazon which appear to work but neither will play video. Widevine was installed on first attempt and rebooting has not solved my problems. Is my build wrong and can I downgrade to one that is compatible
Try the guide again Martin. This has been updated so the video should work. Google updated their Widevine package which broke things but should be all good now. Its now using build 319 which is available. (Just installed myself) If it is saying their missing make sure to add the previous lines in the guide adding the source…
Hi! Netflix no longer works since about 1 day ago. This is true for both OSMC and Chromium on Raspberry.
Hi Albert, there is a fix listed for previous installations, or if you want to reinstall from scratch, the guide now supports the newest version of Widevine. Just finished installing myself and Netflix is streaming again…
Hi Daryl and thanks for this great Guide. When I trie to install NEtflix from the repo, I got the error:
Failed to install depndencies. The log is:
23:27:47.004 T:1918107648 DEBUG: —— Window Deinit (DialogSelect.xml) ——
23:27:47.005 T:1918107648 DEBUG: FreeVisualisation() done
23:27:47.023 T:1918107648 DEBUG: CAddonInstaller: installing ‘plugin.video.netflix’ version ‘0.13.12’ from repository ‘repository.netflix’
23:27:47.135 T:1918107648 DEBUG: GLES: Extension Support Test – GL_EXT_texture_format_BGRA8888 YES
23:27:48.058 T:1801450224 DEBUG: CurlFile::Open(0x701c7800) https://johtru.com/repo/repo_files/plugin.video.netflix/plugin.video.netflix-0.13.12.zip
23:27:50.002 T:1801450224 DEBUG: Repository Kodi Add-on repository uses plain HTTP for add-on downloads – this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
23:27:50.006 T:1801450224 ERROR: Requested path http://download.osmc.tv/kodi/addons/krypton/script.module.addon.signals/script.module.addon.signals-0.0.3.zip not found in known repository directories
23:27:50.006 T:1801450224 ERROR: CAddonInstallJob[script.module.addon.signals]: failed to resolve addon install source path
23:27:50.011 T:1801450224 ERROR: CAddonInstallJob[plugin.video.netflix]: failed to install dependency script.module.addon.signals
Indeed the adress http://download.osmc.tv/kodi/addons/krypton/script.module.addon.signals/script.module.addon.signals-0.0.3.zip returns an error. Do you have any idea or workaround.
Otherwise There is a workaround to the netflix/amazon prime not working for a few days due to the newest widevine update, see this thread:
https://github.com/asciidisco/plugin.video.netflix/issues/465
Hi Frac, I would try again. It looks like there may have been something going on with the Repo when you tried… It should be working better now I hope.
Hi, Despite following this great guide to the letter, NEtflix does not install correctly. I get the message: “Installation failed. Impossible to install a dependency” when I try to install Netflix from the repository. The logs display:
07:05:27.061 T:1917624320 DEBUG: —— Window Deinit (DialogSelect.xml) ——
07:05:27.061 T:1917624320 DEBUG: FreeVisualisation() done
07:05:27.078 T:1917624320 DEBUG: CAddonInstaller: installing ‘plugin.video.netflix’ version ‘0.13.12’ from repository ‘repository.netflix’
07:05:27.137 T:1800401648 DEBUG: Repository Kodi Add-on repository uses plain HTTP for add-on downloads – this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
07:05:27.138 T:1800401648 ERROR: Requested path http://download.osmc.tv/kodi/addons/krypton/script.module.addon.signals/script.module.addon.signals-0.0.3.zip not found in known repository directories
07:05:27.139 T:1800401648 ERROR: CAddonInstallJob[script.module.addon.signals]: failed to resolve addon install source path
07:05:27.140 T:1800401648 ERROR: CAddonInstallJob[plugin.video.netflix]: failed to install dependency script.module.addon.signals
07:05:27.172 T:1917624320 DEBUG: Repository Kodi Add-on repository uses plain HTTP for add-on downloads – this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
07:05:27.181 T:1917624320 DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.netflix/xbmc.addon.video)
07:05:27.181 T:1917624320 DEBUG: ParentPath = [addons://repository.netflix/xbmc.addon.video]
IN fact I have several error/debug messages such as :
07:05:21.593 T:1772090096 DEBUG: GetImageHash – unable to stat url https://johtru.com/repo/repo_files/plugin.video.netflix/resources/icon.png
On the other hand a workaround exist for AMazon Prime/Netflix not working anymore since a few days, see this thread:
https://github.com/asciidisco/plugin.video.netflix/issues/465
Matt
Hi Matt, I would suggest trying again, it looks like there was something going on with the Repo at that time. Frac had the same problem but I didn’t following the steps at a later time.
Hi Darryl. please excuse me my bad english.
I try to upgrade kodi to 17.8, but in the line sudo apt-get update I found this error.
osmc@osmc:~$ sudo apt-get update
E: Malformed entry 16 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
Hi Fabian, it appears you may have an error in your sources.list file. Using the sudo nano /etc/apt/sources.list command you can reopen the file. Have a look and make sure the line you added next (the deb http://download…) line is exactly as shown on the site. This should be on its own separate line below the default ones shown. This is most likely the problem.
Hi Darryl,
Thank you very much for this guide! A few days ago, I had it running flawlessly, but due to some other add-on issues, I had to do a clean install. I got netflix working again, but when I try to sign into Amazon prime, I receive an error. The username and password is definitely correct. I was able to follow your guide, but I’m still a beginner.
Hi Dirk, I have found the Amazon Login to be a little funny. I seem to have to enter it in a few times too, usually because I think I am mis-reading the captcha window. I do have it working on mine, so it should work okay. I just reinstalled yesterday. Try the captcha with no spaces as well. That seemed to work for me… Hope this helps…
Hi Darryl, the Netflix’s videos are laggy and the sound desynchronise gradually when I listen thru the headphone jack. Have you a fix for that ? i.e. how to reduce the video quality ? Thank you.
Hi Edward, mind if I ask what model of Pi you are running on? I find a little lag on 1080p videos but 720 for me are flawless. I am on 3B+ though, but I think the experience is similar on the 3B. If you go into the settings for InputStream you can set it to Manual rather then auto. From there, if you start a video, you can bring up the progress bar at the bottom. In that bar there is an icon on the right that looks like a movie reel. If you select that, you can choose which quality of stream you would like to use (from whats available). Hopefully you can find a quality that works well for you, and set that as the default.
hi Darryl, guys
ok replacing libwidevinecdm.so will work as state, but also following the guide from scratch works now as well, all fine, Netflix and Amazon both
big thank to Darryl
only thing I experience a bit of slug on Netflix only, Amazon works great @1080
anyways, I’ll try to lower the resolution, but still … thanks 🙂 I’m a happy little boy playing well with his toy 🙂
now time to test and try some m3u and streaming from enigma2, if you know anything please pass it over lol
Ciao
Antonio
I followed the steps but I can’t open the Netflix addon.
I’m getting the following on /home/osmc/.kodi/temp/kodi.log
05:46:28.848 T:1762652912 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
– NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type:
Error Contents: ‘ascii’ codec can’t decode byte 0xce in position 0: ordinal not in range(128)
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.netflix/addon.py”, line 33, in
NAVIGATION.router(paramstring=REQUEST_PARAMS)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils.py”, line 60, in wrapped
result = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, line 148, in router
return self.show_profiles()
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils.py”, line 60, in wrapped
result = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, line 585, in show_profiles
build_url=self.build_url)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/KodiHelper.py”, line 228, in build_profiles_listing
unescaped_profile_name = html_parser.unescape(enc_profile_name)
File “/usr/lib/python2.7/HTMLParser.py”, line 475, in unescape
return re.sub(r”&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));”, replaceEntities, s)
File “/usr/lib/python2.7/re.py”, line 155, in sub
return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xce in position 0: ordinal not in range(128)
–>End of Python script error report<–
05:46:29.145 T:1762652912 WARNING: CPythonInvoker(13, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): the python script "/home/osmc/.kodi/addons/plugin.video.netflix/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
05:46:29.160 T:1771041520 ERROR: GetDirectory – Error getting plugin://plugin.video.netflix/
05:46:29.162 T:1917702144 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/) failed
I fixed it doing this
https://github.com/asciidisco/plugin.video.netflix/issues/444#issuecomment-413999458
This is good to know, I had not seen this error before, thanks for sharing!
Hi. Great guide you have here; very easy to follow and full of information. However I have an issue.
Having followed the guide with everything completing successfully, Netflix is able to load and you are able to search and browse it however when I select a program to watch, it starts to load the program and then immediately stops and doesn’t stream. There is no error message appearing when this happens.
I am running the latest nightly (I firstly tried the build suggested in the guide), a Raspberry Pi 2 and the latest version of the Netflix addon (0.13.13) (I again tried others and still no joy).
Any help would be much appreciated,
many thanks in advance.
Hi Ben, last install I did with the guide I used the build in the guide and Netflix addon 13.12 and it worked. I have had hit and misses with different nightlies so I typically suggest using the one shown. Its possible there is something with the Netflix version 13.13 which may be causing the issue as well. I have different Netflix versions fail to work too. Maybe try using Netflix 13.12 and see if that helps…
Hi Darryl. Thanks for your quick response. I’m out at the moment but the next time I’m available I will give that a shot.
Thanks again,
Ben.
Hi Darryl. Unfortunately, this did not fix my problem. After completely formatting my SD card and starting from the very beginning, still no joy. I have also tried deleting my second profile and still nothing.
Thanks again,
Ben
UPDATE: I have since tried Amazon VOD and it works perfectly. So, it has something to do with the Netflix addon and not widevine etc.
Thanks again.
Hi Ben, would it be possible to check the log file located here /home/osmc/.kodi/temp/kodi.log. This might give a little insight to the problem. Out of curiosity which version of the Raspberry Pi do you have?
Hi Ben, same error here. Did you solve the problem?
Hi Andrea, I have tested that version of OSMC but not sure about the plugin version. I am on much needed vacation atm but can look into this when I am back early next week. If the widevine process went okay, I would maybe try installing a previous version of he plugin for Netflix. Maybe the newest has an issue. If that doesn’t help I will see what I can do when I get home…
Hi,
I have reinstalled everything and all went well and both Netflix and Amazon VOD work. However, whilst Amazon plays perfectly, sound and vision are great, Amazon is continually bufferring on all videos which makes it unable to watch. I am running a Pi 3B
Hi Martin, seems like the Netflix decryption makes it work a little harder then Amazons. You can try lowering your resolution on Netflix, or perhaps a slight overclock of your raspberry pi to see if that helps.
Thanks, I already reduced the resolution and that didn’t work but I will try overclocking. I’ll post the result
Hi I installed this and everything is working great, but when I launch Amazon I get a loading screen with something in the top corner saying “Amazon VOD Found ” and slowly listing every single she on amazon…
Is this normal?
Thanks
Hi Josh, no that’s not what I have happening. Mine loads up a list of Top Shows, etc which you can dive into. I am not sure whats happening there! I would maybe try reinstalling the plugin to see if it corrects it…
Worked here. Thank you very much.
Thank you so much for the guide & highly recommended for newbies like me.
First endeavour with RPi3B+, downloaded http://download.osmc.tv/installers/diskimages/OSMC_TGT_rbp2_20180805.img.gz & post setup ran your steps. Everything went smoothly with no errors & was able to sign in to both Netflix & Amazon Prime VOD. Truly appreciate it.
Thank you Ameet! Glad your up and running!
Hello again! While Netflix is playing just perfect, have started to get errors while playing certain categories of Amazon VOD. This is unusual as playback of ‘recently played’ movies is no issue but if i select another category like action, comedy, etc, i get the following error –
12:53:34.236 T:1464853232 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
– NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type:
Error Contents: ‘NoneType’ object has no attribute ‘group’
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/default.py”, line 5, in
EntryPoint()
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/startup.py”, line 83, in EntryPoint
g.pv.Browse(None if ‘path’ not in args else args[‘path’])
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/primevideo.py”, line 177, in Browse
self._LazyLoad(node, nodeName)
File “/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/primevideo.py”, line 441, in _LazyLoad
results = re.search(r’]*class=”[^”]*av-detail-section[^”]*”[^>]*>\s*(.*?)\s*’, cnt, flags=re.DOTALL).group(1)
AttributeError: ‘NoneType’ object has no attribute ‘group’
–>End of Python script error report<–
Was able to find this https://github.com/Sandmann79/xbmc/issues/100 however the fixed default.py file in the GitHub issue tracker matches with the one running on my Pi. Has any one experienced this & if yes, how was it resolved?
I may be shooting in the dark but I think this is some kind of corruption of the index holding movie lists. Any help would be much appreciated.
Hi Ameet, your guess was right, Amazon changed their interface and it broke things in the plugin. Its known, and a fix is coming, the developer is just making sure that the changes Amazon are making are finalized. https://github.com/Sandmann79/xbmc/issues/170#issuecomment-425657873 There should be an update to the plugin coming soon…
Just an update: Today update of sandmann79 plugin has fix the issue. now amazon vod is working fine for me.
Got it and once again, thank you for the prompt response. Until the Sandmann cometh….
Should be soon hopefully!!
So today I see there is an update from the Sandmann, v0.5.8. Went about updating it directly using the addon-browser in OSMC. Now i cannot access any movie, TV show etc category in Amazon VOD. Everything states Amazon VOD error & on checking the kodi.log, I am seeing the same error as mentioned above. Is this only me updating it wrong or has the update further broken things?
Hi Ameet, it looks like there is a problem on the new version (0.5.8) right now as well. Its currently being looked at by the developer. You can see the details on how they are fixing it here… https://github.com/Sandmann79/xbmc/issues/179#issuecomment-427053221
I would say you can attempt to fix via what they mention to do if you feel confident enough to do so, or hang on for a complete fix which should be pushed out soon.
Hi Darryl, as an update, I thought I should inform that on doing a fresh Kodi install along with your procedure, everything is working fine for a week now. I also opened a new issue on GitHub related to my TV show issue; refer https://github.com/Sandmann79/xbmc/issues/186#issuecomment-430504931
I just wanted to once again say a big “Thank you”. Courtesy your guide, have a 12-year old ROFL while watching Brooklyn Nine-Nine.
Hi Ameet, looks like you have been doing a lot of troubleshooting. Thank you for relaying your progress there! It does look that another python file update needs to push through the repo. I should maybe link that process on the guide again. And that definitely made me smile about your 12 year old and Brooklyn Nine-Nine, that show makes me laugh too!!
Hi Darryl, for the first I will wish you a big thank you for your step-by-step tutorial, it’s fantastic and help a newbie like me for my first step in rpi world (I’ve a rpi 3b+), so everything work well until I want to launch amazon prime, osmc list movies in movies section but nothing happen and an error message prompt and says watch the logs… I don’t know what to do… i’ve installed the last version for Netflix and amazon prime but nothin launch… I’m disappointed, maybe I broke somethin or doing somethin wrong, I dunno what to do… can you help me please ?
Sorry for my English it isn’t my mother tongue
Hi Anthony, first off thanks for the kind words! I did hope to make a guide that anyone could follow just by doing the steps in order. I am glad it has helped you! As for your problem, first thought was that you were behind on the Amazon Plugin. They recently changed how their menu looked and it made problems with the plugin, however the newest version should have corrected that. Do you think you could navigate to the logs and have a look? If you ssh into your RPI, you can enter the following command to see what the log says… sudo nano /home/osmc/.kodi/temp/kodi.log
This may give a little insight into what the issue is…
Hi Darryl,
first thanks a lot for the incredible step by step guide. Unfortunately I couldnt make it work so far.
I have to main issues. First, the command of downgrading osmc is not working, it says that there is not such version.
osmc@MordoR:~$ sudo apt-get install rbp2-mediacenter-osmc=17.8-324 -y –allow-downgrades
Leyendo lista de paquetes… Hecho
Creando árbol de dependencias
Leyendo la información de estado… Hecho
E: No se encontró la versión «17.8-324» para «rbp2-mediacenter-osmc»
I just contiued with your guide and then for Netflix, From the list of netflix versions I chose the newest 0.13.13 and I get that message of the dependency with the modelu script.module.pycryptodome 3.4.3 could not be satisfied. As a result netflix addon does not get installed at all. no way to continue that way.
For the Amazon, it gets installed but basically when I go and choose the option Sign in in the Configuration , it simply escapes and go back to the main screen. no way to introduce user and password.
I am using the latest version of OSMC for raspberry available in the site, that is 2018.07-1. I have raspberry 3.
Many thanks in advance.
Jose
Hi Jose, I took a look and the version in the guide is still available so perhaps it was just down for a while when you were installing. When installing Netflix, it always says that pycryptodome is unavailable when installing. It is actually linked in some steps in the guide so it is found after installation. I have never seen it not allow installation before because of that, was your install button greyed out or something?
Hi Darryl, I have followed the steps but I am also getting the same ” script.module.pycryptodome 3.4.3 could not be satisfied” for Netflix and can not install it. I am using the latest OSMC.
Hey Darryl. I have exactly the same problem. The downgrade version rbp2-mediacenter-osmc=17.8-324 is unavailable. I have the same error when installing netflix video add-on: script.module.pycryptodome 3.4.3 could not be satisfied. Netflix addon does not appear in the video options. I dont know what to do anymore.
Okay, let me have a look into this guys and see if I can solve it… Will post soon…
I installed tonight twice successfully. Have tested with the newest version, 339 and it worked fine. It does say in netflix that the script is unavailable but it does install if you select OK at the bottom, and it does work. Started up and episode of Altered Carbon to be sure. Maybe installing the latest version 339 will help for you guys…
Hi Darryl,
it worked like a charm! thanks a lot for the quick answers.
Now I am fighting to make it work as well in a chinese version of Xiaomi miBox 3 (MDZ-19-AA). I installed netflix app and it seems like the device has not the widevine capabilities. Do you think I can bypass this limitation using the new Kodi 18? I was expecting something similar as it is done for the raspberry pi, just to download the widevine libs from somewhere… but in Android, the netflix addon does not suggest the widevine installation.
Do you have any experinece with this?
Thanks once again.
Yaks
Hi Yaks, glad it worked well on your Rpi! I don’t have any experience with the miBox, but I can maybe give you some suggestions. The Widevine module that gets installed actually comes from Google, so it may be possible that the decryption module is already on the unit, but I am not 100% sure if it is included or not in all the different versions of Android. As for Kodi, you definitely need to be running version 18 (Leia). If I was trying this out, I would try and install a beta version of Kodi v.18 first, and then reinstall the add-ons and see if it prompts for the installation of Widevine. Hopefully it will already be on the system, or it will prompt to install. I think there are now Betas of version out for OSMC, LibreElec, and from the actual Kodi dev team so hopefully there is some support out there to help with what your doing. Good luck!!
Hi Darryl,
You are the best, everything runs perfectly !
Thanks
Thank you!
Is it possible to install this Netflix add-on on the Nvidia Shield TV (running Android TV Oreo)? If so, could you post a guide for that too?
thanks for the tuto,
Netflix works well but amazon VOD no. I connected my account but notthing comes when trying to find a serie or movie
I have had that happen before too David, try giving the add-on a reinstallation. I may check into a new installation as well to see if there are any problems on the newer versions…
Hello there Darryl,
It’s possible I’m missing something super basic, and we can laugh about it later, but how does one turn off widevine updates after following this guide? I’ve tried googling it, but nothing seems to come up, and for the life of me, I can’t find the setting.
I don’t think there is a setting for Widevine Brian, it does prompt when there is a new update where you can dismiss it. I know, it would be nice to turn that one off as well!
That works. I just wanted to make sure it didn’t auto-update on me and break everything.
Yea, definitely good not to upgrade if you don’t have too while this is all in Beta. It has broken multiple times, multiple ways since I first put this together…
Hi Darryl,
Since yesterday anything (movie, series, etc…) I try to launch on Netflix boots a few seconds but after that stops and I’m back on the picture of what I wanted to watch.
Is this problem only on my side ? If so, what do you suggest to correct it ? I didn’t change anything on my Raspberry and everything was working like a charm some few days before.
Thank you for your great job and for your support regarding this issue.
Best regards
I am not sure why it would just stop Dokidoc, perhaps something updated on you… Because we are running beta software its good to disable the auto updates on the plugins and OSMC to ensure it stays working okay.Widevine updates have broken the system as well… This does actually seem like a widevine issue to me, but I dont know if they recently updated or not… I will do an install from scratch tonight and see if anything has changed.
Dear Darryl,
Thank you so much for your support !
Hopefully there is a solution to fix that issue. I was so glad finding that tuto which let me used Netflix during 2 weeks with my Raspberry but today I am stucked with that looping start of any content on Netflix.
I would be glad to send you a tip as this guide helped me so much.
Therefore, do not hesitate to share a Bitcoin, Monero or any crypto wallet to which WE can send you some coins. You really deserve it !
Best regards,
Hi Darryl,
I know you are a very busy man and also very solicitated, but may I ask you if you had time to have a look at my issue ?
Thank you in advance for your support.
Regards
Hi Dokidoc, I haven’t had a chance yet. Sorry about the wait, I usually try to help out quicker then this, real job has gotten super busy and taken away from a lot of my free time at the moment. I will endeavor to look into it tonight and reply as soon as I can.
Hi Dokidoc, I was unable to replicate what your experiencing, but I think it has to do with Widevine, the google decryption module. We can try getting it to reinstall for us by issuing the following commands via ssh…
sudo rm ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm/libwidevinecdm.so
sudo rm ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm/widevine_config.json
There are two lines, both starting with sudo. You will need to copy in both line entirely (I know there will probably be some wordwrap so I want to make sure you get the entire two commands.) After that try running an episode again. It should hopefully prompt you to update your widevine installation again. Once through this process hopefully things will be back up and running again!
Oh and I did add a BTC link tonight at the end of the guide, you definitely don’t need to send anything Dokidoc, but its there if you would still like to…
Hi Darryl,
Thank you again for your support !
Unfortunaltely. after entering both commands :
sudo rm ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm/libwidevinecdm.so
sudo rm ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm/widevine_config.json
I then restarted the Raspberry, system asked me for updating widevine, it took something like 1,5 GO of additional place and after the update the problem is still there.
I think I should install OSCM from the beginning again until you have another idea what the problem couldd be ? :-/
A clean install should fix the issue Dokidoc. I clean installed my Raspberry Pi 3 yesterday and it was working, although it did have a few glitches with the Amazon add-on which I believe the developer is working towards fixing. When your raspberry pi trys to start a show, does the show actually start for a few seconds, or does it just have the OSMC loading logo for a bit then kick you back to the menu?
Hi Darryl,
Fresh install fixed the problem 🙂
Thanks again for your help and your great work !
Glad your back up and running Dokidoc! And thank you for the coffee! 🙂
Hi Darryl,
You are really welcome and I would be plased to share it with you 😉
Read you later again, thank you for sharing your knoledge.
Hi Darryl,
Thanks for the detailed post. I followed the steps provided , but hen i try to install the amazon add-on it fails with the dependency add-ons failing to install. Kindly suggest. I am using Pi-1
Hi Venkatesh, I am sorry somehow i missed your message initially. This may be an architecture problem for some of the add-ons dependancies. You may be able to manually install the missing addons from the command line, but I dont know how well this will work on a Pi-1. The system needs enough power to stream, and decrypt quickly enough for watching and even with the quad core 64 bit model 3’s it struggles at 1080p.
Hi Darryl,
I have been stuck at the downgrade section.
With either build I make it always fails to locate the package, “Unable to locate package rbp2-mediacenter-osmc”
Any thoughts? I have tried earlier build with same result.
Hi James, couple things come to mind here. Did the
deb http://download.osmc.tv/dev/gmc-18 gmc-18 main
line get added to your sources file okay? It should be basically appended to the bottom of the list and saved. Its also important to add the following wget line to add the gpg certificate for it too. Without this added to your list of sources, the betas installations wont be found. Secondly if that is all good, make sure you get the entire line for thesudo apt-get install rbp2-mediacenter-osmc=17.8-339 -y --allow-downgrades
command. Sometimes depending on your resolution etc, some of the line gets hidden with a scroll bar, and if your typing instead of cut/pasting the commands it may be overlooked. Hope this helps!!Hi Darryl, Not sure if the issue was network amd/or repository related on the backend however after the yet another attempt last night it finally worked. YAY!!!
Oddly enough, I get Netflix running as well as Amazon VOD on the same build then add back the other stream by wilson and it does not work, seems he was tired of running that fork, seems some “resistance” is at play now. 🙂
Thanks for posting the guide and replying to my question. Cheers!
Hi James, yes I know there has been many changes lately by Amazon that has caused issues in the Plugin. The developer has been on top of it for the most part, but there is always a delay between when it gets broken by Amazon to when the dev has the fix complete… Always seems like forever even though they are quite quick with the fixes. 🙂
HI, Fabio. Thanks for the tutto. I installed the amazon VOD pluggin a month ago and got it to work perfect, but a days ago it stopped. I explain: the pluggin keeps the list of series that I have been watching and is able to play them with no problem, but it does not get the film and series list from the main menu, the only link working is that ona (keep watching your series). Could be for any auto-updating of the dependencies or so? Thank you!
Hi Maria, take a look at your addons, and if there is an updated version to the Amazon VOD plugin try installing that. Amazon has been making changes lately and it has been causing issues with the Plug-in for Amazon Video lately. The developer of the plugin has been issuing fixes but it seems like they have made changes again.
It may also be that the items are there Maria, and you just need to scroll over to have them reload and appear. For me this was the case, nothing was displayed, but I noticed it saying 30 items on the bottom right side of the screen. When I scrolled over the listings started reloading. Hope this is the case for you too!
Thamks, Darryl, I tried scrolling but no way, and it says 0/0 items listed so I imagine they are somewhere, but do not where. If I manage to make it work I will let you know. Thank you!
Hi Maria, also in my installation I got problems with some menus. But my choice is to zap into my smartphone, and after I’ve choosen a movie, I search it into the osmc netflix: like this it works like a charm 🙂
I know it’s a dirty solution, but when you would like to sit on the sofa and see something, it’s impossible to “waste” time to reinstall plugins or to open pc, dd another sdcard, and repeat all installation 🙂
By the way… thanks to Darryl for all his work!!!!
He is the only that could make the netflix+osmc work all over internet!
Fabio
Thank you Fabio. 🙂 From what I can tell, its seems Amazon is changing their interface lately, which is causing problems with the Add-on with it comes to the loading of the titles. The writer of the add-on is working on fixes, and hopefully tonight I will have time to look into it as well and post up a fix.
Hi Fabio, after a reinstall tonight, when I ran the Amazon VOD add-on i was not seeing any shows listed either. I was however able to start caching them by scrolling to the right as if they were there. Seems like they don’t start downloading until you hover over them. I was able to load each different area by doing the same. I did this both pre and post widevine installation. Are you by chance having the same thing happen?
Jeje, I’m with you about the sofa and so, I am a total sofa person XD. I will try your solution too. Thank you too!
Hi Darryl, new installation….
got this error when installing PLEX
21:29:16.830 T:1801450224 ERROR: ffmpeg[6B5FF2F0]: [png] Invalid PNG signature 0x4749463837610001.
21:29:16.830 T:1801450224 DEBUG: Error [-1094995529] while decoding frame: Unknown error 1094995529
21:29:16.830 T:1801450224 DEBUG: LoadFromFileInternal – Load of http://download.osmc.tv/kodi/addons/krypton/plugin.video.slice.canada/icon.png failed.
Please have a look
Fabio
Sorry Fabio, this was filed as Spam for some reason. Super late reply… I would guess this error corrected itself, it was just a bad file download while installing. Is everything good now?
Hi Daryl,
Forgive me if I am going to ask something stupid and slightly unrelated to your guide, I wanted to know if your guide on installing Amazon Prime Video would work on LibreElec too. I am mostly interested in getting Amazon Prime Video working and I was wondering if I could do it without having to change to OSMC.
Thanks
Hi Abhinab, not to worry there are no stupid questions, just stupid answers… 🙂 This should work on LibreElec as long as you update your version to to one of the V.18 Builds for it. You have to be running V.18 (Leia) so that the google decryption will work. Once that is finished you should be able to start at the ‘Lets add some dependencies’ section and go from there. While I haven’t tried this myself I know that LibreElec does now have beta versions of Leia out so it should work! You can find a little more info on upgrading your version here https://libreelec.tv/2018/09/libreelec-leia-v8-90-004-alpha/
Hi Darryl, many thanks for your step-by-step guide it’s AWESOME! I was able to configure my Raspberry PI 3 and access my Amazon Prime Video account from Italy then I can view every content. Just a couple of questions. After about 12 hours Amazon VOD stops working and I needed to uninstall and reinstall add-on to restore streaming, why? I tried to disable updates but the issue still occurs. After OSMC updates my raspberry get into a reboot loop, so I was forced to flashing back micro SD and reconfigure all the system, I have just reinstalled Amazon VOD add-on once. Any suggestions?
Hi Roberto thank you very much! You are going to probably want to disable updates for OSMC. There isn’t a non-beta release of OSMC yet, so there is a chance it will break if its updated from whats in the guide. Typically I test the version I put on there to ensure it works correctly. That’s a very strange issue with the Amazon VOD add-on. I will see if anyone else has had the same issue and get back to you…
Hi Darryl since my first comment to your guide I have made many test and I have reached a quite stable media center. After the installation and configuration of OSMC I disable immediatly updates then I add Amazon VOD add-on and configure it. The add-on works perfectly since ten days (previously doesn’t reach 10 hours) and every time I’m noticed about updates installation I answer “No”. Now the last question: Why OSMC download updates if I disable it just after very first installation? Seems that packet that bypass the “disable updates” configuration is rbp2-mediacenter-osmc=17.8-339
Hi Roberto, yes it is a good idea to disable all the updating just to be safe, especially for OSMC. I am thinking that maybe that is a bug in version 339 because its not something I have noticed in previously. I will need to update the guide again soon (as version 339 falls off the build list) to a newer build and hopefully this wont be a problem anymore. Its definitely a pain to have to rebuild repeatedly…
Hi! My Netflix “My List” and “Continue Watching for X” has not been updating since I started using the Netflix add-on. I even tried reinstalling OSMC and the add-on itself. No change at all. Is there some way to refresh those folders? Thanks!
Your step by step guide is great!
My Raspberry Pi3 setup ist now able to play music via Spotify AND view movies on Amazon/Netflix.
Take some Coffee 🙂
Thank you! Happy it worked for you!!
Don’t worry Darryl.
No time to test… I’ll try this week 🙂
Thks
Fabio
Awesome blog Darryl!!! Everything works as stated. Couldn’t be happier. Thank you so much!
Thank you Rick! Glad it worked!!
opss DArryl, news from today…
osmc@osmc22:~$ sudo apt-get install rbp2-mediacenter-osmc=17.8-339 -y –allow-downgrades
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Version ‘17.8-339’ for ‘rbp2-mediacenter-osmc’ was not found
No previous version are founded….
I follow as usal all steps…. strange….
Please let us understand how to search in autonomous way to solve these problems…
Hi Fabio, this is strange, the version is listed on the OSMC site here. I don’t know why its telling you its not found. Perhaps it was down for a bit? I would suggest you try again and see if it works…
Happended to me as well, just drop the -allow-downgrades and it should just work.
You.. sir.. are a gent and a hero!!!!
Thanks you, comments like this make it all worth while! 🙂
Dude, thank you for the guide! My wife is very happy 🙂
Haha Happy Wife = Happy Life! Your very welcome. I just updated the guide to the newest beta version so this should correct some of the issues. I just finished installing and testing and all seemed to work perfectly. I appreciate the feedback!
Followed exactly like in the guide. Everything works flawless. Input stream settings:-secure encoder should be 720 p (1080 or maximum creates stuttering while playback)
Excellent guide, Darryl!
Anyhow, I had to to a new installation today, and the pycryptodomex installation failed (didn’t do this before, so I suppose something must have changed):
———
ip install pycryptodomex
Collecting pycryptodomex
Using cached https://files.pythonhosted.org/packages/f6/be/9f65b7db183628bdb36401105a3fc9f1688909f5184c115902a7bdd333bd/pycryptodomex-3.7.1.tar.gz
Building wheels for collected packages: pycryptodomex
Running setup.py bdist_wheel for pycryptodomex … error
Complete output from command /usr/bin/python -u -c “import setuptools, tokenize;__file__=’/tmp/pip-build-2HdJ94/pycryptodomex/setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, __file__, ‘exec’))” bdist_wheel -d /tmp/tmp3IMhYzpip-wheel- –python-tag cp27:
…
…
…
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-EEvVvy/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_X86INTRIN_H -DPYCRYPTO_LITTLE_ENDIAN -DLTC_NO_ASM -DHAVE_POSIX_MEMALIGN -Isrc/ -I/usr/include/python2.7 -c src/multiply_32.c -o build/temp.linux-armv7l-2.7/src/multiply_32.o -O3
src/multiply_32.c:39:23: fatal error: x86intrin.h: No such file or directory
#include
^
compilation terminated.
error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1
—————————————-
Command “/usr/bin/python -u -c “import setuptools, tokenize;__file__=’/tmp/pip-build-2HdJ94/pycryptodomex/setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, __file__, ‘exec’))” install –record /tmp/pip-nZZNjg-record/install-record.txt –single-version-externally-managed –compile –user –prefix=” failed with error code 1 in /tmp/pip-build-2HdJ94/pycryptodomex/
———
Have you got an idea what may have changed? New version of pycryptodomex? Google search hasn’t enlightened me yet…
Thanks
Stefan
I have some issues with playing videos of Netflix. Unfortunately i do not find a compatible osmc skin.
I tried also installing several times from scratch but i am stuck there in installing “pip install pycryptodomex”.
i get the following message:
“/python2.7-EEvVvy/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_X86INTRIN_H -DPYCRYPTO_LITTLE_ENDIAN -DLTC_NO_ASM -DHAVE_POSIX_MEMALIGN -Isrc/ -I/usr/include/python2.7 -c src/multiply_32.c -o build/temp.linux-armv7l-2.7/src/multiply_32.o -O3
src/multiply_32.c:39:23: fatal error: x86intrin.h: No such file or directory
#include
^
compilation terminated.
error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1
—————————————-
Command “/usr/bin/python -u -c “import setuptools, tokenize;__file__=’/tmp/pip-build-cT_s_r/pycryptodomex/setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, __file__, ‘exec’))” install –record /tmp/pip-5_Pcis-record/install-record.txt –single-version-externally-managed –compile –user –prefix=” failed with error code 1 in /tmp/pip-build-cT_s_r/pycryptodomex/
“
Hi Darryl,
i get this when i try to install the Cryptodomex
src/multiply_32.c:39:23: fatal error: x86intrin.h: No such file or directory
#include
^
compilation terminated.
error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1
—————————————-
Command “/usr/bin/python -u -c “import setuptools, tokenize;__file__=’/tmp/pip-build-Qc94yV/pycryptodomex/setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, __file__, ‘exec’))” install –record /tmp/pip-kkWkbN-record/install-record.txt –single-version-externally-managed –compile” failed with error code 1 in /tmp/pip-build-Qc94yV/pycryptodomex/
Any idea how to fix this ?
Hi Darryl,
as well as it works for all the others, sadly it does not wotk for me.
When compiling the pycryptodomex it stops, complaining not finding the file x86intrin.h.
I followed your instructions to the point, even reran the installation of packages (after mediacenter) but it stays the same.
Have an idea?
Michael
Hi Darryl
followed your instructions to the point but got stuck compiling/installing pycryptodomex. Compilation fails with
x86intrin.h file not found. Which is strange as it is an RPi and not an x86 PC.
Any ideas?
Michael
Hi Michael. My first thought is that the maintainer of pycryptodomex May have pushed out the wrong version for us causing the error. I would imagine he has been alerted of this and is probably already pushing another update. I am on vacation at the moment and have limited access so I can’t work out a solution at the moment but I will as soon as I am back in about a week. In the mean time I would try installing it again to see if it’s been fixed. Hopefully it has!
You are right. I just picked the wrong time to install the pycrytodomex. Tried again and it worked.
Michael
Glad it’s working again! Have had that happen a few times with the plugins, and other packages. Sometimes the maintainers push something incorrect to the repos and everything breaks! I am happy it’s now fixed!
Good job, works like a charm with newer versions also
Essential part is the pycryptodomex which is needed for the login pop up (at least on netflix)
ill keep this somewhere for my next install 😉
Thanks !
Hi Darryl,
Thank you very much for your guide. I’ve followed the guide step by step. I’ve got no errors and all installations steps go as expected. But when I try to launch a netflix video it simply doesn’t start. Neflix addon version is 0.13.19. OSMC is 251. I’ve tried it with estuary and classic skin also. Any idea what I can check to fix it. Thanks in advance for your help. Andrea.
Hi Andrea, this should all be working again now. Try using Netflix addon version .21, it should address the issue you were having.
Hi. I have the same problem as Andrea Simone Porceddu. I’ve installed everything twice. Each time clean install. No errors during installation. Everythin works great.
Only one thing seems to be wrong. In Netflix dependencies under “script.module.pycryptodome” I have “none” (not “not available”). It’s allways “none”.
I only want Netflix to be working but I can search an film, click play. For 2 seconds it looks like it’s trying to open but then it stops. Nothing happens. I’m also using Netflix version “0.13.19”. Some of the older versions won’t even let the Netflix to be opened – an error occures. Any idea what might be wrong?
Hi Darryl. I have a same sittuation as Andrea Simone Porceddu. I tried couple of times fresh installations. I have raspberry 3 B+. During the OSMC installation I choose version 2018.10-1 (but also tried 2018.08-1).
I only want to have Netflix so I don’t install any additional plugins. The netflix version I use – 0.13.19. Also I tried with option “pip install pycryptodomex==3.7.0” as I heard rumors that above this version ARM is not supported. In the end I succesfully instal netflix ad-on and Widevine. When I try to open a film, it seems like it’s trying to open but it crasches. So I was not able to play anything. is 16 GB SD card enough? I just can’t figure out why it’s not working. Maybe because of some region settings? (I choose polish language and timezone). Please help me to solve this as this netflix on raspberry was supposed to be a christmas present for my dad so I must do it asap 🙂
Hi Darryl. I have a same sittuation as Andrea Simone Porceddu. I tried couple of times fresh installations. I have raspberry 3 B+. During the OSMC installation I choose version 2018.10-1 (but also tried 2018.08-1).
I only want to have Netflix so I don’t install any additional plugins. The netflix version I use – 0.13.19. Also I tried with option “pip install pycryptodomex==3.7.0” as I heard rumors that above this version ARM is not supported. In the end I succesfully instal netflix ad-on and Widevine. When I try to open a film, it seems like it’s trying to open but it crasches. So I was not able to play anything. is 16 GB SD card enough? I just can’t figure out why it’s not working. Maybe because of some region settings? (I choose polish language and timezone). Please help me to solve this as this netflix on raspberry was supposed to be a christmas present for my dad so I must do it asap 🙂
Hi Thomasz, I will take a look at this as soon as I am back from vacation. Will be a couple days until I am back with my raspberry pi’s.
Hi. Sorry that I posted the same 3 times – I wasn’t able to see my posts, so I thought they weren’t sent so I posted again. Also today I tried once more with clean setup and I stuck at point where I can’t even install any add-on from the repository. Neither Netflix nor YouTube for example. So basically I’ve surrender and waiting for your help when you come back from vacations 🙂
Hi Tomasz,
It’s a problem with the addin. You should grab version 0.13.20 from github.
That fixed my problem!
Greetings,
David
Hi. I’ll try that. But now when I try tu update the osmc, after the command “sudo apt-get update” I receive an error:
GPG error: http://ftp.fau.de/osmc/osmc/download/dev/gmc-18 gmc-18 InRelease: The following signatures were invalid: EXPKEYSIG 326674E68C015D46 Greg McCarthy
E: The repository ‘http://download.osmc.tv/dev/gmc-18 gmc-18 InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
Me too.
I have download this version. when it is installing the addon says that there is 0.13.21 version, and this is running now
Thanks!
Lluís
Hi Darryl,
Thanks for the guide! I was running fine for a couple months, but I had to do a fresh install a couple weeks ago because netflix would no longer play videos. It was working fine again until a couple days ago. I just did a fresh install with osmc 351 and the newest netflix which i believe is 19. It stil won’t play videos from netflix. Youtube and the Comedy Central add ons play fine, but Netflix will spin twice and stay on the menu screen. I will post back with info from the logs.
Try to change the region settings to US. and then again click default so that all region settings change to US.
Hello Darryl,
osmc@osmc:~$ sudo apt-get install rbp2-mediacenter-osmc=17.8-351 -y –allow-downgrades
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Version ‘17.8-351’ for ‘rbp2-mediacenter-osmc’ was not found
I have this error. why is that?
Thanks for your help
Hi Edy, the version is still available. Did the apt sources update work to add the Nightly Builds? This could potentially be the problem…
Hi edy. I had the same problem. It’s because after “sudo apt-get update” you must have had some errors. The build wasnt updated to nightly. Check if after update you have errors. I had one regarding “signatures were invalid”. regarding certificate errot this helped: “wget -qO – http://download.osmc.tv/dev/gmc-18/pubkey.asc | sudo apt-key add -“. Then I could upgraded to 351 version. Also I can confirm that everything works with netflix version 0.13.21. (but on 720p. With 1080p it won’t start episode)
Hi, i can’t do apt update:
EXPKEYSIG 326674E68C015D46 problem’s with key, are you sure is all ok?
Updated the guide Marco, should be working now…
Same problem here with gpg key. After sudo apt-get update
Err:2 http://ftp.fau.de/osmc/osmc/download/dev/gmc-18 gmc-18 InRelease
The following signatures were invalid: EXPKEYSIG 326674E68C015D46 Greg McCarthy
Reading package lists… Done
W: GPG error: http://ftp.fau.de/osmc/osmc/download/dev/gmc-18 gmc-18 InRelease: The following signatures were invalid: EXPKEYSIG 326674E68C015D46 Greg McCarthy
E: The repository ‘http://download.osmc.tv/dev/gmc-18 gmc-18 InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default
Hi cyberdie, this is fixed now! Should be working fine!
Thanks a lot @darryl !
My Pleasure!!
This works well with Netflix using 720p RPi3 B (1080p stuttered like hell)
However, I need to replace the upgrade procedure to this in order to work.
https://discourse.osmc.tv/t/testing-kodi-18-leia-builds-for-raspberry-pi/20631
And make sure your power brick is not undervolting, lost 3 hours because of that.
Been testing for an hour now, will let you know if it stops working.
This should reflect the new Key now. And yes, the undervoltage is a big one if you want your Raspberry Pi to perform. If it detects undervoltage it throttles back cpu etc. For what we are doing we need as much processing power as possible. At 1080p it stutters on my 3B+ as well, although not bad. It may be possible to play smooth with some modest overclocking at 1080p.
Thanks for the guide!
For Emby… wget http://kodi.emby.media/repository.emby.kodi-1.0.4.zip
Hi Darryl,
I have performed a fresh reinstall after Netflix stopped working (video playing do not start with success). After a fresh installation following the instructions (yesterday, 18th December) with Netflix addon version 0.13.21 I have the same problem. Apparently all steps have been executed with success. I have raspberry 3 B+ with Input stream configured to 720p. Any suggestion before repeat the whole process? Change addon version to 0.13.20? Change the region to US?
Thanks again for the guide!
Marc
Hi Marc, when I tested I used version 21. I also used a Rasberry Pi B+. I do use the US as my region although I don’t see why that would be the issue. I will try another reinstall and see if its still working and get back to you…
Just reinstalled as per guide. Works, just started an episode of Pine Ridge. Only things I can think of that’s not in the guide is that I am using English US, and the OSMC skin.
Its possible maybe OSMC updated to a version that broke it? As a general rule its good to turn off all the updates (OSMC, add-ons etc). Because this is beta land, they can and have broken it before.
I should also note, there was an update to Widevine which I installed. The video didn’t launch after until I reinstalled the Netflix addon (version 21). This fixed the issue. Hope this helps!
Hi Darren and thank you for this guide. I see it is still very much alive.
I have everything up and working, after a few reinstalls. I am just using Netflix, but to throw my experience in the mix;
First I tried with OSMC installs from NOOBS which didn’t work, don’t know if it was due to NOOBS but after downloading image from OSMC and flash to SD it went better.
I couldn’t install Add-on from repository. Reinstall from OSMC and it worked.
Then I had problem with the pycryptodomex install but after a few attempts it went through.
I had some problem with the symbolic link, missing and extra characters.
After that the rpi stopped while unpacking the Chrome recovery, a hard restart (pulled power cable) and retry it worked.
My setup regarding settings questions I’ve seen above;
Skin: Kodi default, I changed before downgrade and afterward I couldn’t change back to OSMC
Region: Europe/Sweden
Language: English (US)
Keyboard: Swedish qwerty
For Netflix I set video inputstream resolution to Max 720p and Min bandwidth to 2500
Audio and subtitle was German but easy enough to set back to Default
Also set audio to 6-channel which works fine (rpi connected to AV receiver)
Network:
Wifi AC, first I had it connected to a wifi bridge, openwrt-modified router, but direct wifi is faster
I noticed none of my previous Linux remote control apps (Android) worked with OSMC (which was hard when entering netflix password). Later I found Kore by XBMC Foundation which works great (I have no connection to app or developer in anyway)
Hi Dan, thanks for all this feedback! I have found the same, 720p is flawless and will give you multi channel audio. I havent yet tried overclocking my 3B+ to see if I can get steady FPS on 1080p. I am only using some small heatsinks and would probably want a fan before trying that. The addon locations, and packages so change and go down from time to time. I always run the steps when I update the guide to make sure it works as intended, but timing and sometimes location seem to cause issues from time to time. Glad you got things up and working as you like. 🙂
Dear Darryl,
I am looking for some help and I am sure you are my MAN !
I am an old school TV user and don’t have any HDMI input on it. Until there, they were no problem, I use a composite cable for audio + image.
As example, sound and image are perfect when I use the distribution Raspbian watching some videos on YouTube or on other streaming video.
Unfortunatelly, with OSMC I only hear some noise but definitely no sound whil wathiung somethin on Netflix.
I triyed to change the parameters in the “Audio” category of my OSMC and swithed it from HDMI to Composite but after that, there is neither noise nor sound. NOTHING AT ALL ! Only silence…
Do you have any idea how I could solve this issue ?
Thank you very much in advance for your great help.
Hi Dokidoc, I dont have a composite cable to test with, but here is something for you to try. SSH into your Raspberry Pi and enter in the following…
sudo nano /boot/config
And once in enter these two lines…
hdmi_ignore_hotplug=1
sdtv_mode=0
This should disable the HDMI output and force composite. (This sets for standard NTSC. You can set to 2 if you require PAL)
In the OSMC Settings you also need to change the audio out to analog, and change the keep audio device alive to off.
I am sure you have done this already but you can also try swapping the colors in the TV to see if that helps. The RPI has a standard layout, (left, right, ground, video I think) but maybe the software is not using it the standard way Raspian is. Swapping the cables into different configs maybe will get the right combination. Hope this helps you out a little!
Dear Darryl,
First of all, thank you very much for your time and your help. Unfortunately, this suggestion did not fix the matter :-/
I edited the config file with both lines you proposed me to add but I still have no sound while trying to watch something on Netflix 🙁
Any other way we could investigate this issue ?
Thank you again for your support and best regards.
Hi Dokidoc, I have done some searching but its hard to find anything definitive on this problem. From what I can find its usually the cable, or the settings, but I think we have both sides covered. I just want to double check, you did set the setting in OSMC for analog output right? This could even be that in the beta of OSMC its not set up correctly yet…
Hi Dokidoc, did you have any luck getting this to work? Because it did work in Raspian I am worried that maybe its an OSMC issue…
Hi Darryl and thank you for caring and for your research. Much appreciated 🙂
I did a fresch install as I was not able to get any sound (analog, HDMI or default) and now I get some but only when OSMC is turned on HDMI. Doesn’t work when turned on analog. Very surprising as I don’t have any HDMI cable connected 😛
I also suspect my cable is not working perfectly anymore. I think that soon or later I’ll have to invest in another TV and swith the the HDMI world 🙂 But until then, I am aware I’ll always encounter some issues… 🙁
Thank again and really best regards.
Hello Darryl.
Happy New Year!!! Have used your guide successfully number of times before; thanks as always.
Early last month, OSMC stopped working for me however was unable to get a chance to look into it. So it kind of just sat there until yesterday when I did a fresh install on RPi3B+. Flashed OSMC_TGT_rbp2_20181101.img.gz & once again followed all steps in your guide without any errors. My problem is when I configure credentials for Amazon VOD or Netflix in their settings, I get error as seen here https://www.dropbox.com/s/vtrnrcu1yni8gp6/20180103_Kodi_Login_Error.txt?dl=0. This is absolutely new & have never experienced this kind of a problem in India.
The credentials are not an issue because they work on my laptops & smartphones. Have browsed through this forum as well as a GitHub but to no avail. Any help would be much appreciated; if you have any suggestion please walk me through as am a newbie to coding.
Hi Ameet, Happy New Year to you too! So from what I can tell, your login attempts are being rejected by Amazon and Netflix. Netflix is saying Connection Refused which isn’t very helpful, but Amazon is giving a little more info saying your SSL Certificate can’t be verified. (Basically it can’t make the encrypted connection securely) This can happen for a number of reasons, even if your system clock is not correct… The clock should set during your Internationalization Options in the Raspi-config steps if you are connected to the internet. You can force your clock to sync by doing the following…
sudo /etc/initi.d/npt stop
sudo ntpd -q -g
sudo /etc/init.d/ntp start
Sorry this isn’t more definitive of an answer! Hopefully it will help though!
Thank you for the prompt response, Darryl. Your diagnosis of logs indicating there is a connectivity issue was spot on. On using alternate connectivity with no restrictions on it, I was able to log in. Cheers!
Awesome! Glad to hear that Ameet!
Logged in just to thank you for this well put tut, Darryl! Mighty glad I stumbled upon your article. Question: per your tut I’m now on RC4 & last night I got an update. Should I if I want to keep Netflix & all its dependencies?
Thank you Sherwin! As a general rule because we are working with beta software I have said don’t update because in the past everything from add-on updates, to widevine, to OSMC updates have broken the setup. Now that we are getting close to release I expect we should be safer doing the updates but can’t say for certain. The versions in the guide I personally test to make sure they work. If I had to guess, I would say its likely okay to update, but can’t say for sure… If you do update and it doesn’t work, you can always revert back to the guide.
Good to hear that we’re near an official release, Darryl. Staying on RC4 in the meantime. Thanks again!
Hi! How are you? Nice job and congratulations =)
About your instruction, it is very simple and clear. I did do in my raspberry Pi 3 b+.
I’m from Brazil and about Amazon i had that use Amazon VOD. In your text, Amazon VOD is only for germany people lives.
Thank you!
Best regards
Hi Antnonio, I should be a little more clear there in my writing. What I mean to say is choose Amazon VOD, or in brackets I mean choose Amazon if you live in Germany. I will change how that’s written to make it a little more clear. Glad all worked well for you! Enjoy!
didn’t work for netflix still requesting the “ERROR: CAddonInstallJob[plugin.video.netflix]: The dependency on script.module.pycryptodome version 3.4.3 could not be satisfied.”
and the addon is not shown in My Addons
also the Amazon has another issue
Humm, let me look into this Fuad. Will do a clean install today and see if I get the same errors. Will update…
So did a fresh install today and everything worked fine. I did get an error message saying couldnt resolve downloads.osmc… but retried and it connected fine. Started up the Avengers Infinity War to make sure… Maybe one of the repositories was down when you tried Fuad, sometimes a retry can solve the problem.
First I was getting the code incomplete because my browser does not show the entire line, took a while to realize the cause of the problem. I use google chrome in mac os. Unfortunately the repository for the netflix add on was not found.
I should maybe change my code viewer, it does go off screen and not wrap and it can be confusing. As for the Netflix repo I would say try that one again. The other repos are typically always up but occasionally they can be down. You may have just caught it while it was down…
Do not need to downgrade, otherwise it won’t boot.
sudo apt-get update
sudo apt-get dist-upgrade -y
Just use these above commands.
Do not use downgrade command.
Rest instructions are fine.
Hi Kamal, I was downgrading it to a version I had tested and knew to be working correctly in the past. Earlier versions quite often didn’t work correctly for this setup. Now that we are on RC2, I think all the newest versions should work. I may remove that line as my tested version will soon be unavailable. Glad you got it working!
Hi Darryl, thks to your help in all this months!!!!
Please keep in touch with your skills because in my opinion you could be very important in future apps releases….
Thks again
Fabio
Thank you Fabio, I appreciate you saying that! I have been pretty busy lately, but I wont go away!
Thank you very much for this useful tutorial. I would like to ask, after installing and activating Netfilx, is it possible to delete Chrome OS recovery image?
Or is it possible to download Chrome OS recovery image on PC, unpack it and send it to Raspberry over SSH to save SDCARD space in Raspberry?
Hi Mubin. The Chrome Recovery image is removed once everything is installed automatically freeing up the space. It does require the space on a temporary basis to download, then extract and install. I am not sure if you can manually move over whats needed from opening the image on a PC. This can be done, but I am unsure of what all needs to be added to the RPI in order to have things work correctly. There is a libwidevinecdm.so file that’s added, as well as a Widevine directory that stores items as well. Inside the directory are additional folders with GUID names so they may be specific to the install and the add-on…
thanks for the tutorial, its perfect! but i have a problem with the amazon addon on my raspberry pi 3b+. the max. resolution of every video is 960×540. do you know how i can increase it to 1080p?
Hi Felix, by default the stream quality is auto set by the plugin, but you can adjust the quality manually. If you go into your Setting -> Addon Browser -> My Addons -> VideoPlayer InputStream -> InputStream Adaptive, in the configuration you can set Steam Selection to Manual. Go back and start up an Amazon Video, and start a show or movie. Now if you bring up the bottom bar (the one with play, pause, stop etc) and select the icon on the right that looks like a film roll you can manually select from the available resolutions from Amazon. Here you can play around with them and see what works best, setting it as your default for all media.
Fabio is right, the RPI does struggle with smooth decoding and rendering of 1080p streams, 720p works flawless.
Thank you, I already tried it – but the max. setting i can set is 960×540. there isnt even an option for a higher resoultion. Is this limitation caused by amazon or is something wrong with my plugin?
Typically the steam choices come right from Amazon. Is this resolution limit consistent between other shows and movies too?
I tried different shows – and some of them were in 1080p! so its not limited to 960×540 in generell. (thanks for the advise btw.) I tink i was confused because i thought every show on amazon comes in Full HD. But that is not right, isnt it? And does that mean that KODI has always the same max. resolution as if you would watch Amazon via browser or via fire stick?
Hi Felix, my experience is the max resolution you can use with RBPi3+ is 720p.
More than this you can loose sync between audio and video.
If you have different experience, please, share me…
Thks
Fabio
Hi Fabio,
thanks for your reply. But I also have only 960×540 on my windows 10 OS running KODI. so it doesnt seems to have something to do with RBPi, but more a generell thing. Does anyone know how to watch stuff on prime addon with 1080p?
My monitors are set to 1080p and 1920×1080 is an option for me to select. I just tested with Ironman 2 on Prime a few seconds ago. Try some different shows Felix and see if its the same…
hi Darryl
thank you for this tutorial very well built ….
when I restart the PI, the OSMC Logo appears then: black screen …
the pi remains accessible from Putty …
would you have a solution to solve this problem?
thanks in advance
Eric
That’s an interesting one Eric. First thing that comes to mind is that maybe you are under-powered. The 3B and 3B+ like 2.5 volts. If its not a power issue, what I suggest is that you retry the installation. I am going to remove a line that downgrades the version of the beta. Right now we are in RC2 which is very close to release. While earlier beta’s broke everything with various updates I am thinking at this stage we should be stable enough to go with whatever the newest release is. Hopefully this will correct the issue.
Hi
Thank you for the quick reply…
I will try a resettlement and you know about it …
Okay, good luck Eric! I just finished some modifications to the guide and am testing now. Currently I am at the point of installing the Widevine Decryption module, so all seems to be working well! Hope its the same for you…
Thanks for this – one important question: “Next we need to update OSMC to one of the nightly builds” – why?
Hi Joost, OSMC version 18 (Leia) is still in development by the OSMC team. The current released Version 17 does not support the encryption modules that are required for Netflix and Amazon Prime Video.
Thanks, that’s good to know, maybe worth adding to the article too.
Hi Joost, there is a bit of a description of that in the very first paragraph of the article. After that is more on what we need to do…
Today I found problems with this netflix addon. I have reinstall all osmc os but still error ehn opening profile. Anyone has similar issues?
Got me a while but found this article to fix it: HOW TO FIX MESSAGE “/usr/bin/pip: No such file or directory”
execute: pip
look message return: /usr/bin/pip: No such file or directory
execute:which pip
look message return: -su: /usr/bin/pip: No such file or directory
execute:type pip
look message return: pip is hashed (/usr/bin/pip)
So in this case, pip is definintely in /usr/local/bin/pip but it is been cached as in /usr/bin/pip,
thanks to the Stackoverflow question, the solution is very simple, just execute:
hash -r
Also if you’re getting the message:
ould not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: ‘/usr/local/lib/python2.7/dist-packages/pycryptodomex-3.7.3.dist-info’
Consider using the `–user` option or check the permissions.
just use: pip install –user pycryptodomex
Darryl – have you tested with the new nightly builds that have moved to 18.8-x, what needs to change to load these builds
Hi Tom, actually its good to stay where we are on the nightly’s. When the official Kodi V.18 release comes, it will still be based on our branch, not the 18.8. Using what we do now will be the most stable, and eventually be able to upgraded directly to the released version. Right now I don’t see any reason to move to the 18.8 branch as currently it doesn’t give us anything we don’t have now except reduced stability.
I just gave the guide a run through from top to bottom and everything still works as expected. 🙂 Hope this helps!
Hello, I’m stuck on the following with trying to install the Netflix add-on (everything else is working seamlessly). I tried the “just use: pip install –user pycryptodome” fix but that gave me a permissions issue.
ERROR: CAddonInstallJob[plugin.video.netflix]: The dependency on script.module.pycryptodome version 3.4.3 could not be satisfied.
Anyone else running into this issue?
Hi Chris, did you manage to work this out? Once thing you may want to test as well is that you are on version 18 of Kodi. If you go to Setting then System Info you can check bottom right. Need to be Kodi 18.2.
Hi Darryl, many thanks for your wonderful guide. It’s quite easy to follow, even for a non-linux-user like me. Unfortunately, I’ve run into a problem with the line
sudo ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome
I’ve followed your instructions to the letter three times, each time using a fresh install of OSMC (formatting the SD card first), and using Putty to copy/paste the commands directly from the guide (though I also tried inputting by hand after getting no confirmation). I post the line, and it gives me no confirmation that it’s done anything. If I try another couple of times, it gives me the message
ln: failed to create symbolic link ‘/usr/lib/python2.7/dist-packages/Cryptodome/Crypto’: File exists
As I would expect from getting an error at this point, I can’t play content from Netflix. It prompts me to install Widevine if I try, but then does nothing but give me an unspecific error message, so I’m assuming the missing symbolic link is the problem. I know you’ve just run through the guide a few weeks ago and it worked, but do you have any ideas where the problem could be? I use a Raspberry Pi 3, osmc version before nightly is 2018.12-1, Netflix Addon update is 0.13.22.
Hi Sandra, I am running through another install right now to make sure all is still good. The symbolic link won’t give any output, just happen. Here’s my output…
osmc@osmc:~$ pip install pycryptodomex
Collecting pycryptodomex
Downloading https://files.pythonhosted.org/packages/05/86/92b303bc4ed00451401e99e90003d5361fb054b9af9af2490b1b44caeaef/pycryptodomex-3.8.1.tar.gz (11.5MB)
100% |################################| 11.5MB 24kB/s
Building wheels for collected packages: pycryptodomex
Running setup.py bdist_wheel for pycryptodomex … done
Stored in directory: /home/osmc/.cache/pip/wheels/83/37/75/85a95885e1e48d22cc6c964680e7938a19ca7c80eb814b2ff0
Successfully built pycryptodomex
Installing collected packages: pycryptodomex
Successfully installed pycryptodomex-3.8.1
osmc@osmc:~$ sudo ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome
osmc@osmc:~$
Everything worked for me. I did the same as you, cut and pasted into putty. One thing you can check, is after you run the sudo apt-get dist-upgrade -y command, enter sudo reboot. Once restarted, in OSMC, go to Settings-> System Info and check the bottom right corner. Right now, I am running Kodi 18.2-RC1. If its showing Kodi 17… then your still running the last release and there was a mis-step in your enter of the new source for the beta versions of OSMC.
Thanks very much for taking the time to check this. I did what you said after repeating the entire process again, and I’m indeed running Kodi 18.2-RC1, so that’s not it.
In case anyone has any ideas where the problem could be, here’s my log from Putty: https://www.dropbox.com/s/73ulm7fkmp22alu/Pi3_puttylog.txt?dl=0
And here’s a log from my OSMC right after Widevine installation failed to initiate in Netflix: https://paste.osmc.tv/ahukeyequm
Any ideas how I can fix this are very much appreciated! Is there perhaps a way to do whatever is required by hand? Keep im mind I know zilch about code or programming though, so I can really only follow VERY easy instructions like those in the original guide 🙂
Thanks very much for taking the time to check this. I did what you said after repeating the entire process again, and I’m indeed running Kodi 18.2-RC1, so that’s not it.
In case anyone has any ideas where the problem could be, here’s my log from Putty: https://www.dropbox.com/s/73ulm7fkmp22alu/Pi3_puttylog.txt?dl=0
And here’s a log from my OSMC right after Widevine installation failed to initiate in Netflix: https://paste.osmc.tv/ahukeyequm
Any ideas how I can fix this are very much appreciated! Is there perhaps a way to do whatever is required by hand? Keep im mind I know zilch about code or programming though, so I can really only follow VERY easy instructions like those in the original guide 🙂
Just a thought Sandra, the widevine installation takes a lot of room. Its part of a google recovery image which gets downloaded, then extracted on your Raspberry Pi. How big is the SD card your using? I know 4 gig will be too small, and I am unsure about an 8 gig card being big enough.
Hi Darryl, I Installed succesfully, Thank you for your guide!. I hope you will make like this for Disney +.
Glad it worked for you Malaa! Once Disney + is ready hopefully someone will make an addon for it. If so I will definitely add it to the guide. 🙂
HI Darryl. My problem is, after i enter command line “sudo apt-ket add -“,i got blank line and cannot put successive command sudo apt-get update
Hi Vincenzo, depending on your screen resolution the full command might get cut off the screen. Check and make sure you got the entire command from the screen. I should really change my code to something better so its not an issue anymore…
My pc screen is 1980×1080. I see the commando “sudo apt-key add -” even with my phone’s screen. If I’m not visualizing exactly the command could you write it there in a comment? TY
It looks like you have it correct Vincenzo. It should be this line exactly…
wget -qO – http://download.osmc.tv/dev/gmc-18/pubkey.asc | sudo apt-key add –
If so, why i get blank line? The header of my id doesn’t appear. If i try end command with ctrlZ an do the update it gives error and can’t go on with the guide with nightly installation
Are you treating wget -qO – http://download.osmc.tv/dev/gmc-18/pubkey.asc | sudo apt-key add – as two seperate lines by chance Vincenzo? Its actually one command, the whole thing runs as one… That may be the issue…
Are you treating wget -qO – http://download.osmc.tv/dev/gmc-18/pubkey.asc | sudo apt-key add – as two seperate lines by chance Vincenzo? Its actually one command, the whole thing runs as one… That may be the issue…
ohhh man that was the issue!!! I feel so dumb. I completed the guide and it worked perfectly.Thank you very much for your extraordinari work and support!
Hello Darryl,
Another pip error when I try pip install pycryptodomex. I get
osmc@VR:~$ sudo pip install –user pycryptodomex
Traceback (most recent call last):
File “/usr/bin/pip”, line 9, in
from pip import _main
ImportError: cannot import name _main
I tried this from stackoverflow : /usr/bin/pip
from pip import __main__
if __name__ == ‘__main__’:
sys.exit(__main__._main())
Did not help. I can’t upgrade pip either
Hi Andrew, with pip installed you shouldn’t need to sudo the line to install pycryptodomex. Just enter pip install, you can basically copy and paste the line exactly from the guide. Using sudo pip will install it for the root user. For this its okay to install for the pi user..
Hi Darryl, I tried both (sudo and normal) with the same error. I also have a /usr/bin/pip2
This one has me stumped Andrew. Its not something I have encountered before. Typically with the previous dependency additions things work clockwork exactly as shown. I literally copy and paste into putty when I test this. I am thinking that something must not have installed correctly and unfortunately the easiest solution may be to start the install again from scratch. Thankfully its not an overly long process.
Hi. I installed OSMC and it is running kodi 18.2-RC1 on a RPI 3.
my sources.list is as follow:
deb http://ftp.debian.org/debian stretch main contrib non-free
deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://apt.osmc.tv stretch main
deb http://download.osmc.tv/dev/gmc-18 gmc-18 main
Everytime i sudo apt-get update i get stucked on a malformed error for the last deb:
Reading package lists… Error!
E: Malformed Description-md5 line; doesn’t have the required length (32 != 3659) ‘434141a2e2@’
🙁 any thoughts?
(thank you for the tutorial)
Hi Mariovski, that is a strange error. Maybe try doing a cut/paste from the site to the sources file. That’s basically exactly what I do when I am testing the guide to make sure its still working. From what I can see here it looks good so I am not sure why its throwing that error.
hey man! great work with the tutorial, simple and easy to follow. however, I have some issue with the plugin
first, when I select a folder for Amazon Video, it seem to scan every single available folder, season, episode when I try to open it : takes an aweful lot of time
then, when I finally get to open the folder for the series I want to watch and open the season 1 folder, there’s no episode at all. I check all other episode folders and they are all empty.
Hi Jerome, there has always been a bit of a cat and mouse game with the Amazon plugin. Amazon likes to make changes, that the dev’s of the plugin need to accommodate. You can take a peek here https://github.com/Sandmann79/xbmc and check to see if anyone else has the issue and if there is a fix or workaround available. I have noticed in the past when first launched it can take a while to download the listings and covers etc.
yes, it did take some time, but now it seems like it’s starting over when I get a level lower… anyways, my main issue right now is the absence of video in the series. I can’t install the Widevine module.
Hey Darryl, thanks a lot for posting this very clear article. I’ve stumbled into an issue, was hoping you’d be able to advise on how to proceed. Everything went perfectly until installing the Netflix add-on:
“Settings -> Add-on browser -> Install from repository -> Netflix Addon Repository -> Video add-ons -> Netflix”
When selecting the “Netflix Addon Repository”, it loads for a bit and then returns the error: “Could not connect to repository”. I’m guessing this means the repository is down but what do you suggest in this case? Waiting and trying again, or is there another repository I can try?
Thanks in advance.
Hi Chris, I just checked now and it seems to be working. Sometimes there is a service disruption, but its typically quite short in duration. Give it a shot again, hopefully it will work okay for you. If not, take the link and place it in your web browser (without the wget) and see if it downloads. You browser may give you a little more detailed error hopefully that will help troubleshoot the reason.
Hi Darryl, thanks a lot for the quick response. It’s weird – accessing it the browser works fine so as you said that shouldn’t be the issue. For example, when I tried the same steps for Amazon Video add-on it worked fine:
“Settings -> Add-on browser -> Install from repository -> Sandmann79s Repository
Now select install and okay. I tested with Amazon VOD version 0.6.3~beta.”
When I do a ‘ls’ in the /home/osmc directory, I can see repository.netflix-1.0.1.zip. It’s just when I follow these steps for the Netflix add-on, I get the error right after clicking “Netflix Addon Repository”.
This is a strange one Chris, so installing from .zip works fine, its just when you go to install from the Repo that it fails correct? It does sound like the actual repository may be down. I would expect it to be back up fairly quickly. I will run through the installation again today and see if I have the same problem and get back to you on my results, see if I can replicate the problem…
I’m getting the same message for the last few days trying to install the Netflix add-on (Could not connect to repository). I’ve tried a few times each day… so I’m either having bad luck, or it’s down for more than a little time
Hi James, yes its been down too long. I just completed updating the guide, and added a new Repository to replace it. I haven’t tested it yet, but I have it under good authority it works and will test myself as soon as I can. You should be able to ssh in, download the new repo zip file with wget and install as you did with amazon. Good luck!!
Hi Chris, so I did have the same problem. The repo is down. As an alternative, from ssh when your downloading the files, grab this one
wget https://github.com/asciidisco/plugin.video.netflix/archive/0.13.22.zip
This should work for version 22 (the newest currently).
Sorry so slow to get this done, been a crazy week!
Hi Darren, that solved the same problem. Thanks for your quick and clear answers, and again for this guide.
Hi Chris, I added a new repo now to replace the dead one. You can download the .zip file again and install like you attempted before. It should work now. 🙂
I was able to install the Netflix addon by using the archive at the link you provided on May 23.
HOWEVER, although I successfully authenticate (I know this worked because Netflix emailed me a “sign-in from new device” warning), I can’t get the add-on to actually open and do anything.
I see this in the kodi.log:
2019-05-25 21:36:48.165 T:3961062112 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
– NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type:
Error Contents:
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.netflix/addon.py”, line 33, in
NAVIGATION.router(paramstring=REQUEST_PARAMS)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils.py”, line 60, in wrapped
result = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, line 123, in router
options = self.before_routing_action(params=params)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils.py”, line 60, in wrapped
result = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, line 867, in before_routing_action
‘method’: ‘is_logged_in’}))
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, line 1053, in call_netflix_service
data = urllib2.urlopen(full_url).read()
File “/usr/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 429, in open
response = self._open(req, data)
File “/usr/lib/python2.7/urllib2.py”, line 447, in _open
‘_open’, req)
File “/usr/lib/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib/python2.7/urllib2.py”, line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File “/usr/lib/python2.7/urllib2.py”, line 1198, in do_open
raise URLError(err)
URLError:
–>End of Python script error report<–
2019-05-25 21:36:48.352 T:3961062112 WARNING: CPythonInvoker(7, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): the python script "/home/osmc/.kodi/addons/plugin.video
2019-05-25 21:36:48.371 T:3786388192 ERROR: GetDirectory – Error getting plugin://plugin.video.netflix/
2019-05-25 21:36:48.384 T:4064305152 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/) failed
Ok.. I got over that by reading through this thread: https://github.com/asciidisco/plugin.video.netflix/issues/601
I started having some random Netflix error and then the other day I just couldn’t get it to start, just through errors.
So I went back to this guide hoping for updates. And yes, trusted updated site. OK, straight enough small changes and update to latest versions. But the latest Netflix plugins from kodinerds repo, asciidisco builds up to 0.13.26 now, gave me the same error and I couldn’t install older once like 0.13.5 or 0.13.6.
CastagnaIT repository had the same versions with the same problems. BUT CastagnaIT did have one more – 0.14.5, I don’t know if it is his own updated version, and this worked flawless and for the first time I don’t have German as default language.
I installed 0.14.6 from CastagnalIT and it started to work
Can’t get Netflix to run. Under settings, I only see “Logout” but nowhere switch account. Is it broken already, or did I miss anything. I followed all the steps as above and rebooted multiple times just to make sure.
I got Netflix working using instructions this site, however, there seems to be an issue with the latest version of OSMC. I had to download the OSMC_TGT_rbp2_20190522 version and NOT do the updates listed above (ie don’t add source and run dist-update). Also I had to make sure I disabled updates in OSMC or it would break Netflix.
Hi David, yea this guide is a little dated now. Kodi Leia has officially been released, so now if you know you are running version 18 or better, you just need to start at the ‘Lets install dependancies’ section. The rest was upgrading to Leia Beta editions that were in development.
Hi Darryl
Great instructional. I just loaded osmc on a raspberry pi 1 it works well except very slow I installed a video add on from kodi called DAZN. it installed no problem. When I tried to open it it asked me to install widevine and I tried but it gave me an error saying incompatible architecture. Is this because the rpi is too old or is this an incompatibility with DAZN. I know this is not directly related to netflix etc…just though I’d ask
Thanks Chris
Hi Christopher, yea unfortunately the raspberry pi 1 wont run things properly. Its chipset isn’t supported anymore and it wouldn’t have enough power anyway even if we could get it to install. The streaming and encryption of the streams takes some power to work properly. Even the 3B+ stutters at 1080p. 720p does work well though. I don’t have one yet, but I imagine the new 4 will run HD without problems.
Hi Darrly, any work around for the latest netflix 0.15? can’t seems to work at the uncompressing and giving netflix addon error on the first run.
Hi Henry, I haven’t had any issues with it. Just installed the latest again yesterday. What is the error your getting?
Hi Darryl,
I installed your latest release on Pi 3b with OSMC, netflix works beautifully but Amazon VOD 0.7.4 only shows lists on the search menu, it will not show anything on the other sub menus. I tried switching to the Estuary skin and it makes no difference.
Hi Pablo, I am going to do a reinstallation to test the Amazon plugin as well..
Hi Darryl. I just installed as per your guide on a pi3 B running OSMC no problems all went well and I installed widevine by running netflix. Netflix works perfectly but Amazon VOD does not load any movie, tv shows, my list titles at all. It says it’s loading the page and then comes up with an error “Amazon VOD error – Check the log for more information”
I wanted to uninstal widevine and reinstal with Amazon VOD but I am unsure on how to uninstal widevine.
Thank you
Hi EJB, widevine should work for both regardless. It installs more at a system level than a plugin level. But to try a reinstallation you should be able to run the following commands via SSH or command prompt…
sudo rm ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm/libwidevinecdm.so
sudo rm ~/.kodi/userdata/addon_data/script.module.inputstreamhelper/cdm/widevine_config.json
Hope this works!!
Hi EJB, I did a reinstall last night, and couldnt even log into Amazon VOD. Netflix was great, I suspect that Amazon made some changes and we just need to wait for an update to the plugin by the authors… Issues have happened before but they are typically fairly quick to address. Hopefully its fixed soon!
Great tutorial, worked for me (in Spain), many thanks!
Thank you Javi! Appreciate the feedback!!
Hi Darryl,
thank you for a great tutorial 🙂
as for the step called “LETS GET OUR ADD-ONS” the correct repositories are as of now:
https://github.com/castagnait/repository.castagnait/raw/master/repository.castagnait-1.0.1.zip
and
https://github.com/Sandmann79/xbmc/releases/download/Repository/repository.sandmann79.plugins-1.0.3-leia.zip
Please confirm. I got a 404 on the other two
repository.castagnait-1.0.1.zip and repository.sandmann79.plugins-1.0.3-leia.zip will be the two zip files being installed via the add-on browser later on.
Hi Bernhard,
Yes you have the correct Repositories now. I have updated the guide accordingly as well! I appreciate you posting this here.