2012-10-15, 01:23
and just be sure you have version 0.1.2, not 0.1.1 because I had the same error till I updated.
(2012-10-14, 20:44)smartguy123 Wrote: This something I do not know whether International League is available in Canada or not?
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).
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"
(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"
(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
apollo@apollo:~/.xbmc/addons/plugin.video.nba$ cat changelog.txt
Changelog:
0.1.2- fix for 2012 preseason
],[{"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"
],[{"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"
(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.
(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.
(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".