https://github.com/wardbrian/mta-board
https://github.com/wardbrian/mta-board
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wardbrian/mta-board
- Owner: WardBrian
- License: gpl-3.0
- Created: 2021-11-03T23:12:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-04-09T01:52:04.000Z (2 months ago)
- Last Synced: 2026-04-09T02:30:57.581Z (2 months ago)
- Language: Python
- Size: 260 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# mta-board
Show the upcoming trains.
A plugin for [mlb-led-scoreboard](https://github.com/WardBrian/mlb-led-scoreboard).

**Note**: This is just a personal project to use on my board during the baseball offseason, I probably
won't add any more features!
## Example config
`config.json`:
```json
{
"rotation": {
"screens": [
{ "kind": "trains", "seconds": 20, "with_priority": 0 }
]
},
"plugins": {
"example": {
"step": 3
},
"trains": {
"skip_next_trains": 0,
"num_trains": 3,
"stops": {
"6": ["631N"]
}
}
}
}
```
`colors/scoreboard.json`:
```json
{
"plugins" : {
"trains":{
"stop": {
"r": 255,
"g": 255,
"b": 255
},
"eta": {
"r": 255,
"g": 255,
"b": 255
}
}
}
}
```
`coordinates/w64h32.json`:
```json
{
"plugins": {
"trains": {
"stops_per_page": 2,
"font_name": "5x7",
"offset": 15,
"eta": {
"x": 16,
"y": 13
},
"stop": {
"x": 16,
"y": 7,
"width": 48
},
"line": {
"x": 8,
"y": 7,
"font_name": "7x13B",
"radius": 12
}
}
}
}
```