How to use Netflix on OSMC (RPI2)

This is a very interesting scenario. Does anyone know when OSMC will migrate to Kodi 18? When this will occur does this plugin work out of the box?

Do you mean that with Kodi 18 we will be able to play Amazon prime and Skygo as well?

1 Like

When Kodi v18 is released.
You can already install test builds.

Probably yes. I havenā€™t tried it because I donā€™t have account to neither of these services (not accessible in my country and I am too lazy to setup DNS or VPN). But there are plugins in kodinerds repo (it si a repo of german kodi enthusiasts). Here you can find a manual to install Amazon on kodi 18:

kodinerds.de ā†’ Amazon Instant Video

It is in german, obviously. You can use google translate to read it if you want, but actually my manual above is almost the same. The only thing you have to do differently is add kodinerds repo and install prime and/or skygo plugin.

But be wary. I havenā€™t tried it and you have to upgrade to unstable branch of osmc. Anything can go wrong.

thank you

Hi folks, I did a write-up about how to install instant video and netflix on OSMC with Kodi 18. Check it out here: RPi streaming station with Amazon Instant Video and Netflix | laclaro

Cheers

Henning

2 Likes

Wondering why you make it complicated with first download to PC and the scp to OSMC. Why not also use wget as you did later wget -O netflix.zip https://github.com/asciidisco/plugin.video.netflix/archive/master.zip

Thatā€™s true. Adjusted.

Also why not link to the GMC post here for the latest Leila builds and instructions

Also true. Same info was linked, but that source is indeed more recent :wink:

1 Like

Are raspberry license keys required? MPEG-2 and VC1 ? Most of netflix content will be H.264, right?

To install pycryptodomex you need first to install the deps:

sudo apt-get install build-essential libgmp3-dev python-dev

And to install latest pip:
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py

Donā€™t we also need widevine?
wget http://nmacleod.com/public/libreelec/getwidevine.sh
sudo sh getwidevine.sh

1 Like

Thank you for the hint about pycryptodomex. I found a different solution which does not involve python-pip. However, to directly use a python package is cleaner.

The required libs of widevine are installed automatically to /home/osmc/.kodi/cdm/ during the process. I donā€™t know exactly when though. Maybe it is already content of Kodi 18 or some plugin pulled the files.

Best,

Henning

So I managed to get Netflix installed and mostly working on my Raspberry Pi 2. I am however having issues when actually playing a video. If I use Hardware Decoding with OMXPlayer all I get is garbage video with the audio track. If I uncheck OMXPlayer in the OSMC Player settings then the video shows properly but it stutters severely as its using Software Decoding. OMXPlayer seems to work well with movies stored on my NAS just not Netflix. I apologize for not having logs to add, Iā€™ll see if I can get some tonight. Just wondered if anyone else is having this issue. I havenā€™t seen anything similar on the Netflix App Github.

Thanks,
Robert

1 Like

Aye, same issue as rspierenburg, log belowā€¦

