How to use Netflix on OSMC (RPI2)

Hey,

I was wondering if it is possible to use NETFLIX on OSMC in Rpi2,
If so, How ?

Thank you a lot!!

Well you can stream netflix to your osmc machine via your windows machine look in the howto i did

remember support is handled by Playon for this not OSMC

I am looking at a way of doing this as well. I do NOT want to use a Windows machine, I am trying to get off windows as much as possible. I have a NUC running Ubuntu and could use it for streaming if needed, anyone got any suggestions?

The same applies to Netflix. There are literally dozens of threads explaining this that can easily be found using the forum search.

But Netflix works fine in chrome on Ubuntu (and used to in Firefox, although today when I tried it failed). So if it can be viewed, couldn’t there be some software to stream it to another computer?

https://discourse.osmc.tv/t/howto-streaming-netflix-hulu-etc-to-osmc-with-playon/

Only option i am vaguely aware of falls outside of your criteria.

This project looks very promising. It is thanks to inputstream that kodi can now directly decode widevine drm without the need of a browser. GitHub - asciidisco/plugin.video.netflix: Inputstream based Netflix plugin for Kodi

They have already managed to make amazon prime and skygo on rpi a reality. Fingers crossed.

1 Like

Yes – I think we’re going to see more and more streaming services possible on Kodi very soon.

Sam

That would be awesome! I expect streaming to replace classic discs and broadcasting rather sooner than later.

Do you have any indication about what is worked on and when first betas can be expected?

1 Like

According to readme on mentioned github, it is already functional, but requires agile build of kodi. I really do not know anything beyond that. I would be interested in possibilities of implementing this on osmc.

1 Like

When it’s in Kodi master, we can make some test builds. Until then, this won’t be happening. With that said, if anyone wants to build any branch or repository of Kodi, then they can do this.

Cheers

Sam

2 Likes

SOURCE
Github

Not sure how this would work on OSMC, but you could probably just startup chromium normally or even add it to the home menu

Chromium won’t work on OSMC without X11, which isn’t installed. There’s a thread about this: [Testing] X11(simple desktop) + Chromium(web browser) in a simple installer for Stretch

Hi, everything necessary is already in main branch of kodi 18. Will there be any osmc test builds to play with?

Info here: GitHub - asciidisco/plugin.video.netflix: Inputstream based Netflix plugin for Kodi

Since 9 months @gmc is producing Kodi 18 builds

1 Like

Oh, thanks. I just didn’t know. My bad. I am going to test netflix. Great to know.

Great news everybody. I have upgraded my OSMC to nightly build by @gmc Kodi 18 (Leia) builds for Raspberry Pi and now I can play netflix on my RPi3 OSMC install. All necessary information and netflix addon can be found on Netflix addon github.

DISCLAIMER: This includes upgrading OSMC to nightly build. There may be very ugly bugs. If you don’t know what you are doing, wait for the official Leia 18 release.

There were only two things I had to do differently.

(first) When downloading widevine library I had to modify the getwidevine.sh script. Change this line:

[ -z "${ARCH}" ] && ARCH=$(grep -m1 ARCH= /etc/os-release | sed 's/"//g' | cut -d. -f2)

to

 [ -z "${ARCH}" ] && ARCH=arm

Then run the script

sh getwidevine.sh

(second) The second thing is because of missing cryptodomex library in OSMC. Therefore we need to install python-pip through ssh and then install cryptodomex

sudo apt install python-pip
sudo pip install pycryptodomex

After all this (and changing max resolution in inputstream.adaptive to 480p - not sure if necessary) my son watches Peppa Pig from netflix right now :slight_smile:

Enjoy.


The picture was taken a few seconds before my wife discovered Peppa Pig :slight_smile:

10 Likes

Hello, I have done on Raspberry Pi2 like you’ve described above without problems but when I start to play some movie I got Errors like this attached at bottom.

Have anyone idea where I’ve to looking for problems and how to solve that ?

Piotr

13:16:12.414 T:1621357552  NOTICE: Opening stream: 1 source: 256
13:16:12.481 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.134/?o=AQH8uKZckcYZrt6ndKq3u7eKo7WkEf0CI_BQwIboc_abM1abcMG8-UdyndL0cJnp14dlMjHBRvkbM2RPHpQXV6MFwgCWjID1SXO8XJAF6r7cxJoTuj1eNCUOLaELaMLpzWilXNKftpLMxAVTYWqgcAtN5HRUA2mCOv6DeMLdMlqobLOIDm3i7WoyBTAquxGnKLuNBHo0Q616NL8_-Ak1&v=3&e=1507418011&t=J3STpty37KCuvvcF6TwcKjvWlAw|Range=bytes%3d0-40340&seekable=0
13:16:12.481 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:12.481 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:12.481 T:1621357552 WARNING: OpenStream - Unsupported stream 1. Stream disabled.
13:16:12.481 T:1621357552  NOTICE: Opening stream: 2 source: 256
13:16:12.548 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.160/?o=AQH8uKZckcYZrt6ud6iyuLyOorqyVuccOLkMnt_pML7IN16ZddH-oBlwmNvwbIGigcpuKlrUca0FRHRBM6kWTp8xvlvHzcucc0KVdb8C3r7Vvd4UvxlHIxIgNq0tdM-sjn_qUNGfoN2YrmULUQfDB15KrWRND2eEPeecb5DZKluvdvqEGT_1_mk1EDIi7V60KrO5anxyAa9tdK90tR8&v=3&e=1507418011&t=khbt4w532uZIwe7u6NgbIG35HDQ|Range=bytes%3d0-40340&seekable=0
13:16:12.549 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:12.549 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:12.549 T:1621357552 WARNING: OpenStream - Unsupported stream 2. Stream disabled.
13:16:12.549 T:1621357552  NOTICE: Opening stream: 3 source: 256
13:16:12.555 T:1956835328  NOTICE: m_playbackStarting
13:16:12.556 T:1956835328  NOTICE: StereoscopicsManager::IsPlaying
13:16:12.615 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.160/?o=AQH8uKZckcYZrt6ud6iyuLuNobSyVuccOLkMnt_pML7IN16ZddH-oBlwmNvwbIGigcpuKlrUca0FRHRBM6kWTp8xvlvHzcucc0KVdb8C3r7Vvd4UvxlHIxIgNq0tdM-sjn_qUNWfoN2YrmULUQfDB15KrWRND2eEPeecb5DZKluvdvqEGT_1_mk1EDIi7V60KrO5anxyAa9tdK90tR8&v=3&e=1507418011&t=DJmvRjgS9TUn03jsT45diIlvdm8|Range=bytes%3d0-40340&seekable=0
13:16:12.615 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:12.615 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:12.616 T:1621357552 WARNING: OpenStream - Unsupported stream 3. Stream disabled.
13:16:12.616 T:1621357552  NOTICE: Opening stream: 4 source: 256
13:16:12.682 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.134/?o=AQH8uKZckcYZrt6ndKq3u7eFp7WqEf0CI_BQwIboc_abM1abcMG8-UdyndL0cJnp14dlMjHBRvkbM2RPHpQXV6MFwgCWjID1SXO8XJAF6r7cxJoTuj1eNCUOLaELaMLpzWilXNKYs5LMxAVTYWqgcAtN5HRUA2mCOv6DeMLdMlqobLOIDm3i7WoyBTAquxGnKLuNBHo0Q616NL8_-Ak1&v=3&e=1507418011&t=VHU2wYZMYh9HHmriEw5Vf40uEqU|Range=bytes%3d0-40340&seekable=0
13:16:12.682 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:12.682 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:12.683 T:1621357552 WARNING: OpenStream - Unsupported stream 4. Stream disabled.
13:16:12.683 T:1621357552  NOTICE: Opening stream: 5 source: 256
13:16:12.749 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.160/?o=AQH8uKZckcYZrt6ud6iyuLqPpLayVuccOLkMnt_pML7IN16ZddH-oBlwmNvwbIGigcpuKlrUca0FRHRBM6kWTp8xvlvHzcucc0KVdb8C3r7Vvd4UvxlHIxIgNq0tdM-sjn_qU9CfoN2YrmULUQfDB15KrWRND2eEPeecb5DZKluvdvqEGT_1_mk1EDIi7V60KrO5anxyAa9tdK90tR8&v=3&e=1507418011&t=5RuGQVnFoxxfACtvkqgiWUzmg38|Range=bytes%3d0-40340&seekable=0
13:16:12.749 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:12.749 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:12.750 T:1621357552 WARNING: OpenStream - Unsupported stream 5. Stream disabled.
13:16:12.750 T:1621357552  NOTICE: Opening stream: 6 source: 256
13:16:12.816 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.134/?o=AQH8uKZckcYZrt6ndKq3u7eFobOoEf0CI_BQwIboc_abM1abcMG8-UdyndL0cJnp14dlMjHBRvkbM2RPHpQXV6MFwgCWjID1SXO8XJAF6r7cxJoTuj1eNCUOLaELaMLpzWilXNGatpLMxAVTYWqgcAtN5HRUA2mCOv6DeMLdMlqobLOIDm3i7WoyBTAquxGnKLuNBHo0Q616NL8_-Ak1&v=3&e=1507418011&t=ga8uKFl4OZ76rjlQQ8Qn6R2p-yg|Range=bytes%3d0-40340&seekable=0
13:16:12.817 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:12.817 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:12.817 T:1621357552 WARNING: OpenStream - Unsupported stream 6. Stream disabled.
13:16:12.817 T:1621357552  NOTICE: Opening stream: 7 source: 256
13:16:12.883 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.160/?o=AQH8uKZckcYZrt6ud6iwvL6JobeyVuccOLkMnt_pML7IN16ZddH-oBlwmNvwbIGigcpuKlrUca0FRHRBM6kWTp8xvlvHzcucc0KVdb8C3r7Vvd4UvxlHIxIgNq0tdM-sjn_qUtafoN2YrmULUQfDB15KrWRND2eEPeecb5DZKluvdvqEGT_1_mk1EDIi7V60KrO5anxyAa9tdK90tR8&v=3&e=1507418011&t=NCnI7jMXMIe17yTt_m2DQvFEnOg|Range=bytes%3d0-40340&seekable=0
13:16:12.883 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:12.884 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:12.884 T:1621357552 WARNING: OpenStream - Unsupported stream 7. Stream disabled.
13:16:12.884 T:1621357552  NOTICE: Opening stream: 8 source: 256
13:16:12.949 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.114.152/?o=AQH8uKZckcYZrt6ud6uzv7aLorCyVuccOLkMnt_pML7IN16ZddH-oBlwmNvwbIGigcpuKlrUca0FRHRBM6kWTp8xvlvHzcucc0KVdb8C3r7Vvd4UvxlHIxIgNq0tdM-sjn_qVdqfoN2YrmULUQfDB15KrWRND2eEPeecb5DZKluvdvqEGT_1_mk1EDIi7V60KrO5anxyAa9tdK90tR8&v=3&e=1507418011&t=Ao-bEllqFHw30IH417VA1t3BwyQ|Range=bytes%3d0-40340&seekable=0
13:16:12.949 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:12.950 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:12.950 T:1621357552 WARNING: OpenStream - Unsupported stream 8. Stream disabled.
13:16:12.950 T:1621357552  NOTICE: Opening stream: 9 source: 256
13:16:13.015 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.134/?o=AQH8uKZckcYZrt6ndKq3u7eFr7KrEf0CI_BQwIboc_abM1abcMG8-UdyndL0cJnp14dlMjHBRvkbM2RPHpQXV6MFwgCWjID1SXO8XJAF6r7cxJoTuj1eNCUOLaELaMLpzWilXNaftpLMxAVTYWqgcAtN5HRUA2mCOv6DeMLdMlqobLOIDm3i7WoyBTAquxGnKLuNBHo0Q616NL8_-Ak1&v=3&e=1507418011&t=IplwEEj6__56uAyqbHsISqyFQmQ|Range=bytes%3d0-40340&seekable=0
13:16:13.016 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:13.016 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:13.016 T:1621357552 WARNING: OpenStream - Unsupported stream 9. Stream disabled.
13:16:13.017 T:1621357552  NOTICE: Opening stream: 10 source: 256
13:16:13.084 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.116.157/?o=AQH8uKZckcYZrt6ud6uzvr2Kp7eyVuccOLkMnt_pML7IN16ZddH-oBlwmNvwbIGigcpuKlrUca0FRHRBM6kWTp8xvlvHzcucc0KVdb8C3r7Vvd4UvxlHIxIgNq0tdM-sjn_qVtKfoN2YrmULUQfDB15KrWRND2eEPeecb5DZKluvdvqEGT_1_mk1EDIi7V60KrO5anxyAa9tdK90tR8&v=3&e=1507418011&t=fJznLHxXOATWsXuK3vqdo0Go2HA|Range=bytes%3d0-40340&seekable=0
13:16:13.084 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:13.085 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:13.085 T:1621357552 WARNING: OpenStream - Unsupported stream 10. Stream disabled.
13:16:13.085 T:1621357552  NOTICE: Opening stream: 11 source: 256
13:16:13.142 T:1956835328  NOTICE: m_playbackStarting
13:16:13.142 T:1956835328  NOTICE: StereoscopicsManager::IsPlaying
13:16:13.152 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.160/?o=AQH8uKZckcYZrt6ndKq3u7eEoLOkEf0CI_BQwIboc_abM1abcMG8-UdyndL0cJnp14dlMjHBRvkbM2RPHpQXV6MFwgCWjID1SXO8XJAF6r7cxJoTuj1eNCUOLaELaMLpzWilXNKcs4SDkG8zOVrNE3wY4z1EGmWMPPmaZ9WPNkKpa6nBAnqw-nkxAiUos0foO7mFMBQyBe94I_8vs0Qjlg&v=3&e=1507418011&t=inB0dtMuogphc1RsonWPEvqrnd8|Range=bytes%3d0-40340&seekable=0
13:16:13.152 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:13.152 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:13.153 T:1621357552 WARNING: OpenStream - Unsupported stream 11. Stream disabled.
13:16:13.153 T:1621357552  NOTICE: Opening stream: 12 source: 256
13:16:13.222 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.115.134/?o=AQH8uKZckcYZrt6ndKq3u7eKo7WkEf0CI_BQwIboc_abM1abcMG8-UdyndL0cJnp14dlMjHBRvkbM2RPHpQXV6MFwgCWjID1SXO8XJAF6r7cxJoTuj1eNCUOLaELaMLpzWilXNKftpLMxAVTYWqgcAtN5HRUA2mCOv6DeMLdMlqobLOIDm3i7WoyBTAquxGnKLuNBHo0Q616NL8_-Ak1&v=3&e=1507418011&t=J3STpty37KCuvvcF6TwcKjvWlAw|Range=bytes%3d0-40340&seekable=0
13:16:13.222 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:13.222 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:13.222 T:1621357552 WARNING: OpenStream - Unsupported stream 12. Stream disabled.
13:16:13.224 T:1621357552  NOTICE: Opening stream: 13 source: 256
13:16:13.236 T:1956835328  NOTICE: m_playbackStarting
13:16:13.236 T:1956835328  NOTICE: StereoscopicsManager::IsPlaying
13:16:13.293 T:1621357552   ERROR: CCurlFile::Open failed with code 404 for http://198.38.116.157/?o=AQH8uKZckcYZrt6ndKWyvLiJo7qqEf0CI-dQwIboc_abM1abcMG8-UdyndL0cJnp14dlMjHBRvkbM2RPHpQXV6MFwgCWjID1SXO8XJAF6r7cxJoTuj1eNCUOLaELaMLpzWilXNKWtJLMxAVTYWqgcAtN5HRUA2mCOv6DeMLdMlqobLOIDm3i7WoyBTAquxGnKLuNBHo0Q616NL8_-Ak1&v=3&e=1507418011&t=B_Mp5M1w8GMFJQ45AgLeDnSFM-o|Range=bytes%3d0-40340&seekable=0
13:16:13.293 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Download SIDX retrieval failed
13:16:13.294 T:1621357552   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
13:16:13.294 T:1621357552  NOTICE: Finding audio codec for: 86057

I have replied at netflix addon github issue #168. The errors you are getting seem to be related to connectivity problems. Try reaching the links that are anreachable through wget or curl direclty over ssh. If the errors are still 404, check your network, routers etc. Here the errors are 403 - forbidden = I cannot access the urls just outside of netflix addon.

If the errors would be 403 or other, there is something I miss. Please post the result.

Hi, thanks for good hint…Problem was in my home network settings. I wrote more details at issue #168.
Thank you for your help:)

1 Like