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

I have set the max to 720p in the inputstream, and am getting various different resolutions depending on program. I find however the app seems extremely buggy, freezing the vero 4K or just not opening videos, and then sending core #3 to 100% and staying there, thus forcing a reboot.
Lucifer season 4 for instance I can only play the first 2 episodes. The rest all crash the box.

Setting input stream to 720p also means that everytime I view other iptv apps I have to reset that back to max, lightbox for instance as they also use it.

Solved the above - I had the HEVC profile turned on. DON’T DO THIS.

Hey joakim
Just found your script for netflix, installed and works a treat.
Thanks for the time and effort for that.
Much appreciated.

oops forgot.
Any guides for getting openvpn and netflix for USA?

We don’t offer assistance in the context of bypassing geoblocking on this forum, sorry.

Updated the script to the version 0.14.3 of the addon and updated to the latest pycryptodomex.

Uninstall the Netflix add-on and run the Netflix_prep script again, if you want to update.

Hello there, i followed your instructions and it all worked perfectly fine, exept one step. I got the master.zip, but when i type the commend “mv master.zip plugin.video.netflix.zip” it responses with: “mv: nannot move ´master.zip´ to ´plugin.video.netflix.zip´ : No such file or directory”. i redid the whole process, but its the same result.
Thanks for the help, Demili :wink:

It depends on where the file is. if you just want to rename it, and it is owned by another user, try doing:

sudo mv master.zip plugin.video.netflix.zip

That will rename it.

Thanks for the very quick answer :wink:
and thanks for the solve, it worked :slight_smile:
Thanks a lot :wink:

I have two Vero 4ks, this is working perfectly on one but on the other, it goes to play but then just stops, no error. Since it works perfectly on one I’m guessing it’s a setting on my Vero 4k,the tvs are different. Any ideas where to look?

No error in the logs? That would be surprising…

1 Like

sounds like a líbvidwine problem, did you install on both or just install on one and backup and restored on the other or copy the .kodi folder to the other?

I’d try stopping mediacenter ,deleting .kodi/addons/script.module.inputstreamhelper/ and .kodi/cdm/, start mediacenter again then uninstall the Netflix add-on then reinstall it.

I’ve used the guide to install Amazon vod. After a couple of attempts I’m able to get into my Amazon account and things like my watch TV listings. Now when I attempt to play anything I get please wait and the player crashes. Have to unplug at rear of vero4k so not ideal.
I did get the wide vine install and messages re accept etc.
It’s not Netflix its Amazon and before going for logs anyone got any ideas or do we need a separate Amazon thread.

Well for Amazon I think the same preping should hold sound, but since I don’t have an Amazon account I can’t check it, wish I could help.

Hi guys,
I’ve just installed the Netflix plugin but can’t get it working! :frowning:
Here there is the log portion while trying to start the plugin:

2019-06-11 21:30:32.940 T:1644024544 DEBUG: PushCecKeypress - received key b duration 0 (rep:0 size:0)
2019-06-11 21:30:32.940 T:1644024544 DEBUG: PushCecKeypress - added key b
2019-06-11 21:30:32.948 T:1915516464 DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is Select
2019-06-11 21:30:32.950 T:1915516464 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflix/)
2019-06-11 21:30:32.950 T:1915516464 DEBUG: ParentPath = [addons://sources/video]
2019-06-11 21:30:32.952 T:1771111136 DEBUG: Thread waiting start, auto delete: false
2019-06-11 21:30:33.052 T:1915516464 DEBUG: ------ Window Init (DialogBusy.xml) ------
2019-06-11 21:30:33.086 T:1644024544 DEBUG: PushCecKeypress - received key b duration 146 (rep:0 size:0)
2019-06-11 21:30:33.086 T:1644024544 DEBUG: PushCecKeypress - ignored key b
2019-06-11 21:30:33.378 T:1762718432 DEBUG: CAddonDatabase::SetLastUsed[plugin.video.netflix] took 428 ms
2019-06-11 21:30:33.380 T:1771111136 DEBUG: StartScript - calling plugin Netflix(‘plugin://plugin.video.netflix/’,‘1’,’’,‘resume:false’)
2019-06-11 21:30:33.380 T:1791984352 DEBUG: Thread LanguageInvoker start, auto delete: false
2019-06-11 21:30:33.381 T:1791984352 INFO: initializing python engine.
2019-06-11 21:30:33.381 T:1791984352 DEBUG: CPythonInvoker(4, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): start processing
2019-06-11 21:30:33.694 T:1791984352 DEBUG: -->Python Interpreter Initialized<–
2019-06-11 21:30:33.694 T:1791984352 DEBUG: CPythonInvoker(4, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): the source file to load is “/home/osmc/.kodi/addons/plugin.video.netflix/addon.py”
2019-06-11 21:30:33.696 T:1791984352 DEBUG: CPythonInvoker(4, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): setting the Python path to /home/osmc/.kodi/addons/plugin.video.netflix:/home/osmc/.kodi/addons/script.module.addon.signals/lib:/home/osmc/.kodi/addons/script.module.certifi/lib:/home/osmc/.kodi/addons/script.module.chardet/lib:/home/osmc/.kodi/addons/script.module.idna/lib:/home/osmc/.kodi/addons/script.module.inputstreamhelper/lib:/home/osmc/.kodi/addons/script.module.kodi-six/libs:/home/osmc/.kodi/addons/script.module.requests/lib:/home/osmc/.kodi/addons/script.module.urllib3/lib:/usr/lib/kodi/addons/script.module.pycryptodome/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
2019-06-11 21:30:33.696 T:1791984352 DEBUG: CPythonInvoker(4, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): entering source directory /home/osmc/.kodi/addons/plugin.video.netflix
2019-06-11 21:30:33.696 T:1791984352 DEBUG: CPythonInvoker(4, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): instantiating addon using automatically obtained id of “plugin.video.netflix” dependent on version 2.25.0 of the xbmc.python api

2019-06-11 21:30:36.515 T:1791984352 DEBUG: CAddonSettings[plugin.video.netflix]: loading setting definitions
2019-06-11 21:30:36.515 T:1791984352 DEBUG: CAddonSettings[plugin.video.netflix]: trying to load setting definitions from old format…
2019-06-11 21:30:36.519 T:1791984352 DEBUG: CAddonSettings[plugin.video.netflix]: loading setting values
2019-06-11 21:30:36.520 T:1791984352 DEBUG: CSettingsManager: requested setting (logging) was not found.
2019-06-11 21:30:36.523 T:1791984352 DEBUG: [Netflix] Started (Version 0.13.22)
2019-06-11 21:30:36.524 T:1791984352 DEBUG: [Netflix] “Navigation::router” called with arguments :paramstring = :
2019-06-11 21:30:36.524 T:1791984352 DEBUG: [Netflix] “Navigation::before_routing_action” called with arguments :params = {}:
2019-06-11 21:30:36.538 T:1791984352 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class ‘urllib2.URLError’>
Error Contents: <urlopen error [Errno 111] Connection refused>
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.netflix/addon.py”, line 33, in
NAVIGATION.router(paramstring=REQUEST_PARAMS)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils.py”, line 60, in wrapped
result = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, line 123, in router
options = self.before_routing_action(params=params)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils.py”, line 60, in wrapped
result = func(*args, **kwargs)
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, line 867, in before_routing_action
‘method’: ‘is_logged_in’}))
File “/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py”, line 1053, in call_netflix_service
data = urllib2.urlopen(full_url).read()
File “/usr/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 429, in open
response = self._open(req, data)
File “/usr/lib/python2.7/urllib2.py”, line 447, in _open
‘_open’, req)
File “/usr/lib/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib/python2.7/urllib2.py”, line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File “/usr/lib/python2.7/urllib2.py”, line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>
–>End of Python script error report<–
2019-06-11 21:30:36.538 T:1791984352 DEBUG: onExecutionDone(4, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py)
2019-06-11 21:30:36.609 T:1915516464 DEBUG: ------ Window Init (DialogNotification.xml) ------

