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

View the readme for the netflix addon at the link below to understand resolution limitations.

2 Likes

Thank you for the information!
I will read through all information, but before I spent a lot of time fixing my issues. Is the Vero 4K+ able to play 4K from Netflix at this moment?

You won’t. If you read the link, no Kodi devices (with the exception of devices with Netflix certification, Widevine Security Level L1 and HDCP 2.2 hardware) are able to play 4k content, and 1080p resolution is not guaranteed.

So the answer is no the Vero 4K+ is not able to play 4K at this moment and I / we are lucky 1080P with Atmos is working? All my equipment is compliant for the other parts.

Yes, the answer is no.

No, your equipment does not include a device with Netflix certification, Widevine Security Level L1 and HDCP 2.2 hardware.

1 Like

I bet two interwebz not even an overclocked 10900K could do the plugin version of Netflix with UHD in software.

Did some changes in the automation/prep script a few days ago, then i got pressed for time when i was supposed to test it. It should work, but there might be typeO’s that i’ve missed. Either case if the script isn’t performing as it should, the manual instructions should.

If there is an issue with the script in current format please let me know and i’ll reserve some time to check it out.

2 Likes

Great, in which of the 607 posts here do I look? :slight_smile:

@AndersG In post 4, you got the github-link to the automation/prep script, as well as the instructions to manually do, what the script does automatically.

As I said, i did update the script and manual instructions a few days ago.

1 Like

Yes, sorry. It was in that other thread:

Yesterday I have encountered a problem with user/pass login. After a few further attempts I have reinstalled Netflix plugin and then I saw alternative login method: authorisation key. See this:

It is not looking good. Why the file is on dropbox, not github? Windows recognises this exe as a threat, but Bitdefender is fine with it (the binary not signed I guess). So I took the risk, went over the key retrieval process (I had to repeat it, since it did not work OOTB). Finally I have my Kodi with Netflix again but the way to get this key is not well documented nor designed to at least look trustful.
BTW I have an impression that this plugin version works less efficiently (menu navigation seems somewhat slower).

Followed the instructions and installed the add-on successfully on my raspberry pi 3B.

With default settings, poor raspberry is dying with all 4 cores at almost 100% utilization.

I’ve tried these settings and only lowering resolution to 720p helped.

I was wondering has anyone managed to get it working smoothly at 1080p?

You won’t get 1080p on the Pi unfortunately.

So I followed the steps I could find, but when I try to open Netflix I get the error that I’m missing a required library to run Netflix. It also says error details: no module named Crypto.Random

Any advice?

Fair enough, I’m happy with 720p considering it runs on raspberry pi 3B :slight_smile:

HI, I’ve just did my first netflix installation attempt on Vero 4k.

The installation part was all good, then I had issue with authentication, ultimately I had to put both generated key AND the password for it to work. Still it worked so moving on.

After I tried to open first random movie, the videwine installed successfully (at least i didn’t notice any errors).
Unfortunately when I am trying to watch anything, basically nothing happens, slight activity in the background and then nothing, no error, no message.

I’ve checked in logs and there is:

2020-12-13 13:36:32.244 T:4067811344   ERROR: Control 55 in window 10025 has been asked to focus, but it can't
2020-12-13 13:37:00.561 T:3961200864   ERROR: [script.module.inputstreamhelper] [u'ldd', u'/home/osmc/.kodi/cdm/libwidevinecdm.so'] cmd failed.
2020-12-13 13:37:00.562 T:3961200864   ERROR: [script.module.inputstreamhelper] Failed to check for missing Widevine libraries.
2020-12-13 13:37:00.562 T:3961200864   ERROR: EXCEPTION: Invalid setting type
2020-12-13 13:37:00.563 T:3961200864  NOTICE: [script.module.inputstreamhelper] Widevine update check was made on 2020-12-13 13:20
2020-12-13 13:37:00.598 T:4067811344  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.netflix/play/movie/80996790/?profile_guid=QJE4RJWRIJG47BVFV32SZP7R5A
2020-12-13 13:37:00.599 T:3415208160  NOTICE: Creating InputStream
2020-12-13 13:37:01.319 T:3415208160   ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (/home/osmc/.kodi/cdm/libwidevinecdm.so)
2020-12-13 13:37:01.320 T:3415208160   ERROR: AddOnLog: InputStream Adaptive: OpenDRMSystem failed
2020-12-13 13:37:01.321 T:3415208160   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.netflix/play/movie/80996790/?profile_guid=QJE4RJWRIJG47BVFV32SZP7R5A]

Did anyone encountered such issue?
Any ideas, what might be wrong / how to fix?
TIA

