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

NBA games from last nights didn't play #76

Closed
furkyto opened this issue Mar 23, 2018 · 57 comments
Closed

NBA games from last nights didn't play #76

furkyto opened this issue Mar 23, 2018 · 57 comments

Comments

@furkyto
Copy link

furkyto commented Mar 23, 2018

I think that they put new encryption to all the game last night

@maliapac
Copy link

Same problem here, any news or fix?

@mkorganashvili
Copy link

stream type has changed

@maliapac
Copy link

Is there any way to fix it?

@mkorganashvili
Copy link

Stream is in mpd format now. For the quick research, not supported on kodi :(

@maliapac
Copy link

That's a new one. :) hopefully, they'll add support on Leia.

@mkorganashvili
Copy link

Leia is not coming out any time soon. And also mod is not supported yet. Hope they will add before release

@furkyto
Copy link
Author

furkyto commented Mar 24, 2018

What is leia ?

@dikri
Copy link

dikri commented Mar 24, 2018

Sister of Luke ;)

I don't know ist, but I think it is the new nickname of the next kodi release

@furkyto
Copy link
Author

furkyto commented Mar 24, 2018

yeah i see , thank you

@maliapac
Copy link

We can only hope that the support for that format will be added in any of the next kodi releases.

@ivankokan
Copy link
Contributor

It should be possible to do it (https://github.com/peak3d/inputstream.adaptive), and I'm working on this - no guarantee I will make it. Please, don't comment things are not working anymore as we are all aware of it, and know what has changed.

@mkorganashvili
Copy link

image
Yeah, just made it!

@ivankokan
Copy link
Contributor

@mkorganashvili I am very curious to see your commit (how far I am/was)!

@mkorganashvili
Copy link

@ivankokan It will take time to finish the work. Just found the way to play mpd.

@furkyto
Copy link
Author

furkyto commented Mar 28, 2018

It give me imputstream.adaptive is missing on your install

@maliapac
Copy link

Thank you for your effort. I really appreciate what you're trying to do @mkorganashvili.

I've tried your install, but I still can't get the games to go. only condensed games work.

@mkorganashvili
Copy link

@furkyto which version of kodi do you use?

@maliapac my pleasure ))
Can you post the log?

@maliapac
Copy link

kodi.log
@mkorganashvili - here is the log.

@cablegoon
Copy link

cablegoon commented Mar 28, 2018

Im getting the same error - condensed games work in SD

I will post the log if need be

@kuosu
Copy link

kuosu commented Mar 28, 2018

Hi guys,
I also tried to run the latest fix, but without success. Kodi 17.6, Android 6.0.1 (sony tv). Before playing the game first time after installation, Kodi asked me to activate inputstream.adaptive. Anyway it failed moments later. Example part of my log is here: https://pastebin.com/t5bifTKy

@mkorganashvili
Copy link

May be android has some problems, I'll check

@mkorganashvili
Copy link

screenshot_20180329-131325_chrome
Bad news for android users :/

@maliapac
Copy link

So it seems we'll have to wait until K18 for nba through Kodi. Thank you again for your effort @mkorganashvili

@mkorganashvili
Copy link

@maliapac or you can try nightly builds of k18.
You are welcome, I wish I could help you : )

@maliapac
Copy link

@mkorganashvili I've just tried it on K18, it doesn't open the list of games so I don't know if decryption works. it gives me an error when I'm opening a list of games. Error: [Errno: 22]: Invalid argument

@mkorganashvili
Copy link

@maliapac does release version work for old games?

@maliapac
Copy link

@mkorganashvili if by release edition you mean nightly, no it doesn't. same error as yours. If you mean master's edition, I've just tried it. List does, it lists the games ok, but when I click to start the playback it seems like it will start, even a play sign on the top is shown, but then it stops with the "playback failed" message.

@furkyto
Copy link
Author

furkyto commented Mar 29, 2018

In kodi 18.0 with this release https://mirrors.kodi.tv/nightlies/windows/win64/master/ from 28.03 and your zip file of the nba plugin , the old game from past season start and the games from last night start too but the quality is bad and can't change it

@mkorganashvili
Copy link