2019-06-11 21:30:36.695 T:1791984352 WARNING: CPythonInvoker(4, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): the python script “/home/osmc/.kodi/addons/plugin.video.netflix/addon.py” has left several classes in memory that we couldn’t clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
2019-06-11 21:30:36.696 T:1791984352 INFO: Python interpreter stopped
2019-06-11 21:30:36.696 T:1791984352 DEBUG: Thread LanguageInvoker 1791984352 terminating
2019-06-11 21:30:36.713 T:1771111136 ERROR: GetDirectory - Error getting plugin://plugin.video.netflix/
2019-06-11 21:30:36.714 T:1771111136 DEBUG: Thread waiting 1771111136 terminating
2019-06-11 21:30:36.714 T:1915516464 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
2019-06-11 21:30:36.715 T:1915516464 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/) failed
2019-06-11 21:30:36.715 T:1915516464 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video)
2019-06-11 21:30:36.715 T:1915516464 DEBUG: ParentPath =
2019-06-11 21:30:36.716 T:1771111136 DEBUG: Thread waiting start, auto delete: false
2019-06-11 21:30:36.733 T:1771111136 DEBUG: Thread waiting 1771111136 terminating
2019-06-11 21:30:36.736 T:1771111136 DEBUG: Thread BackgroundLoader start, auto delete: false
2019-06-11 21:30:36.740 T:1915516464 DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture ‘noop’
2019-06-11 21:30:36.750 T:1771111136 DEBUG: Thread BackgroundLoader 1771111136 terminating
2019-06-11 21:30:41.943 T:1915516464 DEBUG: ------ Window Deinit (DialogNotification.xml) ------
2019-06-11 21:31:03.379 T:1762718432 DEBUG: Thread JobWorker 1762718432 terminating (autodelete)
2019-06-11 21:31:03.380 T:1663005408 DEBUG: Thread JobWorker 1663005408 terminating (autodelete)

Thanks!

This is flaky as heck on a Vero 4K…

Is HEVC/HDR through this Netflix addon even supported on the Vero 4K?

I can’t get those streams to work - it just locks up the UI and I have to pass a “sudo service mediacenter restart” from an SSH console to recover.

Also, the streams that do play (h264 and VP9) seem to play with some GLES processing over the top making them stutter to the point of being unwatchable. In my case I have to watch sub 1080p streams for it to be smooth.

I see the following in my logs during playback (which I don’t get on any other content, just these Netflix streams):

NOTICE: GLES: Selecting single pass rendering
NOTICE: GLES: Selecting YUV 2 RGB shader

No sign of “CAMLCodec” being used either so I’m guessing no proper h/w acceleration…

What’s up there? Since I have widevine installed (debug log confirms it’s working) I would have thought it would be able to play with HW acceleration (which could also mean HDR support if the HEVC streams worked at all)…

This is a limitation of widevine imposed by Netflix.

Try the solutions mentioned here:

OK. Thanks, no worries.

Thank you for response!
I’ve already installed pycryptodomex:
sudo pip install pycryptodomex
Requirement already satisfied: pycryptodomex in /usr/local/lib/python2.7/dist-packages

I don’t think I could have firewall issue because I’m able to see Netflix using the Amazon USB Stick