It works now, I think it was a left over of trying to get pi-hole working on OSMC. Got it fixed by disabling dnsmasq on the Pi and running pi-hole in a docker.
Thank you so much for your guide. It worked like a charm. My only suggestion is that you mention that you cannot use omxplayer hw acceleration with it. I tried and all I get is audio with garbled graphics, if I set the Video settings to MMAL hw accerleration then everything works and Netflix is displayed with SW acceleration (which for my RBPi3 works great with 720p video).
I’m running the latest version of OSMC and Netflix plugin, but seem to be stuck in an install loop. From a fresh install of the plugin, I am prompted to install widevine (EULA, download, install, reboot). The download often stalls and freezes, at which point I unplug the pi, reboot and start again with a fresh install. When successful, I open Netflix after reboot, but am prompted to install widevine again. Has anyone else had this issue? What should I do to troubleshoot and/or fix this?
Is there enough space on the SD-card for libwidevine to get extracted?, seems there is an error occuring somewhere inside inputstreamhelper (which downloads widevine).
It’s working for me for the first time since I installed this past winter! I:
uninstalled Netflix from repository
reinstalled pycryptodome
ran sudo rpi-update && sudo reboot
reinstalled Netflix from repository
ran Netflix and installed Widevine
success!
I suspect that my issues were largely related to being connected over wifi this whole time. The new releases of the Netflix plugin (13.8) and updates to Leia probably don’t hurt.
I have some problems yesterday with Widevine but it was due to lack of free space. Today i use bigger SD card and install everything from tutorial. Even Widevine was installed without problems. But i cant play any wideo when i click on something wideo loads but is not played. What can i do ? What to check ? OSMC logs for start ? or someone have such situation and resolve it already ?
Thanks
[edit1] ehhh i restarted rpi3 and videos are played now
[edit2] so i change tv to that one where osmc needs to work and change wired connection do wifi. And from that moment plugin stop to work… in logs i see something like that
osmc@osmc:~$ tail -F /home/osmc/.kodi/temp/kodi.log
File "/usr/lib/python2.7/json/__in it__.py", line 352, in loads
return cls(encoding=encoding, ** kw).decode(s)
File "/usr/lib/python2.7/json/deco der.py", line 364, in decode
obj, end = self.raw_decode(s, id x=_w(s, 0).end())
File "/usr/lib/python2.7/json/deco der.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
-->End of Python script error report <--
10:58:52.183 T:1508897504 WARNING: CPythonInvoker(11, /home/osmc/.kodi/addons/pl ugin.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 clea n up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
10:58:52.196 T:1449730784 ERROR: GetDirectory - Error getting plugin://plugin. video.netflix/
[Edit3] after several restarts netflix is working ok again.
Today I have followed joakim_s’ instructions to install Netflix, few comments below.
RPi (or mediacenter) restart is necessary, otherwise you got some errors like
10:58:20.706 T:1917356752 WARNING: CPlayerCoreFactory::GetPlayer(videodefaultplayer): no such player: dvdplayer
Netflix video, audio and subtitles in a matter of minute playback get out of sync (first subtitles, second audio and then video), checked with few movies.
Not usable at the moment
Hope you can give me some hints to make it working properly. Thx in advance…
My config: Player
Playback
– Adjust display refresh rate: Always
– Sync playback to display: ON
Processing
– Allow hardware acceleration - OMXPlayer: ON (I cannot set it to OFF permanently: after marking it OFF, checking the Netflix movie and coming back to this setting it’s back to ON)
– Allow hardware acceleration - MMAL: ON
EDIT: It’s not a Netflix issue… EVERY video (including offline ones) is now out of sync… Leia issue? Any idea what to do next? Or downgrade back to stable 17.6. June release?
Added the reboot comment in Guide, when it comes to subtitles i have never used em. Will check audio, never noticed it before. Might be the latest Leia build, since there was inputstream changes.
Edit: Tried 3 minutes of audio without subtitles (topgear) and no problems with sync, will try with subs enabled.
Edit2: Tried with subs, and no lag there either, running on 480p since it’s a pi2
@joakim_s do you have any idea what can I do to diagnose my problem?
EDIT: I think I have sorted it out. It looks like Settings \ Player
Playback
– Sync playback to display: ON
is the root cause. When turned off there are no sync issues at all. Also Audio Profiles plugin made it harder to solve, since it switches automatically between the audio sources AND all the other system options. So when I have changed any video option, it was set up back to previous one when second (or later) movie was played… Doh!
I also think that RPI 3 is able to play 1080p media from Netflix (even with extension board like Digiberry as in my case), but only for a limited amount of time. In around 10 minutes of playback it gets hot so red thermometer is displayed But with display limited to 720p it works fine - full episode of Rick and Morty runs fine and it still handles such challenge with CPU temp of 74 deg C and CPU @1000 Mhz (plus we have hot days in Warsaw now, 30 deg C at 18:10. Looks like some small fan would do the trick…
I can’t use 1080 whatsoever, it just starts stuttering immediately…720 is perfect though so I’ve reluctantly limited it in the settings.
It’s a shame but it looks like only two cores are being used for the decoding, so theoretically the pi3 probably has the power to decode 1080p, but it’s not being utilised.
Did you change any settings to get 1080p working? I’ve tried over clocking but it makes no difference at all.
It’s still pretty impressive for a little £30 device though.
Since 2 days I cannot watch any Netflix movie anymore. I get something like this after navigation to desired movie and attempt to play it:
20:58:25.644 T:1917479632 NOTICE: WakeOnAccess success exit, server already running
20:58:25.942 T:1299182304 WARNING: CPythonInvoker(83, /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
20:58:32.924 T:1307570912 WARNING: CPythonInvoker(84, /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
20:58:40.120 T:1299182304 WARNING: CPythonInvoker(85, /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
20:58:51.650 T:1917479632 WARNING: CPlayerCoreFactory::GetPlayer(videodefaultplayer): no such player: dvdplayer
20:58:51.653 T:1917479632 NOTICE: OMXPlayerUnsuitable OMXPlayer unsuitable due to audio sink
20:58:51.659 T:1917479632 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.netflix/?action=play_video&infoLabels=%7B%27rating%27%3A+0%2C+%27writer%27%3A+%27%27%2C+%27episode%27%3A+%27%27%2C+%27plot%27%3A+u%27Legendarny+kr%5Cxf3l+gitarowego+brzmienia.+Niezwyk%5Cu0142a+historia+prawdziwej+osobowo%5Cu015bci.%27%2C+%27season%27%3A+None%2C+%27tvshowtitle%27%3A+%27%27%2C+%27title%27%3A+u%27Keith+Richards%3A+Under+the+Influence%27%2C+%27mediatype%27%3A+%27movie%27%2C+%27mpaa%27%3A+%27NFLX-16%2B%27%2C+%27cast%27%3A+%5Bu%27Keith+Richards%27%5D%2C+%27director%27%3A+u%27Morgan+Neville%27%2C+%27genre%27%3A+u%27Dokumenty+biograficzne%27%2C+%27year%27%3A+2015%2C+%27duration%27%3A+4921%7D&video_id=80066798&pin=True
20:58:51.661 T:1390408416 NOTICE: Creating InputStream
20:58:51.960 T:1299182304 WARNING: CPythonInvoker(86, /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
20:58:54.329 T:1390408416 ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (http://localhost:33493/manifest?id=80066798&dolby=true&hevc=false)
20:58:54.333 T:1390408416 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.netflix/?action=play_video&infoLabels=%7B%27rating%27%3A+0%2C+%27writer%27%3A+%27%27%2C+%27episode%27%3A+%27%27%2C+%27plot%27%3A+u%27Legendarny+kr%5Cxf3l+gitarowego+brzmienia.+Niezwyk%5Cu0142a+historia+prawdziwej+osobowo%5Cu015bci.%27%2C+%27season%27%3A+None%2C+%27tvshowtitle%27%3A+%27%27%2C+%27title%27%3A+u%27Keith+Richards%3A+Under+the+Influence%27%2C+%27mediatype%27%3A+%27movie%27%2C+%27mpaa%27%3A+%27NFLX-16%2B%27%2C+%27cast%27%3A+%5Bu%27Keith+Richards%27%5D%2C+%27director%27%3A+u%27Morgan+Neville%27%2C+%27genre%27%3A+u%27Dokumenty+biograficzne%27%2C+%27year%27%3A+2015%2C+%27duration%27%3A+4921%7D&video_id=80066798&pin=True]
20:58:54.334 T:1390408416 NOTICE: CVideoPlayer::OnExit()
20:58:54.546 T:1917479632 WARNING: OnMessage: Suspiciously long time to handle GUI_MSG_PLAYBACK_STARTED (2.87s)