• 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 82
NBA International League Pass - Add-on
and just be sure you have version 0.1.2, not 0.1.1 because I had the same error till I updated.
Reply
I checked it is version 0.1.2
Reply
(2012-10-14, 20:44)smartguy123 Wrote: This something I do not know whether International League is available in Canada or not?

You really crack me up
You wrote,

Quote:I have created the login.
This isn't enough > you need to subscribe to the NBA International League Pass (which isn't available in Canada or the US).
The archive and condensed games are available to subscribers only (only highlights are free > but I haven't adjusted the links for the new season, yet)




Reply
Hi,

I think I've found a small bug, I am trying to help isolate/confirm it but it may be something you can quickly check robla.

Using the 'Last Week' games list, it doesn't appear to be showing all the available games, i.e. some entries in this week's schedule.js ( "fs/nba/feeds/schedule/2012/10_15.js" ).

For example, this week it should show SAC@LAL, but in xbmc it is missing, along with another game from today. I can confirm the game is up and works from a browser going to watch.nba.com using my account etc.

I'm having some luck in debugging so far, it appears it loops through it but for some reason isn't adding it with addDir.

Hope that helps, let me know if more information is required. I'm trying my best to navigate your code and maybe help improve in it future.

Update:
- Noticing some games are not being added because they do not have var 'idx' set as 1,2,3,4 or 5 (approx line 170)
- I think this is because it's failing in the earlier for loop, "for y in tmp4..." (hard to interpret exactly what this does)
- The final check using pos = y.find(pattern) may be out of date? Can't seem to find that pattern string in the feed
- In the below, games SAS@ORL (line 1) and DEN@OKC(line 3) appear in the list, PHI@BOS(line 2) and SAC@LAL(line 4) are missing
- After spending a while learning the code and debugging it, initiating to a default value of idx='1' seemed to fix it as a hack, got to watch SAC@LAL so taking a break :-) Although I think that helps narrow this down to a parsing problem with the feed, rather than anything else.

