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-MyScoreboard

    Scheduled Pinned Locked Moved Sport
    277 Posts 60 Posters 504.1k Views 63 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.
    • E Offline
      Egnos
      last edited by

      Hello everybody,
      I’m having trouble with this module, are any of you using it?

      The following errors MM returns me:

      [02.09.2022 10:52.55.068] [LOG]   [MMM-MyScoreboard] 2-Sep-22 10:52 ** ERROR ** Couldn't retrieve ITA_SERIE_A data for provider ESPN: Error: getaddrinfo ENOTFOUND site.api.espn.com
      [02.09.2022 10:52.55.068] [LOG]   [MMM-MyScoreboard] http://site.api.espn.com/apis/site/v2/sports/soccer/ita.1/scoreboard?dates=20220902&limit=200
      
      
      Starting module: MMM-MyScoreboard MMM-MyScoreboard.js:560 
      All modules started!
      MMM-MyScoreboard.js:552 
      [MMM-MyScoreboard] Updating Scores module.js:195 
      MMM-MyScoreboard is suspended.
      

      Below my configuration

      {
      		  module: "MMM-MyScoreboard",
      		  position: "top_right",
      		  classes: "default everyone",
      		  header: "My Scoreboard",
      		  config: {
      			showLeagueSeparators: true,
      			colored: true,
      			viewStyle: "mediumLogos",
      			sports: [
      			  {
      				league: "ITA_SERIE_A",
      				//teams: ["JUV"]
      				//label: "Seria A TIM 2022/23"
      			  }
      					]
      				}
      		},
      

      Can you help me?
      Thanks

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Egnos
        last edited by

        @Egnos looks like the provider changed their API. so the module will have to be changed

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Egnos @sdetweil
          last edited by

          @sdetweil said in MMM-MyScoreboard:

          looks like the provider changed their API. so the module will have to be changed

          Hi @sdetweil
          I understand. Do you know if the developer still maintains the module?

          Thanks

          My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Egnos
            last edited by

            @Egnos no idea, go look at the GitHub site, post an issue.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              Egnos @sdetweil
              last edited by Egnos

              @sdetweil said in MMM-MyScoreboard:

              @Egnos no idea, go look at the GitHub site, post an issue.

              I tried to do the recommended fix but nothing has changed.
              https://github.com/jclarke0000/MMM-MyScoreboard/pull/61

              I opened a problem on GitHub as you advised me, I await an answer.

              If someone had solved … give a whistle ;-)

              My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Egnos
                last edited by

                @Egnos but that PR fixes the wrong provider… the espn provider is broken

                the error u posted

                data for provider ESPN: Error: getaddrinfo ENOTFOUND site.api.espn.com
                

                that module is 5 years old… these providers change things every year…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                BKeyportB 1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer @sdetweil
                  last edited by

                  @sdetweil ESPN sneezes and the data format changes. Not a reliable source.

                  The "E" in "Javascript" stands for "Easy"

                  E 1 Reply Last reply Reply Quote 1
                  • E Offline
                    Egnos @BKeyport
                    last edited by

                    @BKeyport said in MMM-MyScoreboard:

                    @sdetweil ESPN sneezes and the data format changes. Not a reliable source.

                    Hi @BKeyport do you know a valid alternative?
                    Thanks

                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                    BKeyportB 1 Reply Last reply Reply Quote 0
                    • BKeyportB Offline
                      BKeyport Module Developer @Egnos
                      last edited by

                      @Egnos sadly, no, i don’t. Gave up on scores on my mirror long ago.

                      The "E" in "Javascript" stands for "Easy"

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        j.e.f.f Project Sponsor Module Developer
                        last edited by

                        Sorry folks that I haven’t been around to fix this. There URL for the ticker changed for the SportsNet provider. I’ll be publishing a fix in the cominn g days, but if you want to address it now, make a change in the file providers/SNET.js.

                        Change line #122 from

                            var url = "https://d290qmen6zswb.cloudfront.net/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
                        

                        to

                           var url = "https://mobile-statsv2.sportsnet.ca/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
                        

                        This should get you back up and running until I publish the official fix.

                        • Jeff
                        E 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 22
                        • 23
                        • 24
                        • 25
                        • 26
                        • 27
                        • 28
                        • 24 / 28
                        • 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