Read the statement by Michael Teeuw here.
MMM-MyScoreboard
-
anyone having issue with the module? its not showing anything now despite games being on.
getting something like this in the dev mode
M-MyScoreboard] Updating Scores
module.js:367 Parameter mismatch in module.hide: callback is not an optional parameter!
main.js:671 module tries to update the DOM without being displayed. -
It appears that the SportsNet feed is not updating during the day. It shows a scores of zero all day.
-
@crcowan
Sportsnet made a change to the hostname for the API, yet their old hostname (and the one this module uses) still has access to the “pre-game” data, which is why we still see the game time, but no live updates or post-game scores.A quick fix is to go into the “SNET.js” file, and look for:
var url = "https://mobile-statsv2.sportsnet.ca/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
Update the hostname from “mobile-statsv2.sportsnet.ca” to “stats-api.sportsnet.ca” like so:
var url = "https://stats-api.sportsnet.ca/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
The API output is still formatted as the module expects, and all should work again.
I’ve submitted a pull request, and hopefully I did this correctly… it’s my first time submitting an update via GitHub:
-
-
I’d like to increase the size of the start time for an upcoming game. Which element in the CSS file would that be?
-
@wyovino I do not know
you can look at the css provided by the module in the module folder. it may give you info about that content style
you can also use the developer window to examine and change styles to determine how to set custom.css
see this post
https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues/2?_=1720443608424
-
This post is deleted! -
For anyone else interested, I changed the following in the MMM-MyScoreboard.css file:
In the "MMM-MyScoreboard .box-score .status " section
From:
font-size: 20px;
font-weight: 400;To:
font-sze: 30px;
font-weight: bold;l -