CastagnaIT / plugin.video.netflix

InputStream based Netflix plugin for Kodi
MIT License
1.89k stars 258 forks source link

PLAYBACK ERROR - MSLError: The title is not available to watch instantly... #1675

Closed Tallguy298 closed 5 months ago

Tallguy298 commented 5 months ago

Netflix add-on version

1.23.2+matrix.1

Operative systems used

Linux (Ubuntu / Mint / ...)

Kodi version used

Kodi 20 (Nexus)

Description of the bug

I am receiving this error when playing ANY netflix video. The video plays after I click on OK.

screenshot00002

Steps to reproduce the behavior

No response

Debug log - mandatory

https://paste.kodi.tv/nuduzuxume.kodi

Possible fix

No response

Additional context

No response

Screenshots

No response

Kampfader commented 5 months ago

Im on kodi omega beta2, i have the same error

DocSniper commented 5 months ago

I have a problem that is very similar to this one, maybe it's the same thing, that's why I'm posting it here.

About 2 minutes after starting a video it freezes / stops playing. If I then stop the video and try to play it again from exactly this position, then I get the error: "AMVideoEvents disabled due to exception: nf_is_ads_stream".

My setup: Xiaomi TV F2 with Fire OS 7 / Kodi 21 beta 2 (Android) / Netflix add-on version 1.23.2+matrix.1 / Netflix Premium Ultra HD

nf_is_ads_stream_error

tsioukas commented 5 months ago

I have also the same problem. When I enable HDR or Dobly Vision in options, I get "AMPlayback disabled due to exception: u'percentage". When I disable HDR/Dobly Vision, it freezes after 2minutes. Also time seeking isn't available.

My System Specs : KODI 20.3 on Google TV / Android 10 (Sony Bravia). My Netflix plan is Premium.

yobionekanobi commented 5 months ago

Same here! Kodi 20.3, Nvidia Shield Pro, Premium Ultra HD subscription.

em1soldier commented 5 months ago

Looks like an issue with widevine. Manually setting it to 540p or lower seems to play just fine, any higher and it freezes around 2 minutes in.

Kodi 20.3, CCWGTV, Premium Netflix

etgecata commented 5 months ago

Same here! Kodi 20.3, Nvidia Shield Pro, Premium Ultra HD subscription.

vwgolfo74 commented 5 months ago

Same here! Kodi 20.3 Fire Stick Tv 4K Max

wajo666 commented 5 months ago

Same

Kodi 21beta-2 Philips 58PUS7304/12

sangju41 commented 5 months ago

I have a problem that is very similar to this one, maybe it's the same thing, that's why I'm posting it here.

About 2 minutes after starting a video it freezes / stops playing. If I then stop the video and try to play it again from exactly this position, then I get the error: "AMVideoEvents disabled due to exception: nf_is_ads_stream".

My setup: Xiaomi TV F2 with Fire OS 7 / Kodi 21 beta 2 (Android) / Netflix add-on version 1.23.2+matrix.1 / Netflix Premium Ultra HD

nf_is_ads_stream_error

Same problem. Shield TV Pro 2019 / Kodi 21 beta 2 (Android) / Netflix add-on version 1.23.2+matrix.1 / Netflix Premium Ultra HD

tsioukas commented 5 months ago

I manage to get a 4K resolution without errors on my Google Chromecast with TV / Android 12 (Connected on Sony Bravia)

I played a video for over 10 minutes without any freeze, and I can seek at specific time. Also, I get Dolby Atmos Audio.

The only option that I can't get is Dobly Vision / HDR videos. KODI with an MKV (HDR10 enabled) video can play it at HDR but through Neflix Addon it was impossible to play HDR content. But I will try later to connect Google TV directly to my Denon AVC to see if I get HDR/Dolby Vision.

I am not sure if the problem is on Netflix Addon or on Input Stream adaptive. On my Sony Bravia (Google TV / Android 10) that I have the problem I am on Kodi 20.3 with Inputstream Adaptive 20.3.16.