Code:
17:03:45 T:2808261488  NOTICE:      NBA DEBUG:],[{"hs":104,"d":"2012-10-21T18:00:00.000","c":"","vs":100,"h":"ORL","id":"0011200085","v":"SAS","t":1,"s":2012,"p":4,"gs":3,"st":"2012-10-21T22:01:17.000","et":"2012-10-22T00:26:02.000","video"    :{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"},"ch":{"ipn":"v1"
17:03:45 T:2808261488  NOTICE:      NBA DEBUG:,{"hs":79,"d":"2012-10-21T19:30:00.000","c":"","vs":88,"h":"BOS","id":"0011200088","v":"PHI","t":1,"s":2012,"p":4,"st":"2012-10-21T23:31:19.000","gs":3,"et":"2012-10-22T01:59:43.000","video"        :{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"
17:03:45 T:2808261488  NOTICE:      NBA DEBUG:,{"hs":108,"d":"2012-10-21T20:00:00.000","c":"","vs":101,"h":"OKC","id":"0011200087","v":"DEN","t":1,"s":2012,"p":4,"st":"2012-10-22T00:00:00.000","gs":3,"et":"2012-10-22T02:20:00.000","video"        :{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"
17:03:45 T:2808261488  NOTICE:      NBA DEBUG:,{"hs":92,"d":"2012-10-21T21:30:00.000","c":"","vs":99,"h":"LAL","id":"0011200086","v":"SAC","t":1,"s":2012,"p":4,"st":"2012-10-22T01:39:02.000","gs":3,"et":"2012-10-22T04:06:51.000","video"        :{"f":{"bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"
Reply
(2012-10-22, 07:24)duckeo Wrote: Hi,

I think I've found a small bug, I am trying to help isolate/confirm it but it may be something you can quickly check robla.

Using the 'Last Week' games list, it doesn't appear to be showing all the available games, i.e. some entries in this week's schedule.js ( "fs/nba/feeds/schedule/2012/10_15.js" ).

For example, this week it should show SAC@LAL, but in xbmc it is missing, along with another game from today. I can confirm the game is up and works from a browser going to watch.nba.com using my account etc.

I'm having some luck in debugging so far, it appears it loops through it but for some reason isn't adding it with addDir.

Hope that helps, let me know if more information is required. I'm trying my best to navigate your code and maybe help improve in it future.

Update:
- Noticing some games are not being added because they do not have var 'idx' set as 1,2,3,4 or 5 (approx line 170)
- I think this is because it's failing in the earlier for loop, "for y in tmp4..." (hard to interpret exactly what this does)
- The final check using pos = y.find(pattern) may be out of date? Can't seem to find that pattern string in the feed
- In the below, games SAS@ORL (line 1) and DEN@OKC(line 3) appear in the list, PHI@BOS(line 2) and SAC@LAL(line 4) are missing
- After spending a while learning the code and debugging it, initiating to a default value of idx='1' seemed to fix it as a hack, got to watch SAC@LAL so taking a break :-) Although I think that helps narrow this down to a parsing problem with the feed, rather than anything else.

Code:
17:03:45 T:2808261488  NOTICE:      NBA DEBUG:],[{"hs":104,"d":"2012-10-21T18:00:00.000","c":"","vs":100,"h":"ORL","id":"0011200085","v":"SAS","t":1,"s":2012,"p":4,"gs":3,"st":"2012-10-21T22:01:17.000","et":"2012-10-22T00:26:02.000","video"    :{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"},"ch":{"ipn":"v1"
17:03:45 T:2808261488  NOTICE:      NBA DEBUG:,{"hs":79,"d":"2012-10-21T19:30:00.000","c":"","vs":88,"h":"BOS","id":"0011200088","v":"PHI","t":1,"s":2012,"p":4,"st":"2012-10-21T23:31:19.000","gs":3,"et":"2012-10-22T01:59:43.000","video"        :{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"
17:03:45 T:2808261488  NOTICE:      NBA DEBUG:,{"hs":108,"d":"2012-10-21T20:00:00.000","c":"","vs":101,"h":"OKC","id":"0011200087","v":"DEN","t":1,"s":2012,"p":4,"st":"2012-10-22T00:00:00.000","gs":3,"et":"2012-10-22T02:20:00.000","video"        :{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"
17:03:45 T:2808261488  NOTICE:      NBA DEBUG:,{"hs":92,"d":"2012-10-21T21:30:00.000","c":"","vs":99,"h":"LAL","id":"0011200086","v":"SAC","t":1,"s":2012,"p":4,"st":"2012-10-22T01:39:02.000","gs":3,"et":"2012-10-22T04:06:51.000","video"        :{"f":{"bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"


Hi duckeo,

you are little late to the party.. did you verify this on version 0.1.2 (install via Bluecop's repo)?
I fixed the parsing in version 0.1.1

A listing of last week showed all the games you said were missing :-)

BTW: sometimes the NBA is slow to set the archived game identifier ("ipd") and just shows the live identifier ("bb")... the idx is really necessary and you were lucky that in most times the "1" is the used index (needed to construct the correct rtmp link).

I am sorry, but the whole effort was around a month late. Nevertheless, thanks for caring, t

Reply
(2012-10-22, 17:59)robla Wrote: Hi duckeo,

you are little late to the party.. did you verify this on version 0.1.2 (install via Bluecop's repo)?
I fixed the parsing in version 0.1.1

A listing of last week showed all the games you said were missing :-)

BTW: sometimes the NBA is slow to set the archived game identifier ("ipd") and just shows the live identifier ("bb")... the idx is really necessary and you were lucky that in most times the "1" is the used index (needed to construct the correct rtmp link).

I am sorry, but the whole effort was around a month late. Nevertheless, thanks for caring, t

Hi Robla,

This was definitely on 0.1.2 from the repository (posted earlier that it fixed something else for me).
Code:
apollo@apollo:~/.xbmc/addons/plugin.video.nba$ cat changelog.txt
Changelog:
0.1.2- fix for 2012 preseason

I double checked again today (removed any changes I made) and it appears to be working, could it be there was a change to the feed over night? I'll keep an eye on it and see if it happens again.

Thanks again for great plugin, looking forward to this season!

PS - is there any documentation you can point me to about the structure of the NBA's feed?
Actually I had yesterday's feed in a text editor, there were some updates from the NBA in today's feed which might explain it, but it's subtle and I'm not sure how to interpret them.

Hopefully this is something that might help.

Feed as from yesterday (last 4 games only)
Code:
],[{"hs":104,"d":"2012-10-21T18:00:00.000","c":"","vs":100,"h":"ORL","id":"0011200085","v":"SAS","t":1,"s":2012,"p":4,"gs":3,"st":"2012-10-21T22:01:17.000","et":"2012-10-22T00:26:02.000","video":{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"},"ch":{"ipn":"v1"
,{"hs":79,"d":"2012-10-21T19:30:00.000","c":"","vs":88,"h":"BOS","id":"0011200088","v":"PHI","t":1,"s":2012,"p":4,"st":"2012-10-21T23:31:19.000","gs":3,"et":"2012-10-22T01:59:43.000","video":{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"
,{"hs":108,"d":"2012-10-21T20:00:00.000","c":"","vs":101,"h":"OKC","id":"0011200087","v":"DEN","t":1,"s":2012,"p":4,"st":"2012-10-22T00:00:00.000","gs":3,"et":"2012-10-22T02:20:00.000","video":{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"
,{"hs":92,"d":"2012-10-21T21:30:00.000","c":"","vs":99,"h":"LAL","id":"0011200086","v":"SAC","t":1,"s":2012,"p":4,"st":"2012-10-22T01:39:02.000","gs":3,"et":"2012-10-22T04:06:51.000","video":{"f":{"bb":"1"},"c":{"bb":"1","ipn":"v1"

Feed from today (last 4 games only)
Code:
],[{"hs":104,"d":"2012-10-21T18:00:00.000","c":"","vs":100,"h":"ORL","id":"0011200085","v":"SAS","t":1,"s":2012,"p":4,"gs":3,"st":"2012-10-21T22:01:17.000","et":"2012-10-22T00:26:02.000","video":{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"},"ch":{"ipn":"v1"
,{"hs":79,"d":"2012-10-21T19:30:00.000","c":"","vs":88,"h":"BOS","id":"0011200088","v":"PHI","t":1,"s":2012,"p":4,"st":"2012-10-21T23:31:19.000","gs":3,"et":"2012-10-22T01:59:43.000","video":{"f":{"ipd":"v2","bb":"2","ipn":"v2"},"c":{"ipd":"v1","bb":"1","ipn":"v1"},"ch":{"ipn":"v1"
,{"hs":108,"d":"2012-10-21T20:00:00.000","c":"","vs":101,"h":"OKC","id":"0011200087","v":"DEN","t":1,"s":2012,"p":4,"st":"2012-10-22T00:00:00.000","gs":3,"et":"2012-10-22T02:20:00.000","video":{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"},"ch":{"ipn":"v1"
,{"hs":92,"d":"2012-10-21T21:30:00.000","c":"","vs":99,"h":"LAL","id":"0011200086","v":"SAC","t":1,"s":2012,"p":4,"st":"2012-10-22T01:39:02.000","gs":3,"et":"2012-10-22T04:06:51.000","video":{"f":{"ipd":"v1","bb":"1","ipn":"v1"},"c":{"ipd":"v1","bb":"1","ipn":"v1"},"ch":{"ipn":"v1"
Reply
(2012-10-23, 00:46)duckeo Wrote: PS - is there any documentation you can point me to about the structure of the NBA's feed?
Actually I had yesterday's feed in a text editor, there were some updates from the NBA in today's feed which might explain it, but it's subtle and I'm not sure how to interpret them.

Hi,

there is no documentation.. I had to make sense of it myself... everything else would have been way too easy :-)
Sure, there are changes to the feed's data over time : the ipd and bb segments will be exchanged as the games are archived..
As I said before: it simply takes them some time (around 4hours) to move the games to the archive..
so it's no wonder games will be missing from the listing (on game day at least) as I only shown them when they are "certainly" available in the archive..
Reply
I have installed the bluec0p repo but the NBA app is showing as broken, is there an issue at the moment?

Great work by the way robla.
Reply
Any luck with the 3000k stream. It's free right now so you could get on the us stream an try and trace the hds path through your network.
Reply
Sad 
(2012-10-30, 05:15)cablegoon Wrote: Any luck with the 3000k stream. It's free right now so you could get on the us stream an try and trace the hds path through your network.

Sadly no.. xbmc still can't handle HDS (fragmented mp4)... only HLS is possible with xbmc.. as far as I know there is (still) no player/library for HDS .. and therefore the mlbhls approach with an external binary/tool won't work as well
Reply
(2012-10-29, 21:33)supadid Wrote: I have installed the bluec0p repo but the NBA app is showing as broken, is there an issue at the moment?

Great work by the way robla.

Same for me?

Reply
Tried watching a game today, didn't work.
Did anything change now the season started? I watched all the preseason games without a problem, but now i just get "playback failed".

Here are the log files (I see ERROR: Closing connection: NetStream.Play.StreamNotFound) in every attempt i've made to watch something.
Logs: https://dl.dropbox.com/u/212996/log-2012....02.48.zip

Reply
(2012-10-31, 16:15)threatlockz Wrote: Did anything change now the season started? I watched all the preseason games without a problem, but now i just get "playback failed".

sad news is that you are right.. the rtmp links seem to be down.. hope they are not down for good.. a few days will tell.. last year the HDS game links were taken down around 2 days after tip off.. and only the rtmp links remained.. time will tell
Reply
robla, first of all: great job with this addon!

the highlights videos urls seems to have changed for the new season as well.
any chance that this could be fixed rather easily and independent of the hds game link issues?
Reply
Having issues with this on OpenElec. After turning on debugging and trying to launch the most recent BOSMIA game here is what I get as an error.

PASTEBIN LINK: http://pastebin.ca/2247814



What do you think? Is it because the FLV has changed with the new season or is it my setup? I looked into upgrading the librtmp but I am on the newest openelec and the openelec guys think that they have the best build of it.

Let me know if it is librtmp issue and I will immediately switch to xbmcubuntu. Could you believe that they wont let me modify the root partition? That is wild and kind of messed up.
Reply
  • 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 82

Logout Mark Read Team Forum Stats Members Help
NBA International League Pass - Add-on6