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

Fire TV 4K quits when video should play #176

Closed
xciser77 opened this issue Aug 1, 2018 · 19 comments
Closed

Fire TV 4K quits when video should play #176

xciser77 opened this issue Aug 1, 2018 · 19 comments

Comments

@xciser77
Copy link

xciser77 commented Aug 1, 2018

I was trying the netflix plugin for kodi 18. I can login and select a video, but when it shouls start Kodi quits to the main menu of the Fire TV. I posted it on the plugin page, but they mentioned its a issue of the inputstream:
I'm submitting a ...

x bug report

General information

I installed a clean nightly of Kodie 18 and the latest plugin version (0.13.10). I can login, can select a video, but when i supposed to start Kodi quits and I get the main screen of the amazon fire tv.
Prerequisites

Are you running the latest version? Yes

Description
Kodi quits when video is supposed to start
Steps to Reproduce

Start Netflix plugin
Select Account
Select video to play

Expected behavior: [What you expected to happen]
I expect the video to start playing

Actual behavior: [What actually happened]
Kodi quits to the main menu of the Fire TV
Context (Environment)

Amazon Fire TV 4K, Fire OS 5.2.6.3
Kodi 18 build 30-7
Plugin 0.13.10
Installation

Did a clean install of Kodi 18 and only installed the Netflix plugin
I´m using the Netflix Repo

Operating System
Android

Additional information on the environment

I am using a Fire TV 4K from 2017 with the 32 bits version Kodi 18
The Inputstream version is 2.2.24
kodi.log

@MRLB
Copy link

MRLB commented Aug 4, 2018

No inputstream Works anymore. Dazn, ESPlayer, Telekom Sport. Every Addon which use inputstream crashed unfortunately on FireTV now

@jecaho
Copy link

jecaho commented Aug 12, 2018

same issue here with amazon fire stick tv (basic edition), when i try to play a video kodi quit.
i notice that with kodi 18 alpha 1 i am able to play a video, but when i try to forward the video stop playing

@MRLB
Copy link

MRLB commented Aug 18, 2018

Is there and solution?

@dontknowcris
Copy link

dontknowcris commented Aug 27, 2018

Same issue with dazn addon. On Fire TV Stick, kodi 18 alpha 1 works properly, from alpha 2 to beta 1, the program crashes when trying to play a content

@JinRonin
Copy link

I think it would be good if anyone can check when exactly this issue starts and what the latest working kodi 18 nightly / inputstream adaptive version is. Please post debug and crash log aswell.

@dontknowcris
Copy link

I can't post debug and crash log because I can't find them on Fire TV Stick.
Btw, the working version of kodi 18 is the alpha 1 with inputstream adaptive 2.1.13 and rtmp input 2.0.3, with all the version after first alpha the program crashes trying to open a stream

@dontknowcris
Copy link

To understand if crash problems are related to versions of kodi after alpha 1 or inputstream addon, it would be good having the inputstream zip 2.2.25 to install on alpha 1

@azbesthu
Copy link

azbesthu commented Aug 28, 2018

java.lang.NoSuchMethodError: no non-static method "Landroid/media/MediaDrm$KeyRequest;.getRequestType()I"

Useful logs can be found here, I saw similarlog with different affected addon:
asciidisco/plugin.video.netflix#433 (comment)

Because it works on AndroidTv 8, and Fire Tv stick based on Android 5.x, maybe it can be reproduce with any device that have 5.x system.

New inputstream.adaptive seems to have higher versioned dependencies that Kodi Leia Alpha1 had, so 2.2.25 seems to be incompatible with that.

And I guess this commit introduced the breaking change for Android 5.x / Fire Tv stick.
[Android] MediaDrm JNI
f1c71f9

aaand
Lollipop mr1 5.1 does not have getRequestType method:
https://github.com/aosp-mirror/platform_frameworks_base/blob/lollipop-mr1-release/media/java/android/media/MediaDrm.java

Marshmallow 6.0 implemented it first:
https://github.com/aosp-mirror/platform_frameworks_base/blob/marshmallow-dr-release/media/java/android/media/MediaDrm.java

@peak3d
Copy link
Contributor

peak3d commented Aug 30, 2018

@azbesthu
Copy link

azbesthu commented Aug 30, 2018

Is there similar check somewhere in inputstream.adaptive or in Kodi where you can select which wvdecrypter implementation to use on Android?

I'm asking because other addons are also trigger similar crash in Kodi and those are completly rely on inputstream.adaptive. E.g.:
https://github.com/billsuxx/plugin.video.hbogohu/blob/master/addon.py

@peak3d
Copy link
Contributor

peak3d commented Aug 30, 2018

It's very unlikely that other addons trigger this code place.
We're talking here about a DRM CryptoSession which uses DRM to encrypt / decrypt HTTP messages.

This path is completely separate to inputstream.adaptive, it's a direct addon <-> kodi communication.
Sure it can be checked in kodi itself (yes, its safer) but would not help for Netflix. It must be fixed there in a first place, regardless if kodi has a check included and fails creating the CryptoSession

@peak3d
Copy link
Contributor

peak3d commented Aug 30, 2018

Wait, just seen that getKeyRequestType is used in wvdecrypter too, but only for logging.
Sure, no problem to remove it there

@peak3d
Copy link
Contributor

peak3d commented Aug 30, 2018

997abf6

@peak3d peak3d closed this as completed Aug 30, 2018
@dontknowcris
Copy link

How can I check if the problem has been solved with this correction? Is there a zip that I can use to test or do I have to wait for kodi beta2?

@peak3d
Copy link
Contributor

peak3d commented Aug 30, 2018

You can try tommorow kodi 18 nightly from our download section

@dontknowcris
Copy link

OK, thank you so much

@dontknowcris
Copy link

It works with vod, kodi doesn't crash. Tonight I Will try with live events

@azbesthu
Copy link

Thank you, kodi-20180830-af7276ca-master-armeabi-v7a.apk works fine with unofficial hbo go hungary addon :)

@dontknowcris
Copy link

dontknowcris commented Sep 3, 2018

sorry if I cannot post any crash logs here, but I cannot find them on the fire tv stick
by the way, at this time, kodi always crash at the same time in some streams running on dazn addon.
when I try to watch a football match on demand, the match starts without any problem, but after some minutes there's a buffering and the video freezes. if I try to stop the playback and going back to football matches list, then kodi crashes and goes back to the home of fire tv. and if I try to play again the same vod, the video always freezes at the same point then the previous one
same issue with live events (obviously in this case, the crash moment is different, depending on when I try to play a match)

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

7 participants