@maliapac I mean master. If there is problem with my version, then logs will be welcome : )

@furkyto quality is really poor, I guess there is problem with inputstream.adaptive plugin. I'll post the problem there.

@ThulsaD00M
Copy link

ThulsaD00M commented Mar 29, 2018

@mkorganashvili
Regarding the poor qualitiy: Good qualitiy is right there...nothing is wrong with the inputstream.adaptive. It is just a problem in games.py. Archived games are not openend the way, as live-games are. I have just finished watching the Lakers-Mavericks game from last night in 720p (@29.97fps). All i had to do, is change the device clock (my device is a x86 machine running libreelec with kodi 17.6) back to 02:30am local time (Germany). By doing this, under Live Games within your pachted addon (i downloaded your .zip) the games from last night show up (again) and then i chosed the home/away feed. The Submenu then is to go live or start from the beginning. I selected start for beginning and the game just played fine in HD-Quality!

You can try yourself.

The Addon is simply erasing the live Games 4 hours after starting time. By changing the clock backwards, you can bring them back on!

Now, all you (ore someone else) have to do, is looking in the games.py and figure out, how the live-games (and the just finished games) are opened and paste this method to the archived games. I´m to stupid (it seems! :-) )

Everthing will be fine then.

In case you still got problems with the qualitiy, you may have to set the inputstream.adaptive up the right way...i can help you guys!

@mkorganashvili
Copy link

@ThulsaD00M there must be some coincidence. I can't really see the connection.

@mkorganashvili
Copy link

image

@mkorganashvili
Copy link

Good news!
Quality problem was caused by 'UserAgent'. Server sends low qualities for mobile devices. Now I changed it with chrome's UserAgent and quality is good!

You can take last version of my code

@furkyto
Copy link
Author

furkyto commented Mar 29, 2018

Is there any way to make it with apple userAgent ?

@mkorganashvili
Copy link

mkorganashvili commented Mar 29, 2018

@furkyto kodi can not play format apple does.
is it important?

@furkyto
Copy link
Author

furkyto commented Mar 29, 2018

i think that in apple user agent the quality will be as it was 60fps in 6000kbps

@mkorganashvili
Copy link

I see.
They are planing to add support of SAMPLE-AES and we can use apple again.
For now maximum bandwidth is 4500kbps

@mkorganashvili
Copy link

Just tried xbox one userAgent and 6000kbps is available

@maliapac
Copy link

I can confirm that android doesn't work on k18. List of games still unavailable Error: [Errno: 22] Invalid argument when I click either on live games or on archive games.

@maliapac
Copy link

NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed
13:05:17.600 T:18446744071942699296 NOTICE: ADDON: script.module.parsedom v2.5.2 installed
13:05:17.600 T:18446744071942699296 NOTICE: ADDON: metadata.artists.universal v4.1.0 installed
13:05:17.600 T:18446744071942699296 NOTICE: ADDON: xbmc.python v2.25.0 installed
13:05:17.601 T:18446744071942699296 NOTICE: ADDON: metadata.common.imdb.com v3.0.3 installed
13:05:17.601 T:18446744071942699296 NOTICE: ADDON: xbmc.addon v17.9.701 installed
13:05:17.602 T:18446744071942699296 NOTICE: ADDON: pvr.hts v4.2.13 installed
13:05:17.602 T:18446744071942699296 NOTICE: ADDON: script.module.metadatautils v1.0.19 installed
13:05:17.602 T:18446744071942699296 NOTICE: ADDON: script.module.metahandler v3.0.3 installed
13:05:17.706 T:18446744071922252064 ERROR: EXCEPTION: XBMC is not playing any file
13:05:19.249 T:18446744071935969568 WARNING: CSettingsManager: unable to read value of setting "debug"
13:05:19.249 T:18446744071935969568 WARNING: CSettingsManager: unable to read value of setting "local_timezone"
13:05:19.249 T:18446744071935969568 WARNING: CSettingsManager: unable to read value of setting "scores"
13:05:19.250 T:18446744071935969568 WARNING: CAddonSettings[plugin.video.nba]: failed to load value "true" for setting debug
13:05:19.250 T:18446744071935969568 WARNING: CAddonSettings[plugin.video.nba]: failed to load value "true" for setting local_timezone
13:05:19.250 T:18446744071935969568 WARNING: CAddonSettings[plugin.video.nba]: failed to load value "false" for setting scores
13:05:20.902 T:18446744071941654816 ERROR: EXCEPTION: XBMC is not playing any file
13:05:22.463 T:18446744071844038944 ERROR: Previous line repeats 1 times.
13:05:22.464 T:18446744071844038944 WARNING: CSettingsManager: unable to read value of setting "debug"
13:05:22.464 T:18446744071844038944 WARNING: CSettingsManager: unable to read value of setting "local_timezone"
13:05:22.464 T:18446744071844038944 WARNING: CSettingsManager: unable to read value of setting "scores"
13:05:22.464 T:18446744071844038944 WARNING: CAddonSettings[plugin.video.nba]: failed to load value "true" for setting debug
13:05:22.464 T:18446744071844038944 WARNING: CAddonSettings[plugin.video.nba]: failed to load value "true" for setting local_timezone
13:05:22.464 T:18446744071844038944 WARNING: CAddonSettings[plugin.video.nba]: failed to load value "false" for setting scores
13:05:22.930 T:18446744071941654816 ERROR: EXCEPTION: XBMC is not playing any file

@mkorganashvili
Copy link

@maliapac addon has problem reading the settings. May be you should try to reinstall the addon

@jaydee73
Copy link

Also runs on MAC OS X with K18 and the latest addon from mkorganashvili.

Anyone had luck with Android and K18? @maliapac: Any news?

@furkyto
Copy link
Author

furkyto commented Mar 30, 2018

@mkorganashvili can i ask you some questions on private ?

@mkorganashvili
Copy link

@furkyto sure

@furkyto
Copy link
Author

furkyto commented Mar 30, 2018

where ? would you give me skype

@mkorganashvili
Copy link

mkorganashvili is my skype : ))

@akulagr
Copy link

akulagr commented Mar 31, 2018

Hello @mkorganasvili I've been testing the last version of your code on Android with K18. The problem that I'm having is that I get no picture whatsoever when I try to play a game (either live or archive). the stream starts but i only get audio and a black screen. I already fiddled around with video processing settings and inputstream adaptive settings to no avail. do you happen to have any suggestions to get this working?
appreciate the work you are doing keeping the add on running.

@mkorganashvili
Copy link

Hello @akulagr. I'm guessing this is the problem of inputstream.adaptive. Maybe we should ask to them for the help

@furkyto
Copy link
Author

furkyto commented Apr 1, 2018

ffmpeg is not supported

@furkyto
Copy link
Author

furkyto commented Apr 1, 2018

@mkorganashvili i send you invitation in skype but you aren't accept yet :) , i'm furkyto on skype

@akulagr
Copy link

akulagr commented Apr 1, 2018

@furkyto So that means there's no way to make it work on android with K18?

@mkorganashvili
Copy link

It can be played, there must be a bug in the addon

@irandhal
Copy link

irandhal commented Apr 4, 2018

same issue here, on android system (nvidia shield TV). Is there any chance to fix the issue before playoff ? the official NBA App for android TV sucks, and i really miss kodi's addon. How can i help ? (logs ? try kodi 18 ?)

@RolandasOnGithub
Copy link

Does latest master still have stream quality issue? Tried changing quality settings does not have any effect. (Ubuntu 16.04.4 LTS, Kodi 17.6). Should I change userAgent?

@mkorganashvili
Copy link

@pi-iuselinux-lt userAgent is already changed. I had bed quality played only once and tried to stop and play the game again. it helped

@RolandasOnGithub
Copy link

@mkorganashvili Thanks, works like a charm on my laptop (Kodi 17.6, Ubuntu amd64), quality is much improved. For some reason, same version of Kodi is crashing on my Desktop, I will test RPI3 with OSMC latter.

@maxgalbu
Copy link
Owner

Closing since @mkorganashvili fixed it. Download latest release from https://github.com/maxgalbu/xbmc.plugin.video.nba/releases

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