Read the statement by Michael Teeuw here.
NFL Score Module
-
@strawberry-3-141
@cowboysdudeThis MMM-NFL module only shows the preseason from last year…
How do I get it to show the current week’s games and scores?
Or, better yet, How can I get it to show the pre-season, regular season, and playoff games for a single particular team or teams???
What I am wanting is a single page on my mirror to show all the above for 3 certain teams: Chiefs, Cowboys, & Broncos, side-by-side for one view of each team on the same page, so that my eldest son (Broncos), my son-in-law (Cowboys), and myself (Chiefs - of course!) can easily see the comparison between them.
-
BTW…
I’ve tried to place 3 iFrames on one page, one to show each schedule in a live updated format. But I cannot figure out how to get it to work. Is it even possible to use the same module coded in 3 different ways to show on the same page??? :thinking_face: :thinking_face: :thinking_face:
-
You poor bastid. HAHAH
-
@achilles said in NFL Score Module:
Thanks cowboysdude!
If it isnt set up for Preseason, than that would make sense. Regular season, here I come!
You’re welcome! Trust me it’s a great module!!!
-
@justjim1220 It’s not setup to show any preseason games…on the Github page it shows config options and this is one of them:
`focus_on Display only matches with teams of this array e.g. ['NYG', 'DAL', 'NE'].`This is how it’s used:
`{ module: 'MMM-NFL', position: 'top_right', config: { focus_on: ['NYG', 'DAL', 'NE'] //JUST an example to show ONLY those 3 teams } } -
Ok, here’s a screen shot of what it looks like…

As you can see… It says ‘NFL Pre-Season 2017’ in the header.
the actual list of games are from the final regular season week of 2017.
It doesn’t show, in the Readme regarding any modes to use in the config.
added the ‘focus_on’ in the config, nothing changed…

which by the way, is also not explained or covered in the Readme,

I’ve had this module for quite a while now, have never been informed of any changes.
But, I decided to trash it and restart it with a fresh install of the module…I noticed several differences in the first one I had and the current one…
the files of the one I’ve had for a while…

the files of the one I downloaded and installed a little while ago…

this is the difference of the MMM-NFL.js files…

the latest one shows modes for Pre-Season, Regular-Season, & Post-Season…
If I use the modes, Pre & Post, I get a blank mirror, and this error in my terminal…

here’s what it looks like with the 'Regular-Season" mode and the ‘focus_on’ added in the config…

I also get a blank screen with the same error in my terminal when leaving out the mode and the focus_on.
So, now you can see why I have had so many problems with it!
-
After further research, I found that the dependencies needed to be manually installed.
this fixed the blank pages problem. -
focus_on has been there for over a year…so not sure what readme you’re looking at but on Github it is clearly in the readme and has been…
` Config Options Option Default Description colored false Remove black/white filter of logos/helmets. helmets false Show helmets instead of logo. focus_on false Display only matches with teams of this array e.g. ['NYG', 'DAL']. format 'ddd h:mm' In which format the date should be displayed. All Options reloadInterval 1800000 (30 mins) How often should the data be fetchedAs for pre season scores…it’s impossible. It uses one of two urls for the data and neither show pre season…they show reg or post season…
So A. Either you’ve changed something or B. you’re not using this module…
I know this module like it was my own… it doesn’t do Pre Season football. I’m looking at the raw data…the regular and post season scores are from 2017…
-
I think I figured it out…
I’ve been getting it from your repository list and not from the 3rd party list. Look at them and you’ll see the same differences I have been experiencing
-
Dimensional shift in progress.
-
@justjim1220 said in NFL Score Module:
I think I figured it out…
I’ve been getting it from your repository list and not from the 3rd party list. Look at them and you’ll see the same differences I have been experiencing
ALWAYS go to the source just in case there have been changes…
-
@cowboysdude Hey again, I believe Im reading this right, so the 2017 is normal for now (module doesnt track preseason) and when the regular season starts we will start seeing the 2018 games/scores? No need to update any links or anything? Thanks!
-
@darbos said in NFL Score Module:
@cowboysdude Hey again, I believe Im reading this right, so the 2017 is normal for now (module doesnt track preseason) and when the regular season starts we will start seeing the 2018 games/scores? No need to update any links or anything? Thanks!
Yes sir that’s exactly what will happen :)
-
@cowboysdude Good stuff! Thank you sir!
-
Anyone else’s module not update today? I still have NFL 2017 Regular Season showing…
-
-
There are several options (good and bad ones), but I’m busy. Therefore I will wait at least until this weekend, before I take an action here. Getting a new api most of the times also means rewriting most of the module which is time intensive. Maybe there are also volunteers.
-
-
According to Stackoverflow the xml service is discontinued and is now using JSON for the 2018 season. Here’s the JSON file http://www.nfl.com/liveupdate/scores/scores.json
-
@gama said in NFL Score Module:
According to Stackoverflow the xml service is discontinued and is now using JSON for the 2018 season. Here’s the JSON file http://www.nfl.com/liveupdate/scores/scores.json
Just noticed that someone replied with an AJAX version that appeared to have the same output as the XML file. I plugged it in to the node_helper.js file and it works!
Here’s the AJAX version http://www.nfl.com/ajax/scorestrip?season=2018&seasonType=REG&week=1
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login