Read the statement by Michael Teeuw here.
MMM-MLB
-
@shanecrozier Well I would say reinstall it because it doesn’t require npm install to run…
Like I said I just downloaded it and reinstalled it and it’s working. So not really sure what’s going there as I"m not able to reproduce the issue unless the icons dir isn’t there.
-
Ok will try that thanks for the help
-
I made a small change to this module.
If you add the following:
awayTempColumn.setAttribute(“team-name”, games.away_team_name);
homeTempColumn.setAttribute(“team-name”, games.home_team_name);Then you can do this in your custom.css:
.MMM-MLB .awayteam[team-name=“Giants”] { color: #FB5B1F; font-weight: bold; }
.MMM-MLB .hometeam[team-name=“Giants”] { color: #FB5B1F; font-weight: bold; }
And now, my Giants are in Giant orange…
-Earle
-
-
Thank you @emlowe and from kolbyjack for his new changes which are:
Center text in R/H/E columns
Add team record next to team name
Make status and venue text after table optional
Simplify table creation by reducing code duplication
Show scores from yesterday until 4pm UTC (noon EDT/9am PDT)Go to:
~MagicMirror/modules/MMM-MLB
do a git pull to update :) -
Description:
[Thanks to kolbyjack!!! - His changes]
- Create individual widget types for pregame, ingame, postgame, postponed game, and no game
- Pregame: Show start time and propable pitchers
- In game: Show inning state, runners on base, count, outs, pitcher, and batter
- Postgame: Show R/H/E, winning pitcher, losing pitcher, and save pitcher
- Postponed game: Show reason for postponing (if known)
- No game: Explicitly show that the focus_on team doesn’t have a game today
Screenshots:
Download:
[card:cowboysdude/MMM-MLB]
Version 1.0.8
-
-
Damn, this is a cool module! I’m building an MM Sports computer for someone as a gift and this is already . I don’t know how you geniuses do it, however I’m happy you do. I tip my hat to you, sir, and I thanks for sharing this high-quality advent of yours. 👏🏼