KODI Version: 21.0 BETA2 (20.90.821)

Input Stream 21.4.1

Netflix Addon: 1.23.2+matrix.1 (login with Auth key) Expert Settings:

I hope that it helps

josefede commented 5 months ago

I have a problem that is very similar to this one, maybe it's the same thing, that's why I'm posting it here.

About 2 minutes after starting a video it freezes / stops playing. If I then stop the video and try to play it again from exactly this position, then I get the error: "AMVideoEvents disabled due to exception: nf_is_ads_stream".

My setup: Xiaomi TV F2 with Fire OS 7 / Kodi 21 beta 2 (Android) / Netflix add-on version 1.23.2+matrix.1 / Netflix Premium Ultra HD

nf_is_ads_stream_error

Same here

nroets1 commented 5 months ago

I manage to get a 4K resolution without errors on my Google Chromecast with TV / Android 12 (Connected on Sony Bravia)

I played a video for over 10 minutes without any freeze, and I can seek at specific time. Also, I get Dolby Atmos Audio.

The only option that I can't get is Dobly Vision / HDR videos. KODI with an MKV (HDR10 enabled) video can play it at HDR but through Neflix Addon it was impossible to play HDR content. But I will try later to connect Google TV directly to my Denon AVC to see if I get HDR/Dolby Vision.

I am not sure if the problem is on Netflix Addon or on Input Stream adaptive. On my Sony Bravia (Google TV / Android 10) that I have the problem I am on Kodi 20.3 with Inputstream Adaptive 20.3.16.

KODI Version: 21.0 BETA2 (20.90.821)

Input Stream 21.4.1

  • Stream Selection Type: Fixed Resolution (*on non 4K content select the highest available)
  • Maximum resolution: 4K
  • Maximum resolution for DRM videos: 4K
  • Ignore HDCP Status: True

Netflix Addon: 1.23.2+matrix.1 (login with Auth key) Expert Settings: - Dolby Digital plus codec: True - VP9 Codec: False - HEVC Codec: True - AV1 Codec: False

I hope that it helps

I have the same issue on MiBox S 4k and also on another Android tv box (HAKU). Both have the same error. Playback freezes after 2 minutes. Newer releases on Netflix just give the MSLError and does not play at all.

I have installed KODI Version: 21.0 BETA2 on the MiBox S 4k to test. I still get the exact same issues. Nothing changed.

I also have the PriveVideo add-on installed, which also use InputStreamAdaptive and everything works without an issue. I get 4k with Dolby Atmos playback.

This error started to occurr at around the middle of January. Before that, everything was fine.

I also have kodi 20.3 installed on ubuntu 22.04 and there I get 1080p with Dolby Atmos playback without an issue.

tsioukas commented 5 months ago

Today I tried to play again from my Google Chromecast with TV usb stick, as described in my last post. But even if yesterday worked normally, without any change on settings, I got the MSLError on some episodes. It was possible to play some episodes from other show, but they freeze after 2min. The strange is that I got MSLError on Seinfeld S09E11 but not on S01E01 (that of course freeze after 2min). Yestereday was a fresh install/login with auth key. I don't know if this affect today behaivor.

KODI Version: 21.0 BETA2 (20.90.821) Input Stream 21.4.1 Netflix Addon: 1.23.2+matrix.1

nroets1 commented 5 months ago

Temporary Fix with decent looking 960x540 playback

Tested on kodi 21 Omega beta 2. Should work for 20.3

Input Stream 21.4.1

Stream Selection Type: Fixed Resolution (*on non 4K content select the highest available) Maximum resolution: 4K Maximum resolution for DRM videos: 4K Ignore HDCP Status: True

Netflix add-on settings

Codecs Enable Dolby Digital Plus codec (Atmos on Premium account): true Enable VP9 codec: true

Playback Override stream selection type: Fixed video quality Limit video stream resoloution to SD 576p

With these settings I can still watch PrimeVideo in 4k and watch Netflix in kodi with decent looking 960x540.

