SmartStats TV graphics
From Help.baskethotel.com
(→Remote reports) |
(→Local reports) |
||
Line 19: | Line 19: | ||
Host name can be replaced to address of scouters computer which runs TV graphics. | Host name can be replaced to address of scouters computer which runs TV graphics. | ||
- | * http://localhost/?report=match_info - main game information. | + | * http://localhost/?report=match_info - main game information. [[Media:G_match_info.xml|Result XML]] |
* http://localhost/?report=leaders | * http://localhost/?report=leaders | ||
* http://localhost/?report=score_development | * http://localhost/?report=score_development |
Revision as of 10:39, 7 December 2011
Contents |
Description of software
SmartStats TV Graphics is a software which reads SmartStats (software used by statistics operators to enter actions of a match) log file, transforms data in a way that is easier to parse for 3rd party applications, and outputs data in XML.
It is installed on scouters computer and have two sources of data - local log file, which is used for reading actions of current game, and our server, which outputs season data (standings, season leaders). So, if Internet connection is lost at the arena, TV application still operates on local data.
TV software acts as a web server - it listens to incoming HTTP requests from mobile broadcasting vehicle (TV side) and returns data that it was asked for. This means that hardware at your side should 'see' scouters computer in a network (preferably LAN) and firewall on scouters computer should allow incoming HTTP requests (or be disabled). This IT infrastructure should be ensured by technical persons from the league.
This software needs .NET framework 3.5 runtime libraries (freely available).
Report data structures
There are two types of reports - local with current game information and remote with league information, such as standings, statistics.
Local reports
Host name can be replaced to address of scouters computer which runs TV graphics.
- http://localhost/?report=match_info - main game information. Result XML
- http://localhost/?report=leaders
- http://localhost/?report=score_development
- http://localhost/?report=shot_chart
- http://localhost/?report=lineups
Remote reports
Host name can be replaced to address of scouters computer which runs TV graphics. League id will be provided by MBT.
- http://localhost/?oreport=standings-grouped&lang=en&league_id=league_id
- http://localhost/?oreport=statistics-players-avg&lang=en&league_id=league_id
- http://localhost/?oreport=statistics-players-tot&lang=en&league_id=league_id
- http://localhost/?oreport=statistics-players-highs&lang=en&league_id=league_id
- http://localhost/?oreport=statistics-teams-avg&lang=en&league_id=league_id
- http://localhost/?oreport=statistics-teams-tot&lang=en&league_id=league_id
- http://localhost/?oreport=statistics-teams-highs&lang=en&league_id=league_id
- http://localhost/?oreport=live-games&lang=en&league_id=league_id
- http://localhost/?oreport=games-between-teams&lang=en&league_id=league_id