maxgalbu / xbmc.plugin.video.nba

Kodi plugin to watch NBA games with nba league pass
GNU General Public License v3.0
50 stars 43 forks source link

NBA games from last nights didn't play #76

Closed furkyto closed 6 years ago

furkyto commented 6 years ago

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

maliapac commented 6 years ago

Same problem here, any news or fix?

mkorganashvili commented 6 years ago

stream type has changed

maliapac commented 6 years ago

Is there any way to fix it?

mkorganashvili commented 6 years ago

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

maliapac commented 6 years ago

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

mkorganashvili commented 6 years ago

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

furkyto commented 6 years ago

What is leia ?

dikri commented 6 years ago

Sister of Luke ;)

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

furkyto commented 6 years ago

yeah i see , thank you

maliapac commented 6 years ago

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

ivankokan commented 6 years ago

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 commented 6 years ago

image Yeah, just made it!

ivankokan commented 6 years ago

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

mkorganashvili commented 6 years ago

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

furkyto commented 6 years ago

It give me imputstream.adaptive is missing on your install

maliapac commented 6 years ago

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 commented 6 years ago

@furkyto which version of kodi do you use?

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

maliapac commented 6 years ago

kodi.log @mkorganashvili - here is the log.

cablegoon commented 6 years ago

Im getting the same error - condensed games work in SD

I will post the log if need be

kuosu commented 6 years ago

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 commented 6 years ago

May be android has some problems, I'll check

mkorganashvili commented 6 years ago

screenshot_20180329-131325_chrome Bad news for android users :/

maliapac commented 6 years ago

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

mkorganashvili commented 6 years ago

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

maliapac commented 6 years ago

@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 commented 6 years ago

@maliapac does release version work for old games?

maliapac commented 6 years ago

@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 commented 6 years ago

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 commented 6 years ago

@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 commented 6 years ago

@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 commented 6 years ago

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

mkorganashvili commented 6 years ago

image

mkorganashvili commented 6 years ago

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 commented 6 years ago

Is there any way to make it with apple userAgent ?

mkorganashvili commented 6 years ago

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

furkyto commented 6 years ago

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

mkorganashvili commented 6 years ago

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

mkorganashvili commented 6 years ago

Just tried xbox one userAgent and 6000kbps is available

maliapac commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

jaydee73 commented 6 years ago

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 commented 6 years ago

@mkorganashvili can i ask you some questions on private ?

mkorganashvili commented 6 years ago

@furkyto sure

furkyto commented 6 years ago

where ? would you give me skype

mkorganashvili commented 6 years ago

mkorganashvili is my skype : ))

akulagr commented 6 years ago

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 commented 6 years ago

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

furkyto commented 6 years ago

ffmpeg is not supported

furkyto commented 6 years ago

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