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

try restoring yours from the backup as well

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

Will check it out. Thx.

Actually, before deleting that file …make sure you got the same backup version first.

Just make a backup of the file first instead of deleting it

Well, if it doesn’t work, I see no reason to actually backing it up.

There is an issue with the latest version 4.10.2252.0 of widevine on ARM because g**gle changed something again. You can also restore to a previous version of widevine (if that was installed before) by using the restore functionality of inputstream.helper found in the settings - so no need to manually copy files. There is a work-around in inputstream.helper v0.5.3 as well but you might need to remove and re-install widevine using the settings. This might only work until end of May though unless someone finds a different solution. I’ve used the backup method and it worked for me (prime not netflix) - who knows for how long…

It may stop working on 31.05 - as this is when Google state that all previous CDM versions will stop working.

We are working on a solution, but if possible, may only be useful for Vero users due to our agreement with Google (Widevine MLA).

When you say you’ve got an agreement, does that mean the Vero will get a “full featured” widevine that would allow us to play widevine using hardware, and thus finally get 1080p on widevine protected sites?

That sounds too good to be true

They are not mutually exclusive.

Ideally, for high quality streams we need L1 support.

We also need hardware acceleration (because software is too slow).

Our agreement permits us to do both, but there are other restrictions and changes that are limiting. The CDM update was another bump in the road. Also keep in mind that we have an agreement with Google, but not Netflix. So things will generally work - but won’t be officially supported.

So realistically we could do L3 but with HW acceleration on 4K/4K+ (which means 1080p would play smoothly and not be limited to 720p) and L1 on provisioned devices in future (which means providers would be more likely to provide us with those higher resolution streams).

So you’re definitely ruling out the possibility that the Vero 4K(+) will ever be able to play 4K Netflix streams?

Yes.

So we were doomed with widevine if we are running OSMC on a PI3 ?

That depends whether Google actually turns off the support for the existing library on 31.05, which they claim they will do.

2 Likes

Blockquote
There might be other issues with v.19(Matrix), like right python version of the modules needed, haven’t looked into that yet.

I just upgraded to Kodi 19.1 on my Vero 4K+. The Netflix addon that I had installed in Kodi 18 got disabled after the upgrade. So, I uninstalled (kept my settings) and rerun the setup as per your instructions. It is working without any hiccups so far in Kodi 19.1 (and it seems it is streaming 1080p, though need to verify to be sure)!

That might be low-bitrate VP9. To my eyes, 720p h.264 with a decent bit-rate looks better.

1 Like

Actually, just checked with the “o” button while playing an episode of ‘Start up’ season 3 and it is showing:
Video stream: Inputstream.Adaptive.VP9.decoder (1280 x 720 px, 1.78:1, 23.976 fps)

It seems much more crisp though for some reason compared to Kodi 18, or it is simply my imagination :slight_smile: .

Same here. After upgrading to Kodi 19.1 on my Pi3, I just uninstalled the Netflix addon but didn’t remove the settings and installed it again.
Works with all the settings saved.
Thanks!

Hi,

I’m hoping someone here might be able to help resolve the following issue which just began in the last day or two.

Attempting to open the NetFlix addon a message is displayed stating that the background module could not be started complaining that “No module named ‘contextvars’ could be found”. Below is the snippet from kodi.log that details the error.

I’m not sure if this is enough information. If not please let me know how to get the correct information and I will do my best to provide it.

This is from Kodi 19 running on a Linux Mint distro on a laptop.

Thanks.

Chuff

2021-08-16 15:08:36.467 T:8741 INFO : [plugin.video.netflix (0)] The debug logging is set as DISABLED
2021-08-16 15:08:41.192 T:8741 ERROR : [plugin.video.netflix (0)] Background services do not start due to the following error
2021-08-16 15:08:41.211 T:8741 ERROR : [plugin.video.netflix (0)] Traceback (most recent call last):
File “/home/chuff/.kodi/addons/plugin.video.netflix/resources/lib/run_service.py”, line 30, in init_servers
from resources.lib.services.http_server import NFThreadedTCPServer
File “/home/chuff/.kodi/addons/plugin.video.netflix/resources/lib/services/http_server.py”, line 19, in
from resources.lib.services.nfsession.nfsession import NetflixSession
File “/home/chuff/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/nfsession.py”, line 13, in
from resources.lib.services.nfsession.msl.msl_handler import MSLHandler
File “/home/chuff/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/msl_handler.py”, line 26, in
from .msl_requests import MSLRequests
File “/home/chuff/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/msl_requests.py”, line 17, in
import httpx
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/httpx/init.py”, line 2, in
from ._api import delete, get, head, options, patch, post, put, request, stream
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/httpx/_api.py”, line 4, in
from ._client import Client
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/httpx/_client.py”, line 9, in
from ._auth import Auth, BasicAuth, FunctionAuth
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/httpx/_auth.py”, line 10, in
from ._models import Request, Response
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/httpx/_models.py”, line 15, in
from ._content import ByteStream, UnattachedStream, encode_request, encode_response
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/httpx/_content.py”, line 17, in
from ._multipart import MultipartStream
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/httpx/_multipart.py”, line 8, in
from ._utils import (
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/httpx/_utils.py”, line 13, in
import sniffio
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/sniffio/init.py”, line 10, in
from ._impl import (
File “/home/chuff/.kodi/addons/plugin.video.netflix/packages/sniffio/_impl.py”, line 1, in
from contextvars import ContextVar
ModuleNotFoundError: No module named ‘contextvars’

2021-08-16 15:08:41.213 T:8741 INFO : CPythonInvoker(0, /home/chuff/.kodi/addons/plugin.video.netflix/service.py): script successfully run
2021-08-16 15:08:41.479 T:8741 INFO : Python interpreter stopped

May I ask why you post this on the OSMC forum and not the Kodi forum?

This error is saying you need the python contextvars module installed.

This should already be present under /usr/lib/python3.7/contextvars.py

if not, try “sudo pip install contextvars” and see if that pulls it in.

EDIT, oops, didn’t notice you are not running osmc… so yeah, wrong place to post this issue… you’d need to talk to the linux mint folks if contextvar.py is not in the python that comes in mint