Kodi Community Forum

Full Version: NBA International League Pass - Add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i got to revoke my opinion... watched some games the last days, there was the stallion/buffering problem again. Today installed the beta 1 of xbmc 13 (gotham)... but the same problems occur. A new version of ffmpeg is in there the release notes said.
So, I do not blame the addon, I try to find a solution.

In browsers (firefox, ie, chrome) there are no buffering problems, but I have sometimes tearing and a permanet little stuttering. Its not realy smooth! Thats the main reason for me that I try to find another way to look nba. So the League Pass Addon find the way to my XBMC. Very Nice addon! But with this buffering problem the fun is away. Sad Today I watched Miami vs Chicago (very good game by the way) with 3 friends. After 3 Minutes the permanent stuttering takes the fun away... Switching to XBMC, realy smooth, but buffering every 2-3 minutes. Fun is gone. My last resort: Connecting my tablet via HDMI to my TV and watching with the NBA Game Time App. Only 1200 kbps possible in the app, but without any stuttering or buffering.

So, the tablet is only connected via WLAN, all PC´s via LAN. The WLAN Signal issn´t very strong, but in theory the 720p streams only needs an 3000 kbit download! That are 300 Kbyte per seconds if I´m right?! Thats nothing.

Try to kill the tearing with the Aero Basic Theme... and the stuttering with a 30hz monitor configuration instead of 60 hz. I hope I find a possibility to watch NBA in a smooth and nice way like 2 years ago, when only DSL 1500 was available here and I downloaded the NBA games!
Hello,

I have XBMC frodo installed on my OSX with NBA league pass 0.1.5 and I get nothing streaming. No live games, replays, highlights. I'm a noob to this but if you point me in the right direction I'm sure I can read and figure this out . BTW I'm streaming from the US I don't know if that is a problem. thx in advance.
Has anyone else been having problems with the addon over the past few days?
It was working absolutely great on xbmc gotham beta1 (archive only, NBATV + Live was still broken) however one day it just suddenly stopped. No changes to my xbmc setup, no upgrades or installs.
I upgraded xbmc today to beta2 and I was hoping this would solve the problem however the problem remains.

Steps to reproduce.
Open Addon and browse Archived games.
Attempt to stream a game by picking a feed.
The feed seems to attempt to open, after which the loading box vanishes and you are returned to the menu (no video appears).

I have checked the xbmc log and there are errors... see below

00:04:52 T:3588 NOTICE: DVDPlayer: Opening:
00:04:52 T:3588 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
00:04:52 T:2640 NOTICE: Thread DVDPlayer start, auto delete: false
00:04:52 T:2640 NOTICE: Creating InputStream
00:04:52 T:2640 ERROR: perror:
00:04:52 T:2640 ERROR: Error on dvdnav_open
00:04:52 T:2640 ERROR: CDVDPlayer::OpenInputStream - error opening []
00:04:52 T:2640 NOTICE: CDVDPlayer::OnExit()
00:04:52 T:2640 NOTICE: CDVDPlayer::OnExit() deleting input stream
00:04:52 T:3588 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.nba/?url=0021301055%2Farchive%2F1&mode=playgame&name=Away+feed]
00:04:52 T:3588 NOTICE: CDVDPlayer::CloseFile()
00:04:52 T:3588 NOTICE: DVDPlayer: waiting for threads to exit
00:04:52 T:3588 NOTICE: DVDPlayer: finished waiting
00:04:52 T:3588 NOTICE: CDVDPlayer::CloseFile()
00:04:52 T:3588 NOTICE: DVDPlayer: waiting for threads to exit
00:04:52 T:3588 NOTICE: DVDPlayer: finished waiting
00:04:52 T:4616 NOTICE: Thread BackgroundLoader start, auto delete: false
00:04:52 T:3588 NOTICE: DVDPlayer: Opening: http://nlds120.cdnak.neulion.com/nlds_vo...0.mp4.m3u8
00:04:52 T:3588 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
00:04:52 T:3724 NOTICE: Thread DVDPlayer start, auto delete: false
00:04:52 T:3724 NOTICE: Creating InputStream
00:04:52 T:1348 NOTICE: Thread FileCache start, auto delete: false
00:04:52 T:3724 NOTICE: Creating Demuxer
00:04:52 T:3724 ERROR: CCurlFile::GetCookies - invalid cookie: '#HttpOnly_.wiziwig.tv TRUE / FALSE 1577145000 __ '
00:04:52 T:3724 ERROR: CCurlFile::GetCookies - invalid cookie: '.org TRUE / FALSE 1577145000 __c '
00:04:54 T:3724 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
00:04:54 T:3724 NOTICE: CDVDPlayer::OnExit()
00:04:54 T:3724 NOTICE: CDVDPlayer::OnExit() deleting input stream
00:04:54 T:3588 NOTICE: CDVDPlayer::CloseFile()
00:04:54 T:3588 NOTICE: DVDPlayer: waiting for threads to exit
00:04:54 T:3588 NOTICE: DVDPlayer: finished waiting
00:04:54 T:3588 NOTICE: CDVDPlayer::CloseFile()
00:04:54 T:3588 NOTICE: DVDPlayer: waiting for threads to exit
00:04:54 T:3588 NOTICE: DVDPlayer: finished waiting

