CastagnaIT / plugin.video.netflix

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

Playback error due to website changes #1603

Closed Warprein closed 11 months ago

Warprein commented 11 months ago

Netflix add-on version

1.22.1+matrix.1

Operative systems used

Android

Kodi version used

Kodi 20 (Nexus)

Description of the bug

Device: Mi Stick Current Kodi version: v20.2 (but the same error is also being encountered with v19 for several weeks

Netflix Add-on error Due to a msl error you cannot playback videos with this device. This is a know problem due to a website changes. This problem could be solved in the future, but at the moment there is no solution

Playback failed One or more items failed to play. Check the log for mor information about this message.

Steps to reproduce the behavior

No response

Debug log - mandatory

https://paste.kodi.tv/dewaramatu.kodi

Possible fix

No response

Additional context

No response

Screenshots

No response

cache-sk commented 8 months ago

~I had identical error on Xiaomi Mi Box 3, Xiaomi Mi Box S (first gen) and Xiaomi Mi Tv Stick (old FHD model).~

~As i know, all three are L1 and Netflix certified. All three have AndroidTV 9 and I disabled preinstalled Netflix app.~

~I have tried addon version 1.22.0, as suggested in #1597 and it worked.~

~So i have done some tinkering and this is result:~

~Version: 1.22.3 on Kodi 20.2 from play store, all three mentioned Xiaomi devices.~

~Logged in with key and password, playback shows this "msl website changes" error.~

~In expert settings, i have disabled atmos (don't have HW for it), enabled vp9 and hevc.~

~Then in ESN / Widevine settings, turned off 540p limit workaround, set Force L3 and hit OK.~

~Now playback works, even in 1080p (only FHD tv's, can't test 4K).~

~I don't understand why, because all three are L1 devices..~

cache-sk commented 6 months ago

I hopefully managed to solve it. My previous comment was complete bullshit, so I crossed it out. I tried the addon for the first time then..

Reason why this MSL error shows on Xiaomi devices is wrong ESN.

On my Nvidia Shield "tube" is prefix of ESN same for official app and addon.

But on my Xiaomi devices not.

(Is it OK and safe to publish this?)

Xiami Mi Box 3 (pretty old, but still working) Official ESN: NFANDROID2-PRV-XIAOMIM12TRIAL-.... Addon ESN: NFANDROID1-PRV-T-...

Xiaomi Mi Box S (1st gen, same HW as Box 3): Official ESN: NFANDROID2-PRV-M19-.... Addon ESN: NFANDROID1-PRV-T-...

Xiaomi Mi Tv Stick (first HD model, own it twice): Official ESN: NFANDROID2-PRV-AQUAMAN-.... Addon ESN: NFANDROID1-PRV-T-...

Addon have same wrong ESN on all 4 Xiaomi devices i own.

@Warprein - try it, just check your official app ESN and edit ESN prefix in addon, keep other ESN settings at default, it works for me, few days so far 😊

@CastagnaIT - maybe it will help as a hint for other devices with the same error from version 1.22.1, I don't know how the ESN is generated in the addon, but at least it doesn't work correctly on Xiaomi devices.

Update:

Oh crap, I have found why is addon generating T - ESN.. Because (on Box 3) value for ro.build.characteristics is literally default.. Fuck.. After quick list i saw only two keys containing 'TV' (still on Box 3): ro.com.google.clientidbase = android-xiaomi-tv ro.oem.key1 = ATV00100016M12

This is sad..

osdieman commented 6 months ago

Hi All.. I had the same on some xiami boxes and sticks.. What worked for me to get arround this was as following : Reset the whole netflix addon and inputstream.. Then Check the official app ESN.. You will see something like this : "NFANDROID2-PRV-" where i changed it to "NFANDROID1-PRV-"
And also the other way arround. So : NFANDROID1-PRV- become NFANDROID2-PRV- Hope this helped

Kind regards

CastagnaIT commented 6 months ago

Oh crap, I have found why is addon generating T - ESN.. Because (on Box 3) value for ro.build.characteristics is literally default..

@cache-sk exact tv boxes with andoird tv OS should always have "TV" on ro.build.characteristics

if you can confirm that on all your 4 xiaomi devices the ro.com.google.clientidbase have android-xiaomi-tv value, then i can add a special case to force generate the NFANDROID2 when that value match

cache-sk commented 6 months ago

@CastagnaIT

I finally found time to check it on all these devices and I confirm that on all four named xiaomi boxes/tv sticks with Android TV 9 is ro.build.characteristics == default and ro.com.google.clientidbase == android-xiaomi-tv

Checked with qute terminal and getprop command.

Btw, when I looked at the other values from which the ESN is calculated, it should work, the only problem is that it is "default" in characteristics, so it should be enough that the ESN will be generated in TV mode if the values mentioned above are met. I can find time to edit addon manually and try it to confirm on all 4.

CastagnaIT commented 6 months ago

thanks i will add this check

ProtonWolf commented 4 months ago

When i try to change the ESN prefix from NFANDROID1-PRV-T to my device NFANDROID1-PXA-T it says Wrong ESN format, i also tried NFANDROID2-PRV it chnges without any error but when i try to play a video i get logout problem

ProtonWolf commented 4 months ago

Can anyone help? @CastagnaIT