plugin.video.netflix: RPI - Unable to play videos - error: InputStream Adaptive: Unable to load widevine shared library

Bug report

Your Environment

  • Netflix add-on version: 1.12.4
  • Operating system version/name: LibreELEC (official): 9.2.6
  • Device model: Raspberry Pi 4B

Used Operating system:

  • Android
  • iOS
  • Linux
  • OSX
  • Raspberry-Pi
  • Windows

Describe the bug

Program will not play when selected in the menu, no error and remains on the menu rather than the play window

Expected behavior

hitting enter on a netflix program should stream the video, or at least show an error that it could not play

Actual behavior

Silent, no error and remained on menu page. Have played around with the resolution settings and everything else the wiki suggest for video issues. On kodi disabled hardware decoding and set a 720p resolution, still no help

Steps to reproduce the behavior

  1. Install LibreElec onto SD card from official raspberry pi site
  2. Insert into Pi
  3. download CastagnalT repo zip onto usb stick
  4. On Kodi Install plugin-from zip
  5. Goto Repo and install dependencies
  6. Start plug-in
  7. log-in to account
  8. Follow prompts for installing widevine via chrome
  9. find any program and hit enter

Possible fix

Total noob here but probably something to do with the log line 799 GetDirectory - Error getting /usr/lib/kodi/addons/inputstream.adaptive/ or the chrome installer for widevine could be silently failing?

Debug log

The debug log can be found here: https://paste.kodi.tv/ozicucivol

Additional context or screenshots (if appropriate)

Other information

A quick search of related issues picks up this #154 but my issue looks most similar to #474

Screenshots

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 8
  • Comments: 30 (10 by maintainers)

Most upvoted comments

ARMv7 4.10.1679.0 here if anybody needs

https://k.slyguy.xyz/.decryptmodules/widevine/4.10.1679.0-linux-armv7.so (just rename it to libwidevinecdm.so) or http://archive.raspberrypi.org/debian/pool/main/w/widevine/widevine_4.10.1679.0.orig.tar.xz (extract and find the file in widevine\opt\WidevineCdm_platform_specific\linux_arm"

Here’s what worked for me (I think this is doing the same as @ancebfer above but easier for those less experienced with the command line):

Go to Add-ons > My add-ons > Program add-ons > InputStream Helper > Configure > Restore Widevine CDM Library

Select the most recent previous version. The one that worked for me was …77.0

Guys, found a “fix”. I had an image backup and extracted the old libwidevinecdm.so and copied it over to the PI. It works fine. So the culprit is the latest libwidevinecdm.

-rwxr–r-- 1 root root 7297324 May 9 16:45 libwidevinecdm.so

I can confirm that restoring previous libwidevinecdm.so from backup solves the problem:

find / -name “libwidevinecdm.so” /storage/.kodi/cdm/libwidevinecdm.so /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/13816.64.0/libwidevinecdm.so /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/13729.56.0/libwidevinecdm.so /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/13505.111.0/libwidevinecdm.so

cp -a /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/13729.56.0/libwidevinecdm.so /storage/.kodi/cdm/

Instead of the not working libwidevinecdm.so version 13816.64.0, the previous version 13729.56.0 works right.

Best regards.

Thanks i found an other solution !

Hi Guys,

There is a new version of InputStreamHelper v0.5.3, which has a patch for this, as the release notes saids, It may fail on 1st of June. So far , so good!!!

https://github.com/emilsvennesson/script.module.inputstreamhelper/commit/8f4205e7b2e8047b5907d75e003e7a459259672b

Cheers

Guys, found a “fix”. I had an image backup and extracted the old libwidevinecdm.so and copied it over to the PI. It works fine. So the culprit is the latest libwidevinecdm.

-rwxr–r-- 1 root root 7297324 May 9 16:45 libwidevinecdm.so

There is this issue (the date is a bit old) but the script in comment also works correctly.

https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/35#issuecomment-419636872

I solved it yesterday this way, then I have seen that maybe the best way is the way @lgangler explains it