Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
beardie79 opened this issue Aug 6, 2019 · 246 comments
Closed
3 tasks done

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

beardie79 opened this issue Aug 6, 2019 · 246 comments

Comments

@beardie79
Copy link

beardie79 commented Aug 6, 2019

I'm submitting a ...

  • bug report

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

  • I'm using this Netflix Repo

Operating System

  • Android
@beardie79 beardie79 changed the title Shield v8.0.,0 (Pie) killed Kodi Netflix Shield v8.0.0 (Pie) killed Kodi Netflix Aug 6, 2019
@wintuxx
Copy link

wintuxx commented Aug 6, 2019

Hi,
i got the same problem, but it is not a issue from netflix addon.
it is an issue from inputstream i think.

xbmc/inputstream.adaptive#293

@HDGuy
Copy link

HDGuy commented Aug 6, 2019

Hi,
i got the same problem, but it is not a issue from netflix addon.
it is an issue from inputstream i think.

peak3d/inputstream.adaptive#293

The Amazon Inputstream addon still works for me after the Shield 8.0 update but like everyone else the Netflix addon no longer works.

@Smeulf
Copy link

Smeulf commented Aug 6, 2019

killed

Stalls on loading

no longer works

That's not a very large description of the problem. Any error message? How does it behave?
How is it broken?

Please can someone install "DRM Info" and tell us what is Windevine CDM Security Level?

Can you provide debug logs with no extra component logged for now?

What's your setup regarding VP9 and HEVC?

Help us so we can help you. Without logs and proper description of the issue, there's no way we can understand the problem!

@HDGuy
Copy link

HDGuy commented Aug 7, 2019

I'm surprised you guys don't have a Shield, as it's probably one of the most used platforms for Kodi.

In any event:

Widevine CDM Security Level- L1

As far as VP9 and HEVC I've tried it every possible combination. Enabled and disabled, same result.

For some reason for 4k content I only get 720x480p, even if I set it to manual I only have the 480p stream available (DD+ w/Atmos still works). For all other content (1080p and lower) it just buffers endlessly. Worked perfectly fine on Oreo before the Pie upgrade.

I will provide a log later.

@xnappo
Copy link

xnappo commented Aug 7, 2019

I think this is everyone with Shield and 8.0 starting at post 1399 here: https://forum.kodi.tv/showthread.php?tid=329767&page=94

I also tried every combination of settings, playback just results in endless starting playback symbol (skin dependent). If I set playback steam to manual, the very lowest setting does play(480p). Amazon plugin still works fine.

Log: https://pastebin.com/uCTBGbaE

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

@xnappo did you try to play a Netflix video on that log? I can't see any call to the play method...

@xnappo
Copy link

xnappo commented Aug 7, 2019

I thought the same thing :) I will try again.

@wintuxx
Copy link

wintuxx commented Aug 7, 2019

Hi,
i got the same problem, but it is not a issue from netflix addon.
it is an issue from inputstream i think.

peak3d/inputstream.adaptive#293

@Smeulf please look in my log I posted in the link above.

I have tried everything, but nothing let kodi play the Netflix video stream.

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

@wintuxx is it the log where the busy wheel stays on screen?

In the issue you opened at InputStream, you're referring to hardware acceleration.

Is it OMXPlayer and MMAL ? If so, can you please try disabling OMXPlayer and keep MMAL only?

Also in Kodi settings, player, it seems you have the refresh rate adjustment enabled (I may read the log wrong). Can you try to disable it?

There's no obvious error in the log, so for now pretty hard to tell where the problem is :/

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

Also @wintuxx, did you try disabling HEVC profiles? Enable VP9?

/!\ do not enable both HEVC and VP9 the same time.

@Dnkhatri
Copy link

Dnkhatri commented Aug 7, 2019

Also @wintuxx, did you try disabling HEVC profiles? Enable VP9?

/!\ do not enable both HEVC and VP9 the same time.

Shield does not support vp9 ver2 hardware acceleration so that didn't work even before the update

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

And what about H264?

@xnappo
Copy link

xnappo commented Aug 7, 2019

If I understand the question, I do not have H265 enabled, so should be H264.

@wintuxx
Copy link

wintuxx commented Aug 7, 2019

@wintuxx is it the log where the busy wheel stays on screen?

In the issue you opened at InputStream, you're referring to hardware acceleration.

Is it OMXPlayer and MMAL ? If so, can you please try disabling OMXPlayer and keep MMAL only?

Also in Kodi settings, player, it seems you have the refresh rate adjustment enabled (I may read the log wrong). Can you try to disable it?

There's no obvious error in the log, so for now pretty hard to tell where the problem is :/

yes

i will provide later new logs ... i will try all above options once with a single log for every option.

@wintuxx
Copy link

wintuxx commented Aug 7, 2019

@Smeulf

Kodi 18.3 fresh install
kodi.log
no settings changed (netflix question 4K: no, because I have only a 1080p TV)

In Kodi 18.3 there are no OMX and MMAL option in the player settings. Only MediaCodece(Surface) and MediaCodec . They both were active.

if i open a netflix video the busy wheel stays on screen.

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

@wintuxx in your fresh install, you have VP9 enabled, I think it can explain the "ERROR: CDVDVideoCodecAndroidMediaCodec::AddData error(-10000)" message.

@wintuxx
Copy link

wintuxx commented Aug 7, 2019

okay. i have a look.
wait i post its log without any other changes than disable vp9

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

@wintuxx no problem :) Thanks for helping and trying for me.

@wintuxx
Copy link

wintuxx commented Aug 7, 2019

it is also in my interest to know why the netflix addon does not work on my shieldtv
here the log
only VP9 deactivated
but no video and the busy wheel stays

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

Ok, I hate that error, 'cause for now I can't understand where it come from.

Can you please try: (don't post logs unless the "ERROR: CDVDVideoCodecAndroidMediaCodec::AddData error(-10000)" has disapear please)

  • Enable only MediaCodece(Surface)
  • Enable only MediaCodec
  • Disable both MediaCodecs (Pretty sure it won't work but worth a try)

If it still don't works, I'd like you to try with Kodi 18.1. Disable Kodi auto update in the PlayStore, and install this APK: http://mirrors.kodi.tv/releases/android/arm64-v8a/kodi-18.1-Leia-arm64-v8a.apk (hopefully it's the right one), same tests with MediaCodecs, all enabled, only one by one, and none.

Can someone lend me a Shield box ? :D kidding but would be so usefull...

@wintuxx
Copy link

wintuxx commented Aug 7, 2019

VP9 in netflix settings disabled
Enable only MediaCodece(Surface) no video, no sound
Enable only MediaCodec no video, no sound
Disable both MediaCodecs no video, but sound

@wintuxx
Copy link

wintuxx commented Aug 7, 2019

a fresh install with 18.1 no changes

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

For the record, the error looks very similar to this one #98 where we concluded a firmware issue was the root cause.

Doesn't mean we won't eventually find a way to make it work.

@robofunk
Copy link

robofunk commented Aug 7, 2019

I'm tempted to do a factory reset because that seems to have solved people's issues with the Official Netflix app and the Android Pie, but I can live without this add-on in the meantime.

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

@wintuxx @xnappo can you both please try with a trailer? Use context menu on a popular tv show and select 'trailers'.

I'll explain why later ^^

@Smeulf
Copy link

Smeulf commented Aug 7, 2019

@robofunk I was about to ask someone to do a factory reset. If you try, please keep us posted. But I fear it won't solve the issue... Worth a try, if you don't have much to loose.

@M2k80
Copy link

M2k80 commented Aug 7, 2019

maybe a logcat can help to see what happens...
i would give one, but actually on my shield when try to play a vid on netflix complete kodi is crashing. this began since i tried the some different setting in the netflix app, before it was like it discribed above here

@wintuxx
Copy link

wintuxx commented Aug 7, 2019

The Trailers are running.
Tried different series

@xnappo
Copy link

xnappo commented Aug 7, 2019

@Smeulf Will try trailers when home - but agree seems the same as #98 - I get the same no video with audio playing seen there with both mediacoders are disabled.

@M2k80
Copy link

M2k80 commented Oct 25, 2019 via email

@CastagnaIT
Copy link
Owner

@M2k80 i need to know if is working by using one of the two esn mentionated before

@Dnkhatri
Copy link

With file editing the settings I got 4k in both. Do i need to enter manually.

@CastagnaIT
Copy link
Owner

do not modify the esn manually by editing file!!
break the configuration with the server make wrong request
these tests are not useful

@peak3d
Copy link

peak3d commented Oct 25, 2019

@CastagnaIT NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV works with 4K.

For sure you can edit settings.xml manually, but you'll have to erase msl_data.json ( for asciidisco addon ) and restart kodi after editing.
Best is to edit / erase when kodi is not running.

@CastagnaIT
Copy link
Owner

thanks so now can understand what kind of changes to do to fix the automatic esn generation

@CastagnaIT
Copy link
Owner

Since everything is resolved, it's time to close the issue

@M2k80
Copy link

M2k80 commented Nov 11, 2019

@CastagnaIT but autodetection of ESN is still not working

Since everything is resolved, it's time to close the issue

@CastagnaIT
Copy link
Owner

better explained with examples

@M2k80
Copy link

M2k80 commented Nov 11, 2019

shield on pie will be autodetected with NFANDROID2-PRV-T-L3-NVIDIASHIELD=ANDROID=TV" but it should be NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV
so you still need to enter the esn manually to get it working.
kodi 18.4 latest nightly and Netflix plugin 0.15.8
deleted folder userdata\addon_data\plugin.video.netflix and started kodi and configured the plugin, stream start with SD quality - checked automaticly set esn and its NFANDROID2-PRV-T-L3-NVIDIASHIELD=ANDROID=TV - changed it manualy to NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV - 4k working again.
so autodetection is still not working

@CastagnaIT
Copy link
Owner

i need you save the list of configuration taken from the command "getprop" (with e.g. material terminal) in a file and send this to me

@CastagnaIT CastagnaIT reopened this Nov 12, 2019
@M2k80
Copy link

M2k80 commented Nov 12, 2019

hey, send you an email with my getprop

@CastagnaIT
Copy link
Owner

CastagnaIT commented Nov 12, 2019

ro.nrdp.modelgroup is missing in your device
are you using custom rom or rooted?

@M2k80
Copy link

M2k80 commented Nov 12, 2019

none of both, i am completely stock. and the problem with not working autodetection is for all shield since pie update.
just did a look at my huawei p30 pro and there this entry is missing too

@CastagnaIT
Copy link
Owner

do you can send me the getprop from huawei p30 pro?
and write also the ESN that working on p30

@CastagnaIT
Copy link
Owner

the esn of the P30 is generated exactly the P30 has no "tv" in "characteristics"

I could give it a try in this way, but i don't know if it could work with other devices,
you'd have to make a comparison

so, taken the ro.product.model and remove all spaces in order to obtain the missing text
NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV
before taken from ro.nrdp.modelgroup

@M2k80
Copy link

M2k80 commented Nov 12, 2019

before breaking others, wouldnt it be easier to hardcode the esn for the shield on pie and greater, so if it detect pie and nvidia shield, esn will be fixed set to this NFANDROID2-PRV-SHIELDANDROIDTV-NVIDISHIELD=ANDROID=TV and for all others the detection stays like it is?

@CastagnaIT
Copy link
Owner

it would be the easiest way but if possible we need to better understand the situation

@peak3d
Copy link

peak3d commented Nov 12, 2019

The asciidisco master branch has an "enhanced" esn detection, which handles the empty modelgroup.
https://github.com/asciidisco/plugin.video.netflix/blob/master/resources/lib/NetflixSession.py#L2115

@CastagnaIT
Copy link
Owner

CastagnaIT commented Nov 12, 2019

yes basically is same thing that i described above
but it's wrong implemented
breaks esn generation into L3 devices

@peak3d
Copy link

peak3d commented Nov 12, 2019

L3 devices with modelgroup not set?
Question is if there is a correct implementation without having DRM level on hand at the time esn is generated

@CastagnaIT
Copy link
Owner

asciidisco/plugin.video.netflix@a459b04#diff-e2a92efc40c3d710b84e78cca2e8dfbfR2110

in line 2110 check if there is the model in my smartphone the model exists
so instead to use T-L3- append the model name

@CastagnaIT
Copy link
Owner

CastagnaIT commented Nov 12, 2019

i can change the code in this way:

esn = ('NFANDROID2-PRV-' if has_product_characteristics_tv else 'NFANDROID1-PRV-')
if has_product_characteristics_tv :
   if nrdp_modelgroup:
         esn += nrdp_modelgroup + '-'
   else:
        esn += model.replace(' ', '').upper() + '-'
else:
    esn += 'T-L3-'

this way should be more suitable

@peak3d
Copy link

peak3d commented Nov 12, 2019

Makes sense. B.t.w. there is an intent xchange of ESN for devices, where netflix is pre-installed. One fires an intent to the netflix app, and the app fires then an intent with the full esn. Unfortunately there is no kodi python api for this.

@CastagnaIT
Copy link
Owner

that would be great yes...in this case we can't interface directly

@peak3d
Copy link

peak3d commented Nov 12, 2019

I'll look at this next, there are some other things in the pipeline first.

@CastagnaIT
Copy link
Owner

Exactly...
I don't know if you've seen
i have added a comment to
https://forum.kodi.tv/showthread.php?tid=348495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests