Read the statement by Michael Teeuw here.
NFL Score Module
-
So it’s been over 15 years since I’ve done much coding. My background is in C++ and I ran a few Python tutorials when I first got my Pi.
I’m writing a parser for this NBA score feed and it just occurred to me that I don’t know how to integrate a python script into Magic Mirror. I’ve made some good progress, but is there any sense continuing? Will I be able to easily port this to JS or will Magic Mirror know what to do with the .py file, or am I going to need to start over?
-
@in_a_days check out this python shell module https://github.com/paviro/MMM-Facial-Recognition/blob/master/node_helper.js#L11
-
I’ve completed an ugly parser for this NBA data. I have a python program that stores and prints a list of home teams, away teams, scores, and event times. Can anybody help me with passing these variables into the existing NFL module framework?
-
@in_a_days I suggest to move this into the development section and a new thread for nba
Help: you can run the python script in from inside the node_helper and read the output, then send the data to your module with a socket notification
-
Thank you again for the help. I’ve opened a new thread here:
https://forum.magicmirror.builders/topic/1431/mmm-nba-nba-scores-module
-
Fixed issues reported (shows
NFL undefined 2017
)[card:fewieden/MMM-NFL]
-
Is anyone having a problem getting the Preseason 2018 to display? If I reboot my MM, it will say, Preseason 2018, but the final week of the 2017 regular season will display. Any suggestions?
-
@achilles said in NFL Score Module:
Is anyone having a problem getting the Preseason 2018 to display? If I reboot my MM, it will say, Preseason 2018, but the final week of the 2017 regular season will display. Any suggestions?
I’m on vacation for a while, please create a github issue if you need help, so I can keep track
Here’s where you do it :)
https://github.com/fewieden/MMM-NFL/issues
But looking at the code real quick it’s not set up for preseason …regular and playoffs only. The NFL only offers those two options for data.
-
Thanks cowboysdude!
If it isnt set up for Preseason, than that would make sense. Regular season, here I come!
-
@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.