P.S. Is this a proper behavior:

osmc@vero2:~/.kodi/cdm$ ldd /home/osmc/.kodi/cdm/libwidevinecdm.so 
	not a dynamic executable

?

first would be to check if “/home/osmc/.kodi/cdm/libwidevinecdm.so” exists, Since i dont know how familiar you ar e with shell (ssh) i’ll just giove you a detail description on what to do.

Login via ssh, in osmc user home folder (where you start after login in as osmc), do this:

cd .kodi
cd cdm
ls

That should show something like this:
23EF0ABC-00CD-FE43-4356-34FEC30A31DE.challenge
23EF0ABC-00CD-FE43-4356-34FEC30A31DE.init
23EF0ABC-00CD-FE43-4356-34FEC30A31DE.response
config.json
recovery.json
libwidevinecdm.so
widevine/

The “random hexcode strigns” are unique to your install, i’ve edited that dat from my install and just put random numbers there.

If that isn’t your case i would try to install widevine again, in kodi go:
settings->add on browser->My addons->Video addons
mark Netflix addon and press context menu (C on keyboard), chose settings, expert, inputstream helper settings, (re)install widevine CDM libary

Hope that gets you running

Thanks for your quick support,
Unfortunately I’ve tried reinstall already, didn’t change anything, also I’ve add one remark to my post, not sure if you saw it:

osmc@vero2:~/.kodi/cdm$ ldd /home/osmc/.kodi/cdm/libwidevinecdm.so
not a dynamic executable

I’m quite familar with shell, no issue there,
here is the directory listing:

osmc@vero2:~/.kodi/cdm$ ls -la 
total 9356
drwxr-xr-x 3 osmc osmc    4096 Dec 13 14:39 .
drwxr-xr-x 8 osmc osmc    4096 Dec 13 13:20 ..
-rw-r--r-- 2 osmc osmc     627 Dec 13 14:07 config.json
-rwxr--r-- 2 osmc osmc 9331116 Dec 13 14:07 libwidevinecdm.so
-rw-r--r-- 2 osmc osmc  226074 Dec 13 14:07 recovery.json
drwxr-xr-x 7 osmc osmc    4096 Dec 13 14:45 widevine

Maybe this can help:
https://paste.osmc.tv/lidafiboyo

there is widevine reinstallation as well in the logs and there is the same error as when I am trying any playback:

2020-12-13 15:30:05.873 T:3496194272   ERROR: [script.module.inputstreamhelper] [u'ldd', u'/home/osmc/.kodi/cdm/libwidevinecdm.so'] cmd failed.
2020-12-13 15:30:05.873 T:3496194272   ERROR: [script.module.inputstreamhelper] Failed to check for missing Widevine libraries.
2020-12-13 15:30:05.876 T:3496194272   ERROR: EXCEPTION: Invalid setting type

My guess is that either the Inputstreamhelper is broken (I doubt that since it is a newest version that I’ve already seen in some posts here (v0.5.1 (2020-10-02)) or the
chromeos_13505.63.0_expresso_recovery_stable-channel_mp-v15.bin.zip
contains wrong/not compatible library

Please advise

I’ve managed to fix this, but there is a serious issue with the inputstreamhelper add-on (I think)
The image ‘chromeos_13505.63.0_expresso_recovery_stable-channel_mp-v15.bin.zip’ that the add-on is currently downloading to extract the widevine library is either broken or not compatible with Vero.

I’ve manage to download different version:
chromeos_13505.63.0_elm_recovery_stable-channel_mp-v2.bin.zip
I’ve extracted the library myself and it now works!!!
The library version is:
4.10.1679.0

@sam_nazarko: I am not sure who supports the inputstreamhelper add-on, but I guess this should be looked into for the Vero community’s sake.

These are the commands I’ve used, if anyone needs it:

# this needs around 3GB of free space:
wget https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_13505.63.0_elm_recovery_stable-channel_mp-v2.bin.zip
unzip chromeos_13505.63.0_elm_recovery_stable-channel_mp-v2.bin.zip
sudo kpartx -av chromeos_13505.63.0_elm_recovery_stable-channel_mp-v2.bin
# the 0 in loop0 below may differ depending on your configuration so just check the previous command output to get the correct device, p3 should be always used
mkdir /mnt/test
sudo mount -o ro /dev/mapper/loop0p3 /mnt/test/
mv ~/.kodi/cdm/libwidevinecdm.so ~/.kodi/cdm/libwidevinecdm.so.old
cp /mnt/test/opt/google/chrome/libwidevinecdm.so ~/.kodi/cdm/
1 Like