Read the statement by Michael Teeuw here.
MMM-MyScoreboard
-
@Egnos but that PR fixes the wrong provider… the espn provider is broken
the error u posted
data for provider ESPN: Error: getaddrinfo ENOTFOUND site.api.espn.com
that module is 5 years old… these providers change things every year…
-
@sdetweil ESPN sneezes and the data format changes. Not a reliable source.
-
@BKeyport said in MMM-MyScoreboard:
@sdetweil ESPN sneezes and the data format changes. Not a reliable source.
Hi @BKeyport do you know a valid alternative?
Thanks -
@Egnos sadly, no, i don’t. Gave up on scores on my mirror long ago.
-
Sorry folks that I haven’t been around to fix this. There URL for the ticker changed for the SportsNet provider. I’ll be publishing a fix in the cominn g days, but if you want to address it now, make a change in the file
providers/SNET.js
.Change line #122 from
var url = "https://d290qmen6zswb.cloudfront.net/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
to
var url = "https://mobile-statsv2.sportsnet.ca/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
This should get you back up and running until I publish the official fix.
- Jeff
-
@j-e-f-f said in MMM-MyScoreboard:
This should get you back up and running until I publish the official fix.
Thanks @j-e-f-f we look forward to the official release!:thumbs_up:
-
From my standpoint, the only thing that stopped working for me were any of the feeds that used the Sportsnet provider. But I am seeing some anecdotal reports of the ESPN provider also not working? Could anyone provide some examples of this? ESPN is working for me as-is.
-
New update released. This is a big one. Addresses the following:
- Correction of SNET provider ticker URL
- Change of ESPN provider URL to HTTPS
- Replacement of deprecated library Request with Axios
- Addition of WNBA and NCAAW womens’ basketball leagues
- Team logo updates for North American leagues
- Correction of NCAA team shortcode for Wisconsin Badgers from
WIS
toWISC
As this has a replacement of a module, you’ll need to run
npm install
after doing agit pull
in the MMM-MyScoreBoard directoryA note on ESPN’s feed. I have seen a number of posts reporting that the it sporadically stops working. As of right now the ESPN feed works properly for me, but I did notice over the course of the last couple of day’s testing that sometimes the request out to ESPN is not answered in a timely manner. Eventually ESPN will update, but sometimes it is slow. I have made a change so that the request is made over HTTPS instead of HTTP, and my testing since then has shown the feed to be more reliable. Of course, this could just be a complete coincidence, and it’s equally as likely that we’ll continue to see issues with ESPN-sourced scoreboard data.
Once again, sorry for the LOOOOOOONG delay in addressing this. My mirror has sat unattended to for quite some time, and I only recently got around to rebuilding things. A number of my modules had stopped working, not just this one. Hopefully, this gets everyone back up and running.
-
@j-e-f-f This can definitely be a future improvement but is there a way to get support for some of the relatively recent expansion MLS teams or if I use their codes, would it just work without additional code (especially with the ESPN update)?
-
@Wenike said in MMM-MyScoreboard:
@j-e-f-f This can definitely be a future improvement but is there a way to get support for some of the relatively recent expansion MLS teams or if I use their codes, would it just work without additional code (especially with the ESPN update)?
The recent update already includes all current 28 MLS teams. However any future additional teams will work provided you know the shortcode. MLS is provided by SportsNet, not ESPN, and if you can figure out the shortcode SportsNet uses for any new team, you can follow that team specifically. Otherwise, if you just follow the league, the new team will appear as it comes through the feed without any intervention on your part. I also changed MLS to pull the team logo images from the data feed, so there won’t be any missing logos either.