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 562.6k 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.
    • J Offline
      j.e.f.f Project Sponsor Module Developer
      last edited by

      From my standpoint, the only thing that stopped working for me were any of the feeds that used the Sportsnet provider. But I am seeing some anecdotal reports of the ESPN provider also not working? Could anyone provide some examples of this? ESPN is working for me as-is.

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

        New update released. This is a big one. Addresses the following:

        • Correction of SNET provider ticker URL
        • Change of ESPN provider URL to HTTPS
        • Replacement of deprecated library Request with Axios
        • Addition of WNBA and NCAAW womens’ basketball leagues
        • Team logo updates for North American leagues
        • Correction of NCAA team shortcode for Wisconsin Badgers from WIS to WISC

        As this has a replacement of a module, you’ll need to run npm install after doing a git pull in the MMM-MyScoreBoard directory

        A note on ESPN’s feed. I have seen a number of posts reporting that the it sporadically stops working. As of right now the ESPN feed works properly for me, but I did notice over the course of the last couple of day’s testing that sometimes the request out to ESPN is not answered in a timely manner. Eventually ESPN will update, but sometimes it is slow. I have made a change so that the request is made over HTTPS instead of HTTP, and my testing since then has shown the feed to be more reliable. Of course, this could just be a complete coincidence, and it’s equally as likely that we’ll continue to see issues with ESPN-sourced scoreboard data.

        Once again, sorry for the LOOOOOOONG delay in addressing this. My mirror has sat unattended to for quite some time, and I only recently got around to rebuilding things. A number of my modules had stopped working, not just this one. Hopefully, this gets everyone back up and running.

        W E 2 Replies Last reply Reply Quote 2
        • W Offline
          Wenike @j.e.f.f
          last edited by

          @j-e-f-f This can definitely be a future improvement but is there a way to get support for some of the relatively recent expansion MLS teams or if I use their codes, would it just work without additional code (especially with the ESPN update)?

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

            @Wenike said in MMM-MyScoreboard:

            @j-e-f-f This can definitely be a future improvement but is there a way to get support for some of the relatively recent expansion MLS teams or if I use their codes, would it just work without additional code (especially with the ESPN update)?

            The recent update already includes all current 28 MLS teams. However any future additional teams will work provided you know the shortcode. MLS is provided by SportsNet, not ESPN, and if you can figure out the shortcode SportsNet uses for any new team, you can follow that team specifically. Otherwise, if you just follow the league, the new team will appear as it comes through the feed without any intervention on your part. I also changed MLS to pull the team logo images from the data feed, so there won’t be any missing logos either.

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              Noctis25 @j.e.f.f
              last edited by

              @j-e-f-f
              Hi Jeff,

              My MM Scoreboard shows the times of the coming matches wrong,

              They are displayed as to air 1 hour early,
              Is this because your API calls from ESPN in America when i am in the UK?

              could you help with getting this changed to local time,

              The clock on my MM is correct and i would assume the date and times are pulled from the same part

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

                Noctis: that looks like a daylight savings issue. We’re still in DST until 2nd Sun of November, I don’t know your status.

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

                N 1 Reply Last reply Reply Quote 0
                • N Offline
                  Noctis25 @BKeyport
                  last edited by

                  @BKeyport
                  Hi BKeyport,

                  That makes sense,
                  We are in daylight savings for another 20 days,

                  i will see if that changes after the change,

                  thank you

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

                    @Noctis25 One thing you could double check as you’re in England. Are you using the right clock locale (Europe/London versus GMT)? Is your clock observing DST correctly?

                    Daylight savings is a horrible thing, as is timezones.

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

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      Egnos @j.e.f.f
                      last edited by Egnos

                      @j-e-f-f Thanks for fixing the module! ;-)
                      I have tried your module and I believe that all the most popular football rankings do not work.

                      I tried with:

                      • ITA_SERIES_A

                      • ESP_LALIGA

                      • GER_BUNDESLIGA

                      but nothing is shown.

                      For example NHL League works …

                      Could you help me?

                      Thanks.

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

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        NSpr
                        last edited by

                        Working great with today’s games for NHL, Eng Premier & League 1; however when I set a value for rolloverHours this switches to only showing the previous days scores and doesn’t display anything for today? Assuming my formatting is correct? Just:
                        rolloverHours: 12,

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          SirFM
                          last edited by

                          Updated my mirror and now the module is stuck with the message “Loading…”

                          I’ve updated the module since a new version came out but I still have the same problem.

                          I’ve also tried deleting the MMM-MyScoreboard directory and did a new pull and install but still no success.

                          In the console I get a MESA-LOADER: failed to retrieve device information. My GoogleFu failed to produce success.

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

                            @SirFM I would open an issue in the modules GitHub to engage the author.

                            how did u upgrade mm? manual or use my script?

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil Manual

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                richmp95
                                last edited by

                                i am liking this module however when inspecting it, there is a parameter mismatch in module.show: callback is not an optional parameter! showing line 392 on module.js. is this something with this module or something with the new update of MagicMirror?

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  MMRIZE @richmp95
                                  last edited by MMRIZE

                                  @richmp95
                                  MM2.24 changed some codes then showing somewhat annoying “error” message. Not related with real “error”, just ignore it.

                                  1 Reply Last reply Reply Quote 1
                                  • F Offline
                                    Fuen
                                    last edited by

                                    Hi everyone and thanks fore the MMM-MyScoreboard module who is running just fine. I’m wondering why one team disapear of the scoreboard ? During the day i can see teams i setup to be listed and the hour the game is but when its time for the game to be played then one team (MTL as for Montreal Canadiens in NHL) disapear from the scoreboard with the team the play against, that game ain’t show live stats but every other teams i can follow on screen.

                                    Is there a place to look at if that team isnt’ write correctly for the live score? Or is it something else that i miss like in the setting?

                                    Regards

                                    1 Reply Last reply Reply Quote 0
                                    • 1 Offline
                                      1a2a3a
                                      last edited by

                                      @j-e-f-f how do you reduce the font size of the content? i maanged to reduce them in css but then when the next game appear, the entire thing is back to default.

                                      these are the 2 css i made but it seems like it doesnt port over to another game…

                                      .MMM-MyScoreboard .box-score.stackedWithLogos.home-team-first .score.home {
                                      left: 120px;
                                      font-size: 0.8rem;
                                      }
                                      
                                      
                                      .MMM-MyScoreboard .box-score.stackedWithLogos.home-team-first .score.visitor {
                                      left: 120px;
                                      font-size: 0.8rem;
                                      }
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @1a2a3a
                                        last edited by sdetweil

                                        @1a2a3a said in MMM-MyScoreboard:

                                        .MMM-MyScoreboard .box-score.stackedWithLogos.home-team-first .score.visitor

                                        the logic of your css selector clause is

                                        .MMM-MyScoreboard .box-score.stackedWithLogos.home-team-first .score.visitor
                                        

                                        elements in elements with class MMM-MyScoreboard
                                        AND
                                        elements with ALL classes specified on the same element

                                             .box-score.stackedWithLogos.home-team-first 
                                        
                                         classes box-score **AND** stackedWithLogos **AND** home-team-first  
                                        

                                        AND
                                        elements with ALL classes specified on the same element

                                            .score.visitor
                                        
                                        classes  score   **AND** visitor
                                        

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil i dont understand sam…

                                          did you mean like this?

                                          .MMM-MyScoreboard .box-score AND stackedWithLogos AND home-team-first .score AND visitor {
                                          left: 120px;
                                          font-size: 0.8rem;
                                          }
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @1a2a3a
                                            last edited by sdetweil

                                            @1a2a3a I was specifying the logic of you selector clause

                                            . means class

                                            if there are multiple . in a string with no spaces it means
                                            all these classes MUST be specified on the element explicitly

                                            so you have some weak ands (with spaces)
                                            .MMM-MyScoreboard (weak and) .box-score.stackedWithLogos.home-team-first (weak and) .score.visitor

                                            and some ABSOLUTE ands
                                            .box-score(ABSOLUTE and).stackedWithLogos(ABSOLUTE and).home-team-first
                                            all these classes MUST be on the same element
                                            class=“box-score stackedWithLogos home-team-first”
                                            and
                                            .score(ABSOLUTE and).visitor
                                            class=“score visitor”

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 13 / 14
                                            • 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