Not an ideal solution but it works for now.

tsioukas commented 5 months ago

@nroets1, yes I notice that when I was playing with InputStream settings. That's I am wondering if this is InputStream or maybe ESN problem again. Maybe the random ESN dosen't work anymore. Because Google Chromecast with Google TV isn't my main KODI device I install Netflix Addon yesterday for first time (after factory reset). In less than 24h I wasn't able to play again.

nroets1 commented 5 months ago

@tsioukas , I don't think it's an ESN error. With the ESN error, 4k was not possible at all. In my case it plays 4k but freezes after 2 minutes. For some other titles it does not play at all with anything enabled above 576p.

Paco8 commented 5 months ago

I think the first 2 minutes are unencrypted. That's why they play fine. I guess there's some kind of problem with the license key and Kodi can't decode the video stream.

MauriceW67 commented 5 months ago

@CastagnaIT Do you have any idea what's going on with Netflix and this addon currently?

Seems like a lot of people are not able to play 4K on Android anymore, while this used to work until about 5 days ago.

People on the forum are reporting it too: https://forum.kodi.tv/showthread.php?tid=329767&pid=3182130#pid3182130

CastagnaIT commented 5 months ago

@MauriceW67 hi i havent had time to try investigate on this in these days my suspect is that the license request dont provide the decryption keys

MauriceW67 commented 5 months ago

@CastagnaIT Ok, thanks.

For now I will revert to using the Netflix app on my Philips TV then, since the one on my Shield is still limited to 540p because of the Netflix block 😄

shinguebai commented 5 months ago

Hi Same here. Netflix premium.
On NVIDIA Shield, it happened with the kodi upgrade from 20.2 to 20.3. It freezes after 2.11 minutes exactly. I then switched to my Pi4 that’s still on kodi 20.2 and there it’s still ok with the same Netflix credentials.

tsioukas commented 5 months ago

Hi Same here. Netflix premium. On NVIDIA Shield, it happened with the kodi upgrade from 20.2 to 20.3. It freezes after 2.11 minutes exactly. I then switched to my Pi4 that’s still on kodi 20.2 and there it’s still ok with the same Netflix credentials.

I was thinking about this update but this isn't explain Kodi 21 behaivor (even if this happened to me after 1 day as I wrote above). I hope CastagnaIT to find time to check it. Unfotunnatelly I can't go to older version on Android TV.

CastagnaIT commented 5 months ago

problem is not relative to kodi versions, because all kodi versions use the same inputstream library to manage drm.

the 2 minuts playback its normal because the first 2 minuts are unencrypted, and so after that time the DRM cannot do the decryption and playback its ofc broken.

i tried investigate but i have zero ideas of whats changed on netflix servers... website data looks the same as before, but device drm result in a weird error relative to initialize the drm session i have not found any info about this error on the web

02-04 10:54:50.228  3364  3406 E oemcrypto_cenc: OEMCrypto_LoadDRMPrivateKey: error in te_launch_operation: 0x1e
02-04 10:54:50.229  5400  5834 W System.err: android.media.NotProvisionedException: Failed to open session
shinguebai commented 5 months ago

Ok, DRM handling is probably involved. But the thing is: What does it still work on Linux? (with a previous kodi version). If there had been a change on Netflix servers, we should get the same behaviour on Android and Linux, shoudn’t we? There’s Google of course…I could try upgrading the kodi that runs on linux but if it’s finally linked to the kodi version, I’ll have to reinstall kodi in 20.2 😓Le 4 févr. 2024 à 12:47, Stefano Gottardo @.***> a écrit : problem is not relative to kodi versions, because all kodi versions use the same inputstream library to manage drm. the 2 minuts playback its normal because the first 2 minuts are unencrypted, and so after that time the DRM cannot do the decryption and playback its ofc broken. i tried investigate but i have zero ideas of whats changed on netflix servers... website data looks the same as before, but device drm result in a weird error relative to initialize the drm session i have not found any info about this error on the web 02-04 10:54:50.228 3364 3406 E oemcrypto_cenc: OEMCrypto_LoadDRMPrivateKey: error in te_launch_operation: 0x1e 02-04 10:54:50.229 5400 5834 W System.err: android.media.NotProvisionedException: Failed to open session

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

