mbonsack wrote:
> -- for college basketball, I made a suggestion years ago to include the
> network (if the game was going to be on TV) for college basketball, as
> many times I would have no clue what network would be showing any given
> game. Will this info be retained for CBB in your upcoming fix? It
> would be cool to have this for college football too :-)
>
I would add the network info if it was available in the JSON data file,
but I can't find it. Here is a sample of a single CFB game's data. (CBB
has the same data file format) It looks like the place it would be is
the "network_logo" field, but that field is always blank. It does look
like I can add it to NFL and NBA games, but it is probably not needed as
much for those leagues.
Code:
--------------------
{
"id":"642876",
"conference":"all-conf pac-12 mountain-west",
"gameState":"final",
"startDate":"2015-09-12",
"startDateDisplay":"Sept. 12",
"startTime":"5:00 PM ET",
"startTimeEpoch":"1442091600",
"currentPeriod":"Final",
"finalMessage":"Final",
"gameStatus":"Final",
"periodStatus":"End",
"downToGo":"1ST AND 10",
"timeclock":"",
"network_logo":"",
"location":"California Memorial Stadium, Berkeley, CA",
"contestName":"",
"url":"/game/football/fbs/2015/09/12/san-diego-st-california",
"highlightsUrl":"",
"liveAudioUrl":"",
"gameCenterUrl":"/game/football/fbs/2015/09/12/san-diego-st-california",
"champInfo": { },
"videos":[
],
"scoreBreakdown":[
"1",
"2",
"3",
"4"],
"home": {
"teamRank":"0",
"iconURL":"/sites/default/files/images/logos/schools/c/california.70.png",
"name":"<a href='/schools/california'>California</a>",
"nameRaw":"California",
"nameSeo":"california",
"shortname":"CAL",
"color":"#00325b",
"social":{"twitter":{"keywords":["#calbears"],"accounts":{"ncaa":"ncaa_fb","athleticDept":"CalAthletics","conference":"pac12"}}},
"description":"2-0",
"currentScore":"35",
"scoreBreakdown":[
"0",
"14",
"14",
"7"],
"winner":"true"
},
"away": {
"teamRank":"0",
"iconURL":"/sites/default/files/images/logos/schools/s/san-diego-st.70.png",
"name":"<a href='/schools/san-diego-st'>San Diego
State</a>",
"nameRaw":"San Diego State",
"nameSeo":"san-diego-st",
"shortname":"SDSU",
"color":"#A81933",
"social":{"twitter":{"keywords":["#Aztecs"],"accounts":{"ncaa":"ncaa_fb","athleticDept":"GoAztecs","conference":"TheMWC"}}},
"description":"1-1",
"currentScore":"7",
"scoreBreakdown":[
"7",
"0",
"0",
"0"],
"winner":"false"
},
"tabs":
"/sites/default/files/data//game/football/fbs/2015/09/12/san-diego-st-california/tabs.json",
"tabsArray": [[
{"type":"recap", "title":"Recap",
"file":"/sites/default/files/data/game/football/fbs/2015/09/12/san-diego-st-california/recap.json"},
{"type":"boxscore", "title":"Box Score",
"file":"/sites/default/files/data/game/football/fbs/2015/09/12/san-diego-st-california/boxscore.json"},
{"type":"scoring-summary", "title":"Scoring",
"file":"/sites/default/files/data/game/football/fbs/2015/09/12/san-diego-st-california/scoringSummary.json"},
{"type":"team-stats", "title":"Team Stats",
"file":"/sites/default/files/data/game/football/fbs/2015/09/12/san-diego-st-california/teamStats.json"},
{"type":"play-by-play", "title":"Play-By-Play",
"file":"/sites/default/files/data/game/football/fbs/2015/09/12/san-diego-st-california/pbp.json"}
]],
"status": {},
"alerts": {"timestamp":"2015-09-12T23:52:21.329-04:00",
"upset":
0
,
"redzone":
0}
}
--------------------
------------------------------------------------------------------------
BoomX2's Profile: http://forums.slimdevices.com/member.php?userid=33529
View this thread: http://forums.slimdevices.com/showthread.php?t=14327
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins