• 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 25.0k 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.
  • S Offline
    shanecrozier
    last edited by May 25, 2017, 5:28 PM

    It loads and shows scores and such but no logos not even MLB. Both are set to true

    Any ideas ?

    C 1 Reply Last reply May 25, 2017, 9:20 PM Reply Quote 0
    • C Offline
      cowboysdude Module Developer @shanecrozier
      last edited by May 25, 2017, 9:20 PM

      @shanecrozier I only have one… I just deleted and reinstalled on mine and it’s working fine…

      SO in the MMM-MLB directory make sure the icon folder is there ;)

      S 1 Reply Last reply May 25, 2017, 9:23 PM Reply Quote 0
      • S Offline
        shanecrozier @cowboysdude
        last edited by May 25, 2017, 9:23 PM

        @cowboysdude yes it is already checked that and it has all the icons in it

        C 1 Reply Last reply May 25, 2017, 9:25 PM Reply Quote 0
        • C Offline
          cowboysdude Module Developer @shanecrozier
          last edited by May 25, 2017, 9:25 PM

          @shanecrozier Well I would say reinstall it because it doesn’t require npm install to run…

          Like I said I just downloaded it and reinstalled it and it’s working. So not really sure what’s going there as I"m not able to reproduce the issue unless the icons dir isn’t there.

          1 Reply Last reply Reply Quote 0
          • S Offline
            shanecrozier
            last edited by May 26, 2017, 1:53 AM

            Ok will try that thanks for the help

            1 Reply Last reply Reply Quote 1
            • E Offline
              emlowe Module Developer
              last edited by Jul 31, 2017, 11:16 PM

              I made a small change to this module.

              If you add the following:

              awayTempColumn.setAttribute(“team-name”, games.away_team_name);
              homeTempColumn.setAttribute(“team-name”, games.home_team_name);

              Then you can do this in your custom.css:

              .MMM-MLB .awayteam[team-name=“Giants”] { color: #FB5B1F; font-weight: bold; }

              .MMM-MLB .hometeam[team-name=“Giants”] { color: #FB5B1F; font-weight: bold; }

              And now, my Giants are in Giant orange…

              -Earle

              M 1 Reply Last reply Aug 1, 2017, 12:00 AM Reply Quote 2
              • M Offline
                Mykle1 Project Sponsor Module Developer @emlowe
                last edited by Aug 1, 2017, 12:00 AM

                @emlowe said in MMM-MLB:

                And now, my Giants are in Giant orange…

                Go Gints!

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cowboysdude Module Developer
                  last edited by Mar 30, 2018, 1:35 AM

                  Thank you @emlowe and from kolbyjack for his new changes which are:

                  Center text in R/H/E columns
                  Add team record next to team name
                  Make status and venue text after table optional
                  Simplify table creation by reducing code duplication
                  Show scores from yesterday until 4pm UTC (noon EDT/9am PDT)

                  Go to:
                  ~MagicMirror/modules/MMM-MLB
                  do a git pull to update :)

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer
                    last edited by Apr 4, 2018, 12:41 AM

                    Description:

                    [Thanks to kolbyjack!!! - His changes]

                    • Create individual widget types for pregame, ingame, postgame, postponed game, and no game
                    • Pregame: Show start time and propable pitchers
                    • In game: Show inning state, runners on base, count, outs, pitcher, and batter
                    • Postgame: Show R/H/E, winning pitcher, losing pitcher, and save pitcher
                    • Postponed game: Show reason for postponing (if known)
                    • No game: Explicitly show that the focus_on team doesn’t have a game today

                    Screenshots:

                    0_1522802427421_Capture.PNG

                    Download:

                    [card:cowboysdude/MMM-MLB]

                    Version 1.0.8

                    M 1 Reply Last reply Apr 4, 2018, 12:43 AM Reply Quote 2
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @cowboysdude
                      last edited by Apr 4, 2018, 12:43 AM

                      @cowboysdude said in MMM-MLB:

                      kolbyjack

                      Kudos to you for the module and kolbyjack for his input.

                      Create a working config
                      How to add modules

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