• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-MLB

Scheduled Pinned Locked Moved Sport
35 Posts 10 Posters 23.1k Views 10 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    cowboysdude Module Developer
    last edited by Mar 18, 2017, 8:26 PM

    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]

    R O M D 4 Replies Last reply Mar 19, 2017, 12:06 AM Reply Quote 1
    • R Offline
      rodleland @cowboysdude
      last edited by Mar 19, 2017, 12:06 AM

      @cowboysdude WORKS LIKE A CHARM. AMPED. thank you!

      1 Reply Last reply Reply Quote 1
      • O Offline
        ooom416354 @cowboysdude
        last edited by Mar 19, 2017, 3:05 AM

        @cowboysdude love it!!! amazing work!

        1 Reply Last reply Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @cowboysdude
          last edited by Mar 19, 2017, 4:11 AM

          @cowboysdude

          You’re a freakin magician and a guru! :clap_tone1:

          Create a working config
          How to add modules

          C 1 Reply Last reply Mar 19, 2017, 4:22 AM Reply Quote 1
          • C Offline
            cowboysdude Module Developer @Mykle1
            last edited by Mar 19, 2017, 4:22 AM

            @Mykle1 said in MMM-MLB:

            @cowboysdude

            You’re a freakin magician and a guru! :clap_tone1:

            Yes with a lot of help from a very good guy! :baseball:

            1 Reply Last reply Reply Quote 0
            • J Offline
              jimmrr
              last edited by Mar 23, 2017, 4:45 PM

              @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
              
              S 1 Reply Last reply Mar 23, 2017, 4:50 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @jimmrr
                last edited by Mar 23, 2017, 4:50 PM

                @jimmrr i guess you use the midori browser, which cant handle es6 and this module makes use of es6 features

                Please create a github issue if you need help, so I can keep track

                1 Reply Last reply Reply Quote 1
                • D Offline
                  Durnumosis @cowboysdude
                  last edited by Mar 30, 2017, 5:41 PM

                  @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!

                  C 1 Reply Last reply Mar 30, 2017, 9:42 PM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @Durnumosis
                    last edited by cowboysdude Mar 31, 2017, 2:33 AM Mar 30, 2017, 9:42 PM

                    @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…

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      ooom416354
                      last edited by Apr 21, 2017, 1:01 AM

                      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?

                      C 1 Reply Last reply Apr 21, 2017, 1:13 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy