CastagnaIT / plugin.video.netflix

InputStream based Netflix plugin for Kodi
MIT License
1.91k stars 259 forks source link

Shield v8.0.0 (Pie) killed Kodi Netflix #152

Closed beardie79 closed 4 years ago

beardie79 commented 5 years ago

I'm submitting a ...

General information

Pie update on shield killed Kodi Netflix

Addon version used

14.6

Description

Tried re-install no joy. Stalls on loading.

Steps to Reproduce

Upgrade Shield to v8

Context (Environment)

Installation

Operating System

HDGuy commented 5 years ago

Unfortunately rolling back is very difficult, I wouldn't try it if you don't know what you're doing. You could easily brick your Shield.

xnappo commented 5 years ago

I have instructed the family not to say 'ok' :D

HDGuy commented 5 years ago

https://paste.kodi.tv/amofajeguc

Hopefully this works.

Smeulf commented 5 years ago

Hopefully this works.

@HDGuy not in debug but good enough, same error.

I think for now we're good with the logs. We gonna investigate more. Thanks to all.

HDGuy commented 5 years ago

Wouldn't work in debug for some reason.

As long as it's good enough.

HDGuy commented 5 years ago

Funny, I installed it on Kodi on my Fire TV 4k stick last night and everything works just fine. 4k, Atmos, HDR, etc.

Wish Dolby Vision worked tho. :)

Smeulf commented 5 years ago

Funny, I installed it on Kodi on my Fire TV 4k stick last night and everything works just fine

Is it Android Pie too?

HDGuy commented 5 years ago

Funny, I installed it on Kodi on my Fire TV 4k stick last night and everything works just fine

Is it Android Pie too?

The Fire TV runs on a modified version of Android, although what version I can't say.

CastagnaIT commented 5 years ago

Assuming different Shield are okay.

O: https://pastebin.com/pjhN1QFh P: https://pastebin.com/BcTQF4Js

@xnappo in these logs did you use esn set by you or automatic from the plugin?

M2k80 commented 5 years ago

i have a backup from my netflix settings folder, when it was running on O, there it was set automaticly to NFANDROID2-PRV-SHIELDANDROIDTV-NVIDIASHIELD=ANDROID=TV and on P its automaticly set to NFANDROID2-PRV-T-L3-NVIDIASHIELD=ANDROID=TV

and this is shown in android system settings on P now - NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV - can you see the difference to O? one A is missing

CastagnaIT commented 5 years ago

I re-express myself -and this is shown in android system settings "NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV" do you want to say on netflix official app?

M2k80 commented 5 years ago

in O it was NFANDROID2-PRV-SHIELDANDROIDTV-NVIDIASHIELD=ANDROID=TV auto set from plugin. on P it is NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV - in system settings. there is now missing an A on NVIDIASHIELD and its now wrong detected as NFANDROID2-PRV-T-L3-NVIDIASHIELD=ANDROID=TV" i am not a dev, only trying to help - but it seems to look like there is now a problem to read it out correctly and maybe the same in the other way?

M2k80 commented 5 years ago

this is only in the netflix plugin on O NFANDROID2-PRV-T-L3-NVIDIASHIELD=ANDROID=TV not in system settings i am talking about your plugin not netflix app on android you can see netflix esn if you go Settings -> info

CastagnaIT commented 5 years ago

if you set esn manually: NFANDROID2-PRV-SHIELDANDROIDTV-NVIDIASHIELD=ANDROID=TV on P, 4k works?

M2k80 commented 5 years ago

i tried it yes, but no change

CastagnaIT commented 5 years ago

to understand, on P in the official netflix app esn Settings -> info, what esn exactly?

M2k80 commented 5 years ago

no in android system settings - info in netflix android app there is no esn shown

M2k80 commented 5 years ago

on P in system settings is this NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV followed by many numbers

CastagnaIT commented 5 years ago

can you put a screenshot?

M2k80 commented 5 years ago

is it safe for me to tell everyone my complete ESN? isnt it unique to every device?

CastagnaIT commented 5 years ago

could, i read that at least in TVs can change with a factory reset if you prefer you can send the screeshot on my personal email indicated on the first page of my github we need to understand what they have changed

M2k80 commented 5 years ago

send it to your email

xnappo commented 5 years ago

@CastagnaIT, It was automatic, didn't touch it.

peak3d commented 5 years ago

@M2k80 you can see the ESN from android app if you enter the "Get Help" section, after this select Device.

The T3 ESN is definitively wrong detected, but changing the ESN to the one from app does not really help for me.

Beside this I doubt that it was NVIDIASHIELD (with A) on O, because the size of chars is and was limited.

M2k80 commented 5 years ago

yes you are right, i tested with P all combinations, old esn, new esn, complete long new esn. but nothing helped.

peak3d commented 5 years ago

Issue is, that the returned data from licenseserver does not contain the required license, it contains something else. The .response file on the device (saved from inputstream.adaptive, search with "find /sdcard/ -name *.response" contain on my AFTV a valid license:

{"getWidevineLicenseResponse":{"license":"CAIS7AQKSgogQjI1MDUwRUYyQUQxQzgzMzE0MDEwMDAwMDAwMD ....

On shield with P it contains something completely different (binary stuff). so it seems that we have to figure out what the difference in the request is.

peak3d commented 5 years ago

Sorry, I have been on wrong device when I pulled the aftv .response file. Pulling it from the correct device leads to a .response file which looks similiar to the one currently provided by shield. Nevertheless the widevine DRM on shield / pie does not lead to the expected license workflow.

Smeulf commented 5 years ago

we have to figure out what the difference in the request is

I'm not familiar enough with InputStream. So the answer for my question will be obvious for you but... Is it on our side or on yours? I assume we (Netflix addon) pass the url for the license to InputStream then you deal with it?

Dnkhatri commented 5 years ago

Something is wrong with the shield widewine system after the update many people have problems using the official Netflix and Amazon prime apps as well. Until Nvidia fixes that the only other option is to try resting the shield according to the Nvidia devs on the Nvidia forum

semool commented 5 years ago

@Dnkhatri I have resetet my Shield after the Pie Update. The Amazon and Netflix Native Apps are working fine but not the Kodi Addon for Netflix.

wintuxx commented 5 years ago

I have test the addon on my mobile device with android pie. And it worked, movies are playing etc. Everything works like it should.

peak3d commented 5 years ago

@wintuxx how does your ESN looks on mobile phone (only frist 5 parts are interesting). I want to make sure that your ESN allows HD streams

wintuxx commented 5 years ago

NFANDROID1-PRV-T-L3-HUAWEICLT-L29

peak3d commented 5 years ago

With the ESN above (not correct build from kodi addons) you only get SD streams. Because your device is HD capable (refering to netflix site), pls. change the ESN to the one you can find in the official netflix app (the leading long number sting is not necessary, but you'll have to xchange the T-L3 with that from official app. After changing, try to play a movie, if it fails, restart kodi and try again.

wintuxx commented 5 years ago

The ESN I postet is from Kodi Netflix Addon on a Huawei p20 pro

I have enter the ESN from the official app: NFANDROID1-PRV-P-HUAWEICLT-L29

still 520p ond my Huawei P20 pro

peak3d commented 5 years ago

Sometimes it is necessary to remove msl_data.json from the device.

or, alternatively, remove the file using your file browser on android phone.

After starting kodi again (with the -P- esn, the manifest should provide HD conent, would be interesting, if it is playable.

wintuxx commented 5 years ago

I have it deleted

gesendet mobil

Markus Pfau notifications@github.com schrieb am Do., 15. Aug. 2019, 16:49:

Sometimes it is necessary to remove msl_data.json from the device.

  • terminate kodi
  • using adb: adb shell find /sdcard/ -name msl_data.json rm [found file)

or, alternatively, remove the file using your file browser on android phone.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CastagnaIT/plugin.video.netflix/issues/152?email_source=notifications&email_token=AIYSCG27I7T2TCZSDBH6EFTQEVUITA5CNFSM4IJUCTQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4MASTA#issuecomment-521668940, or mute the thread https://github.com/notifications/unsubscribe-auth/AIYSCG55DIRNOY3Y5MGHZ43QEVUITANCNFSM4IJUCTQA .

wintuxx commented 5 years ago

I am now at my way home. I will try it in my wlan.

GemeenAapje commented 5 years ago

Where can I find the msl_data.json file? I have ES Explorer but no other way of managing my Shield file system. The search doesn't work, it's total crap. But if you can tell me the exact location I can try deleting it.

I also don't have the hotfix available yet as they are not accepting new devices for the beta programme :-(

I've set the ESN as in my netflix app, but still only seeing 720

Thanks

wintuxx commented 5 years ago

/android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.netflix

gesendet mobil

GemeenAapje notifications@github.com schrieb am Do., 15. Aug. 2019, 17:32:

Where can I find the msl_data.json file? I have ES Explorer but no other way of managing my Shield file system. The search doesn't work, it's total crap. But if you can tell me the exact location I can try deleting it.

I also don't have the hotfix available yet as they are not accepting new devices for the beta programme :-(

I've set the ESN as in my netflix app, but still only seeing 720

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CastagnaIT/plugin.video.netflix/issues/152?email_source=notifications&email_token=AIYSCGYWSMIMLCQ4WLBENNLQEVZJFA5CNFSM4IJUCTQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4MEPUI#issuecomment-521684945, or mute the thread https://github.com/notifications/unsubscribe-auth/AIYSCG22VI4C7C2NF7BJIFTQEVZJFANCNFSM4IJUCTQA .

wintuxx commented 5 years ago

Sometimes it is necessary to remove msl_data.json from the device.

* terminate kodi

* using adb:
  adb shell
  find /sdcard/ -name msl_data.json
  rm [found file)

or, alternatively, remove the file using your file browser on android phone.

After starting kodi again (with the -P- esn, the manifest should provide HD conent, would be interesting, if it is playable.

Video does not start.

peak3d commented 5 years ago

Select "Stream Selection" manual in inputstream.adaptive settings to force the addon to start with the lowest available stream (SD), it should start. I expect that stream stops playing if you select an > SD stream in kodi settings while stream is playing (click on running movie, select settings icon in bottom video nav, and goto video streams. There you can choose other resolutions)

wintuxx commented 5 years ago

Screenshot_20190815_195632_org xbmc kodi

peak3d commented 5 years ago

Pls. disable VP9 codec in netflix addon settings, restart kodi and try again Beside this it looks that streamselection in inputstream.adaptive settings is still "auto", but it should be manual.

wintuxx commented 5 years ago

Screenshot_20190815_202850_org xbmc kodi

wintuxx commented 5 years ago

Screenshot_20190815_203024_org xbmc kodi

wintuxx commented 5 years ago

Only 720p is not working

CastagnaIT commented 5 years ago

disable VP9! and enable HEVC

wintuxx commented 5 years ago

Screenshot_20190815_204925_org xbmc kodi

wintuxx commented 5 years ago

No video are running.

Screenshot_20190815_205256_org xbmc kodi Screenshot_20190815_205316_org xbmc kodi