User avatar
Posts: 5
Joined: Fri Nov 01, 2019 11:06 pm

Kodi with Netflix on Raspbian 10 Buster (Pi 4)

Mon Nov 11, 2019 6:29 pm

Hi !

It took me a moment to make Netflix work on my Rasbian 10 Buster with Kodi (Pi 4)

I followed some topics on this forum without succes

The first part was Ok

Code: Select all

sudo apt-get install kodi
sudo apt-get install kodi-peripheral-joystick kodi-pvr-iptvsimple kodi-inputstream-adaptive kodi-inputstream-rtmp
Then I downloaded and setup the add-on for Kodi ...

Open Kodi

> Add-ons tab
> Install "add from a zip file"

Choose "" from your hard disk

But, after install, the add-on always crashed at boot with this entry in the log file

Code: Select all

2019-11-11 18:18:06.498 T:2525044944   ERROR: [ (2)] Traceback (most recent call last):
                                              File "/home/pi/.kodi/addons/", line 109, in <module>
                                                route(filter(None, g.PATH.split('/')))
                                              File "/home/pi/.kodi/addons/", line 50, in lazy_login_wrapper
                                                return func(*args, **kwargs)
                                              File "/home/pi/.kodi/addons/", line 70, in route
                                              File "/home/pi/.kodi/addons/", line 284, in wrapper
                                                return func(*args, **kwargs)
                                              File "/home/pi/.kodi/addons/", line 236, in timing_wrapper
                                                return func(*args, **kwargs)
                                              File "/home/pi/.kodi/addons/", line 57, in play
                                                list_item = get_inputstream_listitem(videoid)
                                              File "/home/pi/.kodi/addons/", line 103, in get_inputstream_listitem
                                                raise InputstreamError('inputstream.adaptive is not available')
                                            InputstreamError: inputstream.adaptive is not available
2019-11-11 18:18:08.276 T:2972650592   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://]
I've finally found that what was missing was this library

Code: Select all

pip install --user pycryptodomex
Hope it can help somebody else.

Best regards

Posts: 3
Joined: Sun Aug 09, 2020 1:37 am

Re: Kodi with Netflix on Raspbian 10 Buster (Pi 4)

Sun Aug 23, 2020 5:16 pm

I installed version 1.8 of the plugin and it kept crashing when starting the plugin. The logs in `.kodi` said it was failing due to cryptodome. I fixed it by installing `python-pycrptodome` package from repository:

Code: Select all

sudo apt install python-pycryptodome
On a sidenote, if running kodi as a separate user (i.e. other than pi), the other user needs to be a member of several groups to allow kodi to function. The groups that I needed were:

Code: Select all

sudo usermod -a -G audio,video,input,dialout,plugdev <KODIUSERNAME>

User avatar
Posts: 240
Joined: Fri Oct 14, 2016 2:07 pm
Location: The Scottish Highlands

Re: Kodi with Netflix on Raspbian 10 Buster (Pi 4)

Sun Aug 23, 2020 7:26 pm

Thanks, binarynerd. So can you confirm you got Netflix running reliably using all the steps in both posts above?

(This is quite a big thing, if so. I hope it lasts a while, before Netflix break it again.)

Return to “Troubleshooting”