03:15:18.271 T:1958871040 WARNING: Previous line repeats 40 times.
03:15:18.271 T:1958871040  NOTICE: VideoPlayer: Opening: http://localhost:49757/manifest?id=80117698
03:15:18.271 T:1958871040 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
03:15:18.272 T:1153430512  NOTICE: Creating InputStream
03:15:28.973 T:1153430512  NOTICE: Creating Demuxer
03:15:28.980 T:1153430512  NOTICE: Opening stream: 1 source: 256
03:15:29.110 T:1153430512  NOTICE: Creating video thread
03:15:29.111 T:1153430512  NOTICE: Opening stream: 2 source: 256
03:15:29.171 T:1153430512  NOTICE: Creating audio thread
03:15:29.282 T:1153430512  NOTICE: Opening stream: 1 source: 256
03:15:29.331 T:1153430512  NOTICE: Opening stream: 2 source: 256
03:15:29.708 T:1153430512  NOTICE: OMXClock using audio as reference
03:15:29.813 T:1212150768 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
03:15:33.491 T:1958871040  NOTICE: CVideoPlayer::CloseFile()
03:15:33.492 T:1958871040  NOTICE: VideoPlayer: waiting for threads to exit
03:15:33.498 T:1153430512  NOTICE: CVideoPlayer::OnExit()
03:15:33.498 T:1153430512  NOTICE: Closing stream player 1
03:15:33.527 T:1203762160   ERROR: AddOnLog: InputStream Adaptive: Download http://37.77.186.131/?o=AQGPzwrrnr-d-4PtVkuR78nM4FB6_BOboiVKLQDVQ41y83ZUK1OMao-Njbx82sDLxJt0ll43nrULBcKitBEhAw3ezTAfdroeXZMaf15-qIq_-d7-L8QcxC7wUHxSvm7he-5gu2aVdxR4mT-lTaEql9zQO6jhO7xqgbHweuoVxqNg18B3-s_FdwkwJTSbwENv0nLc0L79BrQpWlvpVSNXKQ&v=3&e=1511103718&t=-oySxeuYZ5cAYLRp049RzvGO4q0 doesn't provide any data: invalid
03:15:33.529 T:1195373552  NOTICE: thread end: OMXPlayerAudio::OnExit()
03:15:33.623 T:1153430512  NOTICE: Closing stream player 2
03:15:33.651 T:1289745392   ERROR: AddOnLog: InputStream Adaptive: Download http://37.77.186.131/?o=AQGPzwrrnr-d-4PtVkuR4MjL4Vd4_BObojJKLQDVQ41y83ZUK1OMao-Njbx82sDLxJt0ll43nrULBcKitBEhAw3ezTAfdroeXZMaf15-qIq_-d7-L8QcxC7wUHxSvm7he-5gu2aVdxBu1mvNc5wJlvmnbq-oK6Vmj7f4bPUClKd41sdts8PSJR4jJjOOwks5nWHe2IqTAPJrWEypRWgaP3I&v=3&e=1511103718&t=EsvNwp0PeBtplTUkn8Gw5fB3H4Y doesn't provide any data: invalid
03:15:33.652 T:1212150768   ERROR: OMXPlayerVideo: Got MSGQ_IS_ERROR(-1) Aborting
03:15:33.653 T:1212150768  NOTICE: thread end: video_thread
03:15:33.702 T:1958871040  NOTICE: VideoPlayer: finished waiting
03:15:34.417 T:1958871040  NOTICE: CVideoPlayer::CloseFile()
03:15:34.417 T:1958871040  NOTICE: VideoPlayer: waiting for threads to exit
03:15:34.418 T:1958871040  NOTICE: VideoPlayer: finished waiting
03:15:34.418 T:1958871040  NOTICE: CVideoPlayer::CloseFile()
03:15:34.418 T:1958871040  NOTICE: VideoPlayer: waiting for threads to exit
03:15:34.418 T:1958871040  NOTICE: VideoPlayer: finished waiting
03:15:44.201 T:1958871040   ERROR: Control 55 in window 10025 has been asked to focus, but it can't

I have followed this.

But yet I cannot install the netflix plugin.

I am getting this error message:

CAddonInstallJob[plugin.video.netflix]: The dependency on script.module.pycryptodome version 3.4.3 could not be satisfied

Pycryptodome is already installed. Version 3.4.7

osmc-leia:~$ pip install pycryptodome
Collecting pycryptodome
  Downloading pycryptodome-3.4.7.tar.gz (6.5MB)
    100% |################################| 6.5MB 38kB/s
Building wheels for collected packages: pycryptodome
  Running setup.py bdist_wheel for pycryptodome ... done
  Stored in directory: /home/osmc/.cache/pip/wheels/f7/cb/16/1ed6dc50b92888af9051bda6f59f335dfd966a1ce5edd8a4af
Successfully built pycryptodome
Installing collected packages: pycryptodome
Successfully installed pycryptodome-3.4.7

Could you someone help me?

Thanks.

Waiting for my 2nd Vero to arrive this week so I can give Leia and Netflix myself a try. Can you verify you donā€™t have a conflict between the python version of Kodi and pip?

# pip --version
# ldd /usr/lib/kodi/kodi.bin | grep python

Kodi 17.6 still uses python 2.7 which Debian Stretch switched to 3.5.

This guide now works for Vero4k.

I have same issue, someone can help ?

1 Like

Hi all,

Did anyone of you testing Leia and Netflix try to listen to 5.1 audio tracks? Anyone with external USB or hat audio board (like Digiberry)?
What are your observation and thoughts?
Cheers!

1 Like

same here

5.1 passthrough is not working for me with Netflix plugin, despite correct settings and non adapting videos working ok.