maxgalbu / xbmc.plugin.video.nba

Kodi plugin to watch NBA games with nba league pass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can´t watch live in Fire tv stick

angus1225 opened this issue · comments

I´m a litlle bit lost since input.adaptative…
Just to know if someone could watch live games in kodi 17.6 in a firetv stick.
I can´t
It seems is going to start, but it dosn´t… doesnt show an error message.
Maybe something is missing in my installation… i dont know

commented

Thanks @MRLB for your answer.

i tryied with the new zip with the modified gmae.py like you suggested:
Go to /src/games.py
Change line 245 from
thumbnail_url = utils.generateCombinedThumbnail(v, h)
to
thumbnail_url = ""

but i didnt work.

can you explain it to me better? Maybe i dont understand it well…
Thanks

commented

You Need Kodi 18. Because of DRM it will not work with Kodi 17.6 anymore in Android

commented

I try this fix and work. But the fix have a problem... I put in config 720P 60FPS and 6000kbs of bitrate, but the stream always set 720P 30FPS and 3000Kbs. Any fix for this?? THX

I tried kodi 18 beta 4. Now I can hear the video but I can't see anything.
How do you make it @yzfr1 ?

commented

@angus1225. I downloaded the kodi 18 nightly yesterday. Modify the file games.py into the zip file. After install pluggin, configure and with archive game run ok. (i don't try full time, only a few minutes). Win64 kodi version.

@yzfr1, can you please try to generate debug log that contains the error in original code, so we fix it?

commented

Hi @ivankokan, i not receive error, i configure the video option for 720P 60FPS and when start stream, press "O" key to see info of stream and see than stream is 30FPS.

No, no, I referred on generateCombinedThumbnail part, not on 6000kbs/3000kbs. (I will concentrate on that later.)

Thanks @MRLB for your answer.

i tryied with the new zip with the modified gmae.py like you suggested:
Go to /src/games.py
Change line 245 from
thumbnail_url = utils.generateCombinedThumbnail(v, h)
to
thumbnail_url = ""

but i didnt work.

can you explain it to me better? Maybe i dont understand it well…
Thanks

I try this fix and work. But the fix have a problem... I put in config 720P 60FPS and 6000kbs of bitrate, but the stream always set 720P 30FPS and 3000Kbs. Any fix for this?? THX

Does it mean that you get the error with the official package? It would be great to get full log so we trace the issue.

commented

@ivankokan, ok then how create a log??. But i see for @angus1225 the fix not work, for me the fix works in archive game (live not tested).

@yzfr1 There are two (or even three) problems here:

  1. Issue with generateCombinedThumbnail part for which the games list is not generated at all.
    @MRLB provided a fix? for it but I would like to get the detailed log when the official package is used so we eventually detect what exactly was the problem.

  2. 6000kbs/3000Kbs - I experience that for some longer period (maybe even more than a year) but I was not bothered about it as my TV display is not so large. I will definitely concentrate on this one after we resolve the upper issue. But here we can at least say that plugin is working.

  3. @angus1225 hears audio part but does not see video part.

In order to resolve 1. and 3. we should get the detailed debug log. You can generate it this way:

Also, very useful information is what platform you use, processor architecture etc.

here's the log:
kodi.log
I did what @MRLB said on the firestick and I'm getting the same result as @angus1225. I hear the audio but no video. Hopefully someone can find a fix for this.

Issue 1. from my previous post:
No logs provided yet.

Issue 3. from my previous post:
Hi, @s00pecados. So you have the problem like @angus1225, can you install the suggested app (#83 (comment)) so we compare their Widevine certification levels?

I´m using the firestick version 2. It has Widevine L1 (I checked with the app).

Win 7 x6, Leia Beta 4 x64,not working.. What?

Error Type: <type 'exceptions.WindowsError'>
Error Contents: [Error 3] : 'C:\Users\\xd0\x90\xd0\xbb\xd0\xb5\xd0\xba\xd1\x81\xd0\xb5\xd0\xb9\AppData\Roaming\Kodi\cdm/.'
Traceback (most recent call last):
File "C:\Users\�������\AppData\Roaming\Kodi\addons\plugin.video.nba\main.py", line 9, in
from leaguepass import *
File "C:\Users\�������\AppData\Roaming\Kodi\addons\plugin.video.nba\src\leaguepass.py", line 80, in
playGame()
File "C:\Users\�������\AppData\Roaming\Kodi\addons\plugin.video.nba\src\games.py", line 322, in playGame
if is_helper.check_inputstream():
File "C:\Users\�������\AppData\Roaming\Kodi\addons\script.module.inputstreamhelper\lib\inputstreamhelper.py", line 763, in check_inputstream
return self._check_drm()
File "C:\Users\�������\AppData\Roaming\Kodi\addons\script.module.inputstreamhelper\lib\inputstreamhelper.py", line 734, in _check_drm
if not self._has_widevine():
File "C:\Users\�������\AppData\Roaming\Kodi\addons\script.module.inputstreamhelper\lib\inputstreamhelper.py", line 265, in _has_widevine
if self._widevine_path():
File "C:\Users\�������\AppData\Roaming\Kodi\addons\script.module.inputstreamhelper\lib\inputstreamhelper.py", line 108, in _widevine_path
for filename in os.listdir(cls._ia_cdm_path()):
WindowsError: [Error 3] : 'C:\Users\\xd0\x90\xd0\xbb\xd0\xb5\xd0\xba\xd1\x81\xd0\xb5\xd0\xb9\AppData\Roaming\Kodi\cdm/.'

@dwane3 Report it here: https://github.com/emilsvennesson/script.module.inputstreamhelper. (I would say that either the C:\Users\xd0\x90\xd0\xbb\xd0\xb5\xd0\xba\xd1\x81\xd0\xb5\xd0\xb9\AppData\Roaming\Kodi\cdm/ folder does not exist or that non-ASCII characters are the root cause.)

Also, let's keep this Issue thread only for Fire TV & live games, just as subject says.

Also, let's keep this Issue thread only for Fire TV & live games, just as subject says.

im getting these errors in regards to input stream
This is on a fire tv with the thumbnail edit and kodi v18
i now only get audio and no video

00:36:04.264 T:18446744072554752864 NOTICE: Creating InputStream
00:36:04.367 T:18446744072554752864 ERROR: AddOnLog: InputStream Adaptive: Key system request: com.widevine.alpha
00:36:05.728 T:18446744072506505032 NOTICE: PLEX.kodidb_functions: Did not find any file, abort

and

00:35:04.938 T:18446744072551645968 ERROR: AddOnLog: InputStream Adaptive: NAL Unit exceeds subsample definition (nls: 4) 15466 -> 42
00:35:04.939 T:18446744072551645968 ERROR: AddOnLog: InputStream Adaptive: Decrypt Sample returns failure!

OK, let me summarize the status:

  1. Thumbnail [Errno 22] Invalid argument issue is now being discussed and analyzed under #83.
  2. Bitrates are being discussed and analyzed under #89.

@angus1225, @s00pecados, @cablegoon Here we continue with Audio+ Video- issue.

@ivankokan, now that I'm using your fork which handles the PIL issues, I can attempt to play archived games. When I do so, I get only audio (no video; just black).
See logs: http://paste.kodi.tv/ijeqojuduy
Interesting stuff starts around line 4920.
It loosk like the same NAL/subsample issue mentioned by @cablegoon.

Thanks again for all of your help, and let me know if I can help debug this any further.

This issue might be relevant.

Yes, that's another issue for Android. Let's keep track of inputstream.adaptive...

ok - so I just got a sheild and am having the same issue - I believe its an input stream error and not PIL related but lets see

I have the same problem. I only get the audio. Any fixes? Android TV

Follow the inputstream.adaptive issue @joshjryan referenced.

hey guys
take a look at the "inputstream.adaptive"
forum for a solution .
I have it now showing video on chuwi hibook pro and cube iwork10 ( x86 atom , android 5.1 ) and mibox 3 ( amlogic s905x , androidtv 8.0 ) .
The issue is triggered by unexpected data structures that are valid , but look invalid to the addon .

It seems that the fix is available: xbmc/inputstream.adaptive#208. Please update your inputstream.adaptive, and test.

error update to version 2.3.13 in kodi from download zip,why?

@dwane3, try downloading the latest kodi nightly (instead of just updating inputstream.adaptive from the zip). The latest kodi nightly has the new release of inputstream.adaptive.
http://mirrors.kodi.tv/nightlies/android/arm/master/

working again after a year - looks like the update to inputstream fixed it
I guess we can close this now

@yzfr1 I guess you can close this one?

commented

@ivankokan yes, sorry, i think i make a mistake post where not applicate, I not see "Issue" site. Sorry!!!
Any solution to live games?

Close it there and read comments there as well.

@yzfr1, please close this one. If you still have some recent issues, please check whether #97, #98 or #99 help you before opening a new Issue.