How to use Netflix on OSMC (RPI2)


#11

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.


#12

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


#13

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


#14

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


#15

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

Info here: https://github.com/asciidisco/plugin.video.netflix


#16

Since 9 months @gmc is producing Kodi 18 builds


#17

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


#18

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:


#20

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

#21

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.


#22

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


#23

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?


#24

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


#25

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.


#26

thank you


#27

Hi folks, I did a write-up about how to install instant video and netflix on OSMC with Kodi 18. Check it out here: https://laclaro.wordpress.com/2017/10/14/rpi-streaming-station-with-amazon-instant-video-and-netflix/

Cheers

Henning


#28

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


#29

That’s true. Adjusted.


#30

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


#31

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