Read the statement by Michael Teeuw here.
MMM-MLB
-
Thanks guys!! Thanks @Mykle1 for testing it for me :) You’ve been a great help!
As for the focus on part I’m working on it… IF anyone out there wants to help with that I’d appreciate it. I’m just learning js so it’s a process :)
-
@cowboysdude said in MMM-MLB:
Thanks @Mykle1 for testing it for me You’ve been a great help!
Totally my pleasure. I got to see the genius at work! :thumbsup_tone1:
-
@cowboysdude said in MMM-MLB:
Thanks @Mykle1 for testing it for me You’ve been a great help!
Totally my pleasure. I got to see the genius at work! :thumbsup_tone1:
Wellllllllllllllll I dunno about that LOL
-
@cowboysdude said in MMM-MLB:
I dunno about that LOL
You made it. It works. Genius! (I rest my case)
-
Can anyone help out in trying to add criteria on only a selected team? I have tried to do it but am not sure exactly what spot in the code this needs to be added.
if games.game.away_team_name === “Yankees” ||
games.game.home_team_name === “Yankees”Was thinking because games is an array do we need a loop maybe?
Thanks.
-
@ooom416354 if you can wait for a few days I will teach @cowboysdude how to do it
-
@strawberry-3.141 Def can wait, the season doesn’t start until like 4/1 anyway !
-
Without further delay and a HUGE HUGE Thanks to @strawberry-3-141 I proudly give you ‘focus_on’ ability!!
You can see all the games in a rotating fashion or just see your favorite team[s]!!
IF you have the first version installed simply go to your MagicMirror/modules/MMM-MLB directory in a terminal window and type:
git pull
New config option:
focus_on: [“Braves”,“Yankees”]Please make sure you put in brackets, capitalize and double quotes if you have more than one team separated by a coma like above.
See here for complete instructions and ENJOY!!
Download:
[card:cowboysdude/MMM-MLB]
-
@cowboysdude WORKS LIKE A CHARM. AMPED. thank you!
-
@cowboysdude love it!!! amazing work!
-
You’re a freakin magician and a guru! :clap_tone1:
-
You’re a freakin magician and a guru! :clap_tone1:
Yes with a lot of help from a very good guy! :baseball:
-
@cowboysdude
Hi, i’ve tried to install this on my magicmirror running on a pi zero, the module will not load in the browser. Any ideas? I have node v6.10.0 and npm 3.10.10.pi@raspberrypi:~/MagicMirror $ node serveronly Starting MagicMirror: v2.1.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Initializing new module helper ... No helper found for module: clock. No helper found for module: calendar_monthly. Initializing new module helper ... No helper found for module: currentweather. No helper found for module: weatherforecast. All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: MMM-MLB Starting module: MMM-MLB Connecting socket for: calendar Starting node helper for: calendar Sockets connected & modules started ... Ready to go! Please point your browser to: http://localhost:8080 -
@jimmrr i guess you use the midori browser, which cant handle es6 and this module makes use of es6 features
-
@cowboysdude Thank you so much for your work on this module! I was digging through the code to see how you did it and noticed there’s some code for getting the MLB standings. Is this something that you are actively working on? It would be great to see the scores as well as the standings. Thanks again for a great module!
-
@Durnumosis Well yes I am working on that part :) I’m running into snags so it’s going to be a while… still trying to figure it all out :)
Of course the standings is part of the voice part [MMM-voice]… I am also working on a standalone standings module… no voice required…
-
Question guys, I have the focus_on set to “Yankees” but today they happen to be off so all I see is the header, with the MLB logo and the text MLB Scores 04/20/2017. Is there a way to hide that if the team that is set in the focus_on is not playing that day?
-
@ooom416354 I will have to check into that. :) It’s going to take a little while.
-
@cowboysdude no problem, figured it would be a bit difficult
-
@ooom416354 Just from a time aspect :) My business is burying me right now… it’s that time of the year… ;)
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
