2013-11-23, 20:50
(2013-11-23, 03:49)opelcalibra Wrote: hi all. thanks for this awesome addon!
there seems to be some time zone issue with live games.
i have xbmc showing live games but they are actually coming up in archived under todays date.
They appear ok but cannot be played at all. yesterdays games are fine.
in live games there is nothing at all, im guessing it has to do with time zones and possibly because Australia is a day ahead?
i took a look at the python code but could not see where this could be happening. any ideas?
Hi, thanks for the report. Could you go to
http://smb.cdnak.neulion.com/fs/nba/feed...3/11_18.js
and paste the response on pastebin.com, then post it here?
Here's mine as example:
http://pastebin.com/k0HiDeQQ
The problem here is the detection of live games is based on the "st" variable in the response. For example this is a game this weekend, which started on 03:41:17.000, and this date is correct for my timezone. I'd expect it to be correct in different timezone, but it appears not to be
PHP Code:
{
"hs": 102,
"d": "2013-11-22T22:30:00.000",
"c": "",
"vs": 95,
"h": "LAL",
"id": "0021300186",
"v": "GSW",
"t": 2,
"s": 2013,
"p": 4,
"gs": 3,
"st": "2013-11-23T03:41:17.000",
"et": "2013-11-23T06:02:32.000",
"video": {
"f": {
"andtab": "true",
"ipd": "true",
"bb": "true",
"ipn": "true",
"ced": "true",
"and": "true"
},
"c": {
"andtab": "true",
"ipd": "true",
"bb": "true",
"ipn": "true",
"ced": "true",
"and": "true"
}
}
}