• 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 24.8k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @cowboysdude
    last edited by Mar 15, 2017, 4:01 PM

    @cowboysdude

    Damn, this is a cool module! I’m building an MM Sports laptop for someone as a gift and this is already installed. I don’t know how you geniuses do it, but I’m glad you do. I tip my hat to you, sir, and I thank you for sharing this wonderful creation of yours. :clap_tone2:

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 1
    • C Offline
      cowboysdude Module Developer
      last edited by Mar 15, 2017, 4:08 PM

      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 :)

      M 1 Reply Last reply Mar 15, 2017, 4:17 PM Reply Quote 1
      • M Offline
        Mykle1 Project Sponsor Module Developer @cowboysdude
        last edited by Mar 15, 2017, 4:17 PM

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

        Create a working config
        How to add modules

        C 1 Reply Last reply Mar 15, 2017, 4:44 PM Reply Quote 1
        • C Offline
          cowboysdude Module Developer @Mykle1
          last edited by Mar 15, 2017, 4:44 PM

          @Mykle1 said in MMM-MLB:

          @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

          M 1 Reply Last reply Mar 15, 2017, 5:20 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @cowboysdude
            last edited by Mar 15, 2017, 5:20 PM

            @cowboysdude said in MMM-MLB:

            I dunno about that LOL

            You made it. It works. Genius! (I rest my case)

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • O Offline
              ooom416354
              last edited by Mar 16, 2017, 3:05 PM

              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.

              S 1 Reply Last reply Mar 16, 2017, 3:08 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @ooom416354
                last edited by Mar 16, 2017, 3:08 PM

                @ooom416354 if you can wait for a few days I will teach @cowboysdude how to do it

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

                O 1 Reply Last reply Mar 16, 2017, 3:10 PM Reply Quote 3
                • O Offline
                  ooom416354 @strawberry 3.141
                  last edited by Mar 16, 2017, 3:10 PM

                  @strawberry-3.141 Def can wait, the season doesn’t start until like 4/1 anyway !

                  1 Reply Last reply Reply Quote 1
                  • 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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        7/35
                        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