Netflix plugin stopped working

Should be fixed now, the PR was bad, fixed the sudo line that was messed up (not my code).

So please try again if you got time and energy to help :innocent: :innocent:

ps. i got it to run locally, without errors =)

same error :frowning:

2020-10-02 03:13:20.362 T:3206517472 ERROR: [script.module.inputstreamhelper] [u’ldd’, u’/home/osmc/.kodi/cdm/libwidevinecdm.so’] cmd failed.
2020-10-02 03:13:20.362 T:3206517472 ERROR: [script.module.inputstreamhelper] Failed to check for missing Widevine libraries.
2020-10-02 03:13:20.363 T:3206517472 ERROR: EXCEPTION: Invalid setting type
2020-10-02 03:13:20.364 T:3206517472 NOTICE: [script.module.inputstreamhelper] Widevine update check was made on 2020-10-02 01:22
2020-10-02 03:13:20.735 T:4068143104 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.netflix/play/movie/81001887/?profile_guid=ODAURZY6UNDEFHAUVIVTQOCYRY
2020-10-02 03:13:20.737 T:3066004192 NOTICE: Creating InputStream
2020-10-02 03:13:22.362 T:3066004192 ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (/home/osmc/.kodi/cdm/libwidevinecdm.so)
2020-10-02 03:13:22.363 T:3066004192 ERROR: AddOnLog: InputStream Adaptive: OpenDRMSystem failed
2020-10-02 03:13:22.365 T:3066004192 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.netflix/play/movie/81001887/?profile_guid=ODAURZY6UNDEFHAUVIVTQOCYRY]
2020-10-02 03:13:22.365 T:3066004192 NOTICE: CVideoPlayer::OnExit()
2020-10-02 03:13:22.397 T:4068143104 NOTICE: CVideoPlayer::CloseFile()
2020-10-02 03:13:22.452 T:4068143104 NOTICE: VideoPlayer: waiting for threads to exit
2020-10-02 03:13:22.452 T:4068143104 NOTICE: VideoPlayer: finished waiting
2020-10-02 03:13:27.313 T:3206517472 ERROR: [plugin.video.netflix (2)] Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py”, line 33, in wrapper
func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py”, line 249, in run
success = route(pathitems)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py”, line 90, in lazy_login_wrapper
return func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py”, line 126, in route
_execute(nav_handler, pathitems[1:], G.REQUEST_PARAMS)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py”, line 153, in _execute
executor(pathitems=pathitems)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py”, line 164, in timing_wrapper
return func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/navigation/directory_utils.py”, line 34, in set_custom_viewmode
override_partial_setting_id = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/navigation/directory.py”, line 105, in home
list_data, extra_data = common.make_call(‘get_mainmenu’) # pylint: disable=unused-variable
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py”, line 164, in timing_wrapper
return func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py”, line 88, in make_call
return make_addonsignals_call(callname, data)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py”, line 160, in make_addonsignals_call
timeout_ms=IPC_TIMEOUT_SECS * 1000)
File “/home/osmc/.kodi/addons/script.module.addon.signals/lib/AddonSignals.py”, line 176, in makeCall
return CallHandler(signal, data, source_id, timeout_ms, use_timeout_exception).waitForReturn()
File “/home/osmc/.kodi/addons/script.module.addon.signals/lib/AddonSignals.py”, line 118, in waitForReturn
raise OSError
OSError
2020-10-02 03:13:32.048 T:3091182304 ERROR: CPythonInvoker(24, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): script didn’t stop in 5 seconds - let’s kill it

I think Widevine is the culprit here…

Yeah seems like that, have you tried the solution you posted earlier? Wasn’t previously aware of the liwudevine issue, but that’s another add on completely. I’m just glad we finally got my prep-script sorted.

My recommendation is to downgrade wide one, ignore updates till Emil reply on that issue you linked earlier.

I havent tried that solution because i dont know how to downgrade widevine… if you point me to the right directions … or i’ll stay without Netflix until wide its fixed.

The instruction is in that post, the user removed the bad lib and grabbed the old from backup. Since I sleept a few hours earlier tonight i have problem falling asleep again, it’s 3 am and wide awake so I’ll write the commands needed here:

rm /home/osmc/.kodi/cdm/libwidevinecdm.so 
cp /home/osmc/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/13020.87.0/libwidevinecdm.so /home/osmc/.kodi/cdm

After you have done that you should reboot and try Netflix addon, remember to not upgrade widevine.

That should do it,

@AndersG this might help your issue too?

1 Like

Oddly did I do a quick test last night after wife was done watching “Prison Break”. I could not be bothered do I was in the basement writing C-code on a Microchip PIC24-series :slight_smile:

When I tried just before going to bed, without doing anything, but I noticed that OSMC said something about auto-updating… It worked as far as selecting a user and getting the UI, but I never tried watching anything. Will try again tonight.

FWIW, our new TV has Netflix built in and it has a higher wife-acceptance-factor as searching is so much easier. OTOH do I only have surround through the Vero, so I prefer that.

The problem for me is that i dont have the folder ”13020.87.0” in Backups, because i installed widevine for the first time, last night. I have only 13310.91.0. So maybe you can send me that folder, or only the file (libwidevinecdm.so). And i will replace it in my CDM folder. Replacing the file is easy. Geting the corect one is hard :slight_smile:
So, if you are kind, send me a link with the correct version of the file (13020.87.0) please.

From a copyright stand point, i’m not comfortable with sharing copyrighted materials. Might find some link on the interwebs.

1 Like

Ok. I understand. I’ll try to find ar earlier version on the web. Anyway, it seems that in a couple of hours, the error will be fixed. At least this is what Horstle said on Github. So its ok.
Thanks a lot for your help.

It appears to work, but it wants to update videvine. Let’s see what happens after that…

Theoretically it should now work, but the problem is with inputstream.helper-addon. And apperently the dont have an setup that automatically updates kodi-repository when there is an updated version of that addon buildt. But if you are in a hurry you can grabb the new addon zip here:

https://github.com/emilsvennesson/script.module.inputstreamhelper/releases/download/v0.5.1/script.module.inputstreamhelper-0.5.1.zip

and install the zip.

1 Like

Still works after updating videvine

1 Like