Anyone have any idea whats wrong?
Given that the addon suddenly stopped working I can only assume something has changed on the nba servers?

Any advice welcome.

Thanks
Hi Kingsy,

Yes, the addon broke a few days ago. The NBA servers now use encryption for the HLS streams.

I prepared a version of the plugin that works with the new API and sent it to maxgalbu. The major changes are that it now only works with Gotham and for now we cannot change the video quality on the plugin (I guess everyone chose 720p anyway).

You can find the pull request here: https://bitbucket.org/maxgalbu/plugin.video.nba. If he doesn't get the time to release a new version in the next days I will create an "unofficial" zip. I want to avoid getting parallel releases as maxgalbu does a great job maintaining it :-)

Regards,
Petros.
Hi Petros,

Ahhh, It did seem as if something had changed on the nba servers that was causing the breakage.
That is absolutely awesome work!

It seems as of this morning the pull request is still pending and I am unable to create a .zip of the add-on with your pending changes at the moment. Would it be possible for you to create a temp .zip of the working addon? Something that I could use until the pull request is accepted?
As soon as it has been merged I will update the add-on back to maxgalbu's version.

The reason I ask is at the moment I am unable to watch any NBA, and with the season coming to a close its killing me. Haha.

Let me know
Thanks

Chris
Hi Chris,

I attached the "experimental" new version here: https://bitbucket.org/ptsampoukas/plugin.../downloads The archive and condensed games work for sure, please let me know if anything is broken.

Cheers,
Petros.
Hi Petros,

Great work on the new "unofficial" version. I installed it and I was able to watch an archived game.
However I did notice there was a few older games that I was unable to watch, these just returned errors. I didn't have time to take a look at the error log however I can try and get more information on those if that helps.
Another strange bug is when you open a stream there is a message that appears saying "Unable to open stream" or something similar however the video is playing perfectly in the background, you press ok, the video stream closes, you open it again and it plays perfectly with no message. This doesn't really matter because the stream works however I thought I would mention it. Note that this problem is not new in v0.6.6 , I am pretty certain it happened in 0.6.5 also.

If you need any help with testing I would be more than happy to assist, I am pretty happy with the version to be honest, it works which is all that matters at this point.

Thanks
Hi Chris,

Thanks for the feedback. About the videos that cannot be played, perhaps not all the videos have a version in the new format yet. Please send me the details of a video that doesn't work in a PM, if it fails consistently for you. I also get partial videos in the first hours they are released (I usually watch 2-3 hours after the game ends), but that's acceptable.

About the "One or more items failed to play" error: yes, it is an old bug. Look here (https://bitbucket.org/ptsampoukas/plugin...to_play.md ) if you are interested in the details. I sent a pull request with a fix to Max, and released another unofficial version here: https://bitbucket.org/ptsampoukas/plugin...oad-336830

Cheers,
Petros
Hi Petros,

I installed the new version yesterday and all is well. Even the LiveTV stream works! Which is great.
Do you think a version like this will carry over into next season? Are there usually many changes needed at the start of a season to keep the module running?
Well great work on updating and fixing the module!!!

Thanks

Chris
Hi Chris,

Thanks for your kind words :-)

I cannot know when the plugin will need an update again. The NBA controls the API and the delivery method changes - we are only reverse engineering it after it breaks.

It will be much more convenient for everyone if we add this plugin to the official XBMC repo. This way you can have automatic updates and avoid the discomfort of having to check the forum and bitbucket for a new version. I will talk to Max about it.

Regards,
Petros.
Hi anyone!

Might be kind of offtopic: Right now I am using my League Pass on my Notebook via Firefox, connecting it via HDMI to my TV. Hereby I am used to the full comfort of watching NBA which means for me 1080p and all additional functionality as watching 4 games simultaneously in split mode, having access to Highlights and far more - as you all may know.

Now I am considering to stop using my Notebook for this action as the plugging an the plugs are kind of nerving. But I am not quite sure which seems to be the best solution for me which ensures access to all the features and HD-quality.

Wouldn't it be the easiest way to access the nba.tv website via the browser on my XBMC to garantee not having to use plugs but preserving best quality and functions?

Thanks in Advance,
marcello
Hello,

I'm using this plugin for some time and I have two observations to make.

First these two last versions uploaded have again some problems with the time zone that maxgablu had sorted out. Yesterday for instance the spurs vs Golden state only appeared as live in the third quarter. I notice this for other games too.

Second, for the live games at random times the plugin stops playing the game and goes back to the main screen. If you click again in the game it comes with a message that it's not a valid link and sometimes invalid login. After brief seconds you click again and the game comes back. This is happening for me also when sending the game from the ipad to xbmc via air.

I can watch the game without problems in the ipad without sending to the xbmc or via the PC.

It seems that at least for me here in Brazil the live link to the game is changing at random times or the cookies to enable the stream.

I don't know if a log can be useful but I can provide it.

Thanks,

Marcelo Macedo.
Hi Marcelo Macedo,