nroets1 commented 5 months ago

@shinguebai , I have kodi 20.3 installed on linux and it plays back netflix shows / movies at 1080p without an issue. Obviously an Android issue.

shinguebai commented 5 months ago

@nroets Thanks for the hint! I'll give it a try.

shinguebai commented 5 months ago

nroets1 statement is right: whether or not it's due to DRM, there's no issue on Linux. Blacklisting?

MauriceW67 commented 5 months ago

I don't think it's blacklisting. The issue is with 4K content, which requires Widevine L1. Linux simply does not support 4K or Widevine L1.

nroets1 commented 5 months ago

@MauriceW67 , it also stops playing when you limit the playback to 1080p on Android.

josefede commented 5 months ago

I don't think it's blacklisting. The issue is with 4K content, which requires Widevine L1. Linux simply does not support 4K or Widevine L1.

1080p also requires Widevine L1 afaic

Tallguy298 commented 5 months ago

This problem has been fixed. Widevine was updated to current build. Kodi-inputstream.adaptive was updated to current build. Netflix plays in all screen resolutions without staggering, or freezing.

shinguebai commented 5 months ago

Thanks a lot!

MauriceW67 commented 5 months ago

@Tallguy298 I guess for Linux the issue is solved, but on Android the addon still won't play any 4K videos.

@CastagnaIT Should we open a separate issue for 4K on Android? Or should we continue in issue #1678 ?

tsioukas commented 5 months ago

I don't think that they fixed for all. I am still have problem for both Google TV Devices

Google TV (Sony Bravia)

KODI Version: 20.3 Input Stream 20.3.17 Netflix Addon: 1.23.2+matrix.1

and Google Chromecast with TV

KODI Version: 21.0 BETA2 (20.90.821) Input Stream 21.4.1 Netflix Addon: 1.23.2+matrix.1

EDIT : 1080p as MauriceW67 said played only for 2min.

josefede commented 5 months ago

@Tallguy298 I guess for Linux the issue is solved, but on Android the addon still won't play any 4K videos.

@CastagnaIT Should we open a separate issue for 4K on Android? Or should we continue in issue #1678 ?

Maybe we should open another issue as you say because this one was originally opened regarding Linux OS. Still, it's interesting that the issue was finally solved on Linux but not on other platforms

nroets1 commented 5 months ago

I confirm that the inputstreamadaptive update did nothing to resolve the issue on Android. I still have the same issue on both my TV boxes. MiBox S 4k and HAKU.

etgecata commented 5 months ago

Nvidia Shield 2019 the problem is not solved

kokobokoroko commented 5 months ago

mi box s problem is same

em1soldier commented 5 months ago

Also still occurring for me on Chromecast with Google TV.

KODI: 20.3 Input Stream: 20.3.17 Netflix Addon: 1.23.2+matrix.1

yobionekanobi commented 4 months ago

Can confirm that 540p is the only resolution that works..if I implement the 540p limit workaround (i.e change ESN) to play 1080p or 2160p content..freezing occurs.

Kodi 20.3, Nvidia Shield Pro, Premium Ultra HD subscription.

Razem commented 4 months ago

@CastagnaIT Could you please reopen this issue (if it's the same problem), or unlock #1678 so we can move the discussion there?

tsioukas commented 4 months ago

If this bug fixed on Linux with an update of InputStream adaptive, I think that something is wrong with that on Android TV, so I think that it's better to open an issue there (refering in this issue thread and Netflix Addon).

@CastagnaIT, did you find time check it better? I missed already this addon, I hate Netflix "stupid" app :(

CastagnaIT commented 4 months ago

unlocked https://github.com/CastagnaIT/plugin.video.netflix/issues/1678 for android