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 Scores not loading

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 2 Posters 1.5k Views 2 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @kc0bra
      last edited by Mykle1

      @kc0bra

      I just installed it and it’s working. You’re missing a curly bracket (there should be two after logo:true) and you do need a comma after the closing curly bracket }

      You can just copy and paste the below entry and paste it into your config if you like.

      {
          module: "MMM-MLB",
          position: "top_center",
          config: { // See "Configuration options" for more information.
            maxWidth: "400px",
            header: true,
            logo: true,
      //      focus_on: ["Indians", "Braves", "Yankees"]
          }
        },

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • K Offline
        kc0bra
        last edited by kc0bra

        Hmmm. I just removed mine completely and pasted your example in and I’m still getting the same thing. For some reason the scores aren’t loading. Is there an API key or anything that I need to put in somewhere? Similar to what needs to be generated and installed for weather apps?

        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @kc0bra
          last edited by Mykle1

          @kc0bra said in Scores not loading:

          Is there an API key or anything that I need to put in somewhere? Similar to what needs to be generated and installed for weather apps?

          No sir, no API key necessary for this module. It doesn’t even require dependencies of any kind. You can do three things.

          1. Post your config entry in a code block so that I can take a look at it. Click the </> icon above your message window when you are replying. It’s at the far right. Paste your code in the highlighted code_text that will appear. That will format your entry.

          2. Start your mirror in the MM directory with the command npm start dev. This will open the Developers Tools window. Click the Console tab at the top left of the window. Scroll through the output looking for errors in red. Report here.

          3. Delete your current MMM-MLB folder from the modules folder and clone it again from https://github.com/cowboysdude/MMM-MLB. Then try it with my config example above.

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • K Offline
            kc0bra
            last edited by

            Hey Mykle1, deleting the directly and re-cloning from Git did the trick. I now have the scores coming in regularly. Thanks a lot for your help!

            Mykle1M 2 Replies Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @kc0bra
              last edited by

              @kc0bra

              Ahh, have fun!

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @kc0bra
                last edited by

                @kc0bra

                You can mark this post as solved by clicking the three verticle dots to the right of the post that helped you.

                Create a working config
                How to add modules

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