Np glad I could help.
Thanks for sharing. Tried this on my fresh Rpi4 install and Netflix 1.15.0+matrix.1 add-on installation fails (and InputStream Helper 0.5.2+matrix.1 succeeds) with the following interface and log messages.
Interface: Failed to install a dependency
Log:
2021-04-17 15:12:39.798 T:461 INFO : CActiveAESink::OpenSink - initialize sink
2021-04-17 15:12:39.799 T:461 INFO : CAESinkALSA::Initialize - Attempting to open device “sysdefault:CARD=vc4hdmi1”
2021-04-17 15:12:39.806 T:461 INFO : CAESinkALSA - Unable to open device “sysdefault:CARD=vc4hdmi1” for playback
2021-04-17 15:12:39.807 T:461 ERROR : CAESinkALSA::Initialize - failed to initialize device “sysdefault:CARD=vc4hdmi1”
2021-04-17 15:12:39.807 T:461 INFO : CAESinkALSA::Initialize - Attempting to open device “@”
2021-04-17 15:12:39.818 T:461 INFO : CAESinkALSA::Initialize - Opened device “sysdefault”
2021-04-17 15:12:39.820 T:461 INFO : CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-04-17 15:12:39.820 T:461 INFO : CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2021-04-17 15:12:45.059 T:640 ERROR : CAddonInstallJob[plugin.video.netflix]: failed to find dependency script.module.addon.signals
Yes it seems it can’t automatically download dependencies from the official repo. So you can manually install the dependencies. Get them here: Files...
you’re gonna need a few dependencies. Look at the log to see which ones.
Good luck
Thanks. I’ll try this.
If that helps anyone else, Netflix addon installation completed after following @kukaburra first set of instructions:
sudo apt-get install python3-crypto
sudo apt-get install build-essential python3-pip
sudo python3 -m pip install -U setuptools
sudo python3 -m pip install wheel
sudo python3 -m pip install pycryptodomex
And installing manually the following addons in that order
script.module.addon.signals-0.0.6+matrix.1.zip
script.module.certifi-2019.11.28+matrix.1.zip
script.module.chardet-3.0.4+matrix.3.zip
script.module.idna-2.8.1+matrix.1.zip
script.module.urllib3-1.25.8+matrix.1.zip
script.module.requests-2.22.0+matrix.1.zip
script.module.myconnpy-8.0.18+matrix.1.zip
Does the app actually work for you now? Can you play videos?
Thank you @LaurentD for that “work”. I still haven’t had the needed time, hoping the Mrs and the kids go to bed early tonight. So I can flash the Vero4k to matrix.
The only problem is remembering all the system tweaks and scripts I’ve made over the last year. The time to flash isn’t even a third of the work. Anyway I hopefully get a chance to do all this after midnight.
Well, it’s just past 5 am, first draft of the updated prep-script is on github.com now.
Observe, first draft. If someone can check if it’s working in both v.18 and v.19, on clean install and upgrade. I would be very grateful.
In the script there is a check for Kodi version installed, based on that it will install and use the right pip version. Since there seems to be some ossue with auto installation of addon dependencies, i took it upon myself to install the needed addons for Netflix addon, via the script.
Good luck and let me know if i can improve something, or fork the git and PR me
Hi,
Thanks Joakim_s for the shellscript.
I did tried this, but at the time of the netflix add-on from local extension repo, I got an error about the update/install of one required extension, maybe the python input stream helper, which is already installed (two former attempts already on the rbp4 test image with former version of the script).
I have the correct zip for matrix, but got that required extension install failed that blocks Netflix plugin to install. All the rests of the instructions and extensions install ok though.
Greg
Don’t know yet. I have to put my hands back on Netflix credentials. Will keep you posted.
Well since i wrote this in a “dazed moment”, i found some issues and I’m working on correcting them. Initially I was checking version without a decimal, but the version check from code, leaves a decimal, which lead to the version check not working. Fixed.
Next thing I noticed today is that installation of script.module.myconnpy needs user interaction, something about python mysql components installed.
I wonder how many other of the dependencies needs interaction, well I guess an update from our supreme ruler, and this dependency issue will be gone =) But until then I’ll try to fix it as good as I can.
Edit: My reinstall on a v.19 upgrade now works, barred from having to manually reinstall mypycon, since it needs user interaction in kodi. Downloaded libwidvine and voila i got streams streaming.
Edit 2: Put a “click OK” dialog box, informing about Kodi-interaction needed, before trying to install myconnpy addon.
So, Netflix credentials allow successful login, and I can browse available content. However, I am getting this sticky ’ This title is not available to watch instantly’ error. I have tried a few things, notably re-installing WineCDM, to no avail. Below is the log. Not sure what to do next. Perhaps start over from the beginning and a fresh OSMC Rpi4 image? Any advice welcome.
2021-04-18 18:14:24.363 T:761 ERROR : ----------------------------------------
2021-04-18 18:14:24.363 T:761 ERROR :
2021-04-18 18:14:24.363 T:761 ERROR : Exception happened during processing of request from
2021-04-18 18:14:24.363 T:761 ERROR :
2021-04-18 18:14:24.363 T:761 ERROR : (‘127.0.0.1’, 47352)
2021-04-18 18:14:24.363 T:761 ERROR :
2021-04-18 18:14:24.364 T:761 ERROR : Traceback (most recent call last):
2021-04-18 18:14:24.364 T:761 ERROR :
2021-04-18 18:14:24.364 T:761 ERROR : File “/usr/lib/python3.7/socketserver.py”, line 650, in process_request_thread
self.finish_request(request, client_address)
2021-04-18 18:14:24.364 T:761 ERROR :
2021-04-18 18:14:24.364 T:761 ERROR : File “/usr/lib/python3.7/socketserver.py”, line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
2021-04-18 18:14:24.364 T:761 ERROR :
2021-04-18 18:14:24.364 T:761 ERROR : File “/usr/lib/python3.7/socketserver.py”, line 720, in init
self.handle()
2021-04-18 18:14:24.364 T:761 ERROR :
2021-04-18 18:14:24.364 T:761 ERROR : File “/usr/lib/python3.7/http/server.py”, line 426, in handle
self.handle_one_request()
2021-04-18 18:14:24.364 T:761 ERROR :
2021-04-18 18:14:24.364 T:761 ERROR : File “/usr/lib/python3.7/http/server.py”, line 414, in handle_one_request
method()
2021-04-18 18:14:24.364 T:761 ERROR :
2021-04-18 18:14:24.364 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/http_server.py”, line 47, in do_POST
handle_msl_request(self, func_name, data)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/http_server.py”, line 74, in handle_msl_request
license_data = server.server.netflix_session.msl_handler.get_license(data)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/msl_utils.py”, line 55, in error_catching_wrapper
return func(*args, **kwargs)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py”, line 142, in timing_wrapper
return func(*args, **kwargs)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/msl_handler.py”, line 264, in get_license
get_esn())
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py”, line 142, in timing_wrapper
return func(*args, **kwargs)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/msl_requests.py”, line 167, in chunked_request
save_uid_token_to_owner=auth_data[‘user_id_token’] is None)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py”, line 142, in timing_wrapper
return func(*args, **kwargs)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/msl_requests.py”, line 219, in _process_chunked_response
return _raise_if_error(decrypted_response)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/msl_requests.py”, line 247, in _raise_if_error
raise MSLError(err_message, err_number)
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : resources.lib.common.exceptions.MSLError: Ce titre n’est pas disponible en accès instantané. Veuillez en sélectionner un autre. - 1044
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:24.365 T:761 ERROR : ----------------------------------------
2021-04-18 18:14:24.365 T:761 ERROR :
2021-04-18 18:14:33.899 T:588 INFO : initializing python engine.
2021-04-18 18:14:34.282 T:588 WARNING : [script.module.inputstreamhelper] Widevine update check was made on 2021-04-18 17:59
2021-04-18 18:14:34.284 T:588 INFO : CPythonInvoker(5, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): script successfully run
2021-04-18 18:14:34.324 T:421 INFO : VideoPlayer::OpenFile: plugin://plugin.video.netflix/play/movie/80206300/?profile_guid=XMEWDQGPKBDU5OH3NSLPPXX3OY
2021-04-18 18:14:34.329 T:824 INFO : Creating InputStream
2021-04-18 18:14:34.331 T:824 INFO : AddOnLog: inputstream.adaptive: SetVideoResolution (1920 x 1080)
2021-04-18 18:14:34.391 T:824 INFO : AddOnLog: inputstream.adaptive: Successfully parsed .mpd file. #Periods: 1, #Streams in first period: 22, Type: VOD, Download speed: 0.0000 Bytes/s
2021-04-18 18:14:35.298 T:827 ERROR : [plugin.video.netflix (0)] Full MSL error information:
2021-04-18 18:14:35.299 T:827 ERROR : [plugin.video.netflix (0)] {“version”: 2, “id”: 16187624748133, “serverTime”: 1618762475240, “from”: “nq_cadmium_pbo_licenses@2.77.1/pbo-client@2.77.0”, “result”: [{“error”: {“pboc”: true, “code”: “FAIL”, “detail”: “license/pbl-1044: IssueLicensePolicyError (E3-BQFRAAELEL2pwLk6XieKEdajwqCm-l-Bip0p2_JyjI7I5VjbqrkKRC1gqPBzJCuCIcjtq3jDSej-A5793PM7oWNU-QzAR2qTw-IE7QiTqWS7GD-aZuL1xPctaDLOJHwDThiS76277dU9y_WZxG3qPPdL-0IddNHRuXNXoS0O-LC-fvLnjXXYIO58jgWm-wHM5_2xuIhBTcjAG4DP6G4GUfsDPbHGmjOlxEMxcs9ncOKAybE3qOTthA7daBK6pBnD6kvqDb03L1R4HAoK6InibxOy5-4LpneL1z6jrmOGm1xRSCQ_BZnTtTn_W6bnzmTYX51QWO76ClWb1J3wWS3iNWQ7eTDv4m9fXRm68vCZEsoSJjaNYkNCpingA4UrGKmOcg-qJNn_NQwcicy42mKHnpq29bVVgiz8fl-gd21G0ATet9AETCJXrGnweEpc1q30ErlmYnpR7lKy78rkB46qRY-DY8VxMVuIKiQL7VlZK5s7kC9LoPG5ce3Yx1Rid44QP7CyebZ7uGS05X4FzJnmW6hmN5KakNCZNf2mExmjC5li1Hc=) (nq_cadmium_pbo_licenses@2.77.1/pbo-client@2.77.0)”, “display”: “Ce titre n’est pas disponible en acc\u00e8s instantan\u00e9. Veuillez en s\u00e9lectionner un autre. - 1044”, “alertTag”: “”, “errorDisplayMessage”: “Ce titre n’est pas disponible en acc\u00e8s instantan\u00e9. Veuillez en s\u00e9lectionner un autre. - 1044”, “errorActionId”: 3, “nccpError”: {}, “errorSubCode”: 0, “errorReasonCode”: 0, “errorNccpCode”: 0, “errorExternalCode”: 0, “bladeRunnerMessage”: “license/pbl-1044: IssueLicensePolicyError (E3-BQFRAAELEL2pwLk6XieKEdajwqCm-l-Bip0p2_JyjI7I5VjbqrkKRC1gqPBzJCuCIcjtq3jDSej-A5793PM7oWNU-QzAR2qTw-IE7QiTqWS7GD-aZuL1xPctaDLOJHwDThiS76277dU9y_WZxG3qPPdL-0IddNHRuXNXoS0O-LC-fvLnjXXYIO58jgWm-wHM5_2xuIhBTcjAG4DP6G4GUfsDPbHGmjOlxEMxcs9ncOKAybE3qOTthA7daBK6pBnD6kvqDb03L1R4HAoK6InibxOy5-4LpneL1z6jrmOGm1xRSCQ_BZnTtTn_W6bnzmTYX51QWO76ClWb1J3wWS3iNWQ7eTDv4m9fXRm68vCZEsoSJjaNYkNCpingA4UrGKmOcg-qJNn_NQwcicy42mKHnpq29bVVgiz8fl-gd21G0ATet9AETCJXrGnweEpc1q30ErlmYnpR7lKy78rkB46qRY-DY8VxMVuIKiQL7VlZK5s7kC9LoPG5ce3Yx1Rid44QP7CyebZ7uGS05X4FzJnmW6hmN5KakNCZNf2mExmjC5li1Hc=) (nq_cadmium_pbo_licenses@2.77.1/pbo-client@2.77.0)”, “bladeRunnerCode”: “1044”}, “errorParams”: {“drmSessionId”: “04499A80480AA15428432A3FED9EF723”}}]}
I’m stuck at the same problem. Getting issues with my iptv as well. Don’t think it’s something we can easily fix ourselves easily unfortunately.
Just to inform you guys, next update of Matrix(test or stable) should solve the “auto install” of dependencies. Just tried a patched compile, and Netflix addon install without issues.
My solution for this problem - “This title is not available to watch instantly”
- run my second SD card with Libreelec (kodi 18.9)
- photo, copy ESN number from settings addon netflix
- run OSMC with Kodi Matrix
- changed the number ESN to a number ESN from kodi 18.9
- disable options - “enable IPC over HTTP”
- save and run netflix
- and half success; sound ok, screen black
- go to settings InputStreamAdaptive and changed max resolutions, positions 2 and 3 to 1080p (my TV only FullHD)
And Great Success it work
Thank you. Managed to get netflix working. Now if only my iptv app would stop complaining about 64bit userland everything would be sorted for me ^^
Unfortunately I don’t get it working because I don’t have a 18.9 installation. Is there a possibility to get it working without the esn from a kodi 18.9?
Cheers chelvistero
This seems more like an addon issue, and would be better addressed at github.
But in short, from addon wiki on github:
This title is not available to watch instantly
In this case Netflix says to log out https://help.netflix.com/en/node/109329.
Open add-on settings and choose Logout
.
If the problem persists:
On all other systems:
Try reinstall Widevine CDM:
Open add-on settings (by context menu on the add-on icon), then go to Expert
page and choose InputStream Helper settings
, a new window will be opened, then choose (Re)install Widevine CDM
.
If these solutions do not work, please do not open an Issue, there are no other known solutions to get around this message.
So if the solutions mentioned here earlier, or the possible solutions from addon-wiki, there isn’t much to do.
hmm anyone else getting this error after the latest widevine update?
2021-05-08 19:04:49.808 T:1794085088 ERROR: [script.module.inputstreamhelper] [u'ldd', u'/home/osmc/.kodi/cdm/libwidevinecdm.so'] cmd failed.
2021-05-08 19:04:49.809 T:1794085088 ERROR: [script.module.inputstreamhelper] Failed to check for missing Widevine libraries.
2021-05-08 19:04:49.809 T:1794085088 NOTICE: [script.module.inputstreamhelper] Widevine update check was made on 2021-05-08 18:40
2021-05-08 19:04:50.251 T:1915671472 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.netflix/play/movie/80064515/?profile_guid=K22HNGJ3XFANLFBDGY5FIHAWIY
2021-05-08 19:04:50.253 T:1464856800 NOTICE: Creating InputStream
2021-05-08 19:04:51.563 T:1464856800 ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (/home/osmc/.kodi/cdm/libwidevinecdm.so)
2021-05-08 19:04:51.563 T:1464856800 ERROR: AddOnLog: InputStream Adaptive: OpenDRMSystem failed
2021-05-08 19:04:51.564 T:1464856800 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.netflix/play/movie/80064515/?profile_guid=K22HNGJ3XFANLFBDGY5FIHAWIY]
2021-05-08 19:04:51.564 T:1464856800 NOTICE: CVideoPlayer::OnExit()
2021-05-08 19:04:51.626 T:1915671472 NOTICE: CVideoPlayer::CloseFile()
2021-05-08 19:04:51.626 T:1915671472 NOTICE: VideoPlayer: waiting for threads to exit
2021-05-08 19:04:51.626 T:1915671472 NOTICE: VideoPlayer: finished waiting
I re-downloaded it twice already, still getting the same error.
Even tried restoring the file from the /script.module.inputstreamhelper/backup location
Edit: i just used backup/13729.56.0/ instead and it is wokring now…weird.
I can confirm. I have the same issue here now.