Actually, the problem with the timezone is not caused by the latest version of the plugin. It is because the fix that maxgablu introduced did not take into account the summer time change (from EST to EDT). This is a good catch and it will be easy to fix.

About the problem with the playback - The plugin only gives the link to XBMC for playback. If for whatever reason the link is no longer valid (ex. if you login in any other way with your account) the playback will stop. Unfortunately, there is nothing we can do in the plugin to fix this.

Regards,
Petros
I went to try the unofficial version of this tonight, but i get a 'Failed to get video URL' link and then it says 'Are you logged in'?

I double checked my login, but no luck unfortunately. Is there an httplib2 I have to load as well? I currently have Gotham Beta 3, but the httplib2 file says 'dependencies not met' when I try to install it.

Any help would be great! Great work on putting this together

~J
Hi All,

My live games are crashing with Unable to open key file error below after playing for 2-3 minutes.. this happens all the time. Any Ideas?

12:08:57 T:3006626176 NOTICE: Using GL_TEXTURE_2D
12:08:57 T:3006626176 NOTICE: GL: Using VDPAU render method
12:08:57 T:3006626176 NOTICE: GL: NPOT texture support detected
12:08:57 T:3006626176 NOTICE: GL: Using GL_ARB_pixel_buffer_object
12:08:57 T:3006626176 DEBUG: GL: Vertex Shader compilation log:
12:08:57 T:3006626176 DEBUG: GL: Vertex Shader compiled successfully
12:08:57 T:3006626176 DEBUG: GL: Pixel Shader compilation log:
12:08:57 T:3006626176 DEBUG: GL: Fragment Shader compiled successfully
12:08:57 T:3006626176 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
12:08:57 T:2577492800 DEBUG: CDVDPlayer::HandleMessages - player started 2
12:08:57 T:2577492800 DEBUG: CDVDPlayer::SetCaching - caching state 0
12:08:57 T:2778671936 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:335.938108, should be:23220.065757, error:22884.127649
12:08:57 T:2555878208 NOTICE: VDPAU::COutput registered output surfaces
12:08:57 T:2778671936 NOTICE: Previous line repeats 3 times.
12:08:57 T:2778671936 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:132224.258757, should be:23220.065757, error:-109004.193000
12:08:57 T:2778671936 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:135531.961757, should be:33973.358153, error:-101558.603604
12:08:59 T:2577492800 DEBUG: ffmpeg[99A16B40]: [NULL] Current profile doesn't provide more RBSP data in PPS, skipping
12:08:59 T:2778671936 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:2077529.946153, should be:2056122.520416, error:-21407.425737
12:09:00 T:2852121408 NOTICE: service.libraryautoupdate-0.9.2 : Player is running, wait until finished
12:09:00 T:2577492800 DEBUG: ffmpeg[99A16B40]: [NULL] Current profile doesn't provide more RBSP data in PPS, skipping
12:09:01 T:2819099456 DEBUG: CPullupCorrection: detected pattern of length 1: 33366.67, frameduration: 33366.666667
12:09:03 T:2577492800 DEBUG: ffmpeg[99A16B40]: [NULL] Current profile doesn't provide more RBSP data in PPS, skipping
12:09:25 T:3006626176 DEBUG: Previous line repeats 8 times.
12:09:25 T:3006626176 INFO: CheckIdle - Closing session to http://nlds160.cdnak.neulion.com (easy=0xc1192f8, multi=0xa626a5c0)
12:09:26 T:2577492800 DEBUG: ffmpeg[99A16B40]: [NULL] Current profile doesn't provide more RBSP data in PPS, skipping
12:09:26 T:2596293440 DEBUG: Thread JobWorker 2596293440 terminating (autodelete)
12:09:28 T:2577492800 DEBUG: ffmpeg[99A16B40]: [NULL] Current profile doesn't provide more RBSP data in PPS, skipping
12:10:00 T:2852121408 DEBUG: Previous line repeats 12 times.
12:10:00 T:2852121408 NOTICE: service.libraryautoupdate-0.9.2 : Player is running, wait until finished
12:10:01 T:2577492800 DEBUG: ffmpeg[99A16B40]: [NULL] Current profile doesn't provide more RBSP data in PPS, skipping
12:11:00 T:2852121408 DEBUG: Previous line repeats 22 times.
12:11:00 T:2852121408 NOTICE: service.libraryautoupdate-0.9.2 : Player is running, wait until finished
12:11:03 T:2577492800 DEBUG: ffmpeg[99A16B40]: [NULL] Current profile doesn't provide more RBSP data in PPS, skipping
12:11:19 T:2577492800 DEBUG: Previous line repeats 4 times.
12:11:19 T:2577492800 DEBUG: ffmpeg[99A16B40]: [http] HTTP error 403 Forbidden
12:11:19 T:2577492800 ERROR: ffmpeg[99A16B40]: Unable to open key file http://nlsk.neulion.com/nlsk1/hls/secure...0.m3u8.key
12:11:26 T:2778671936 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
12:11:27 T:2819099456 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
12:11:27 T:2819099456 INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 29.970030 fps