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.8k 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.
    • N Offline
      nhl
      last edited by

      it looks like its just the nhl games having issues

      justjim1220J 1 Reply Last reply Reply Quote 0
      • justjim1220J Offline
        justjim1220 Module Developer @nhl
        last edited by

        @nhl
        The problem I had Thursday was with NFL

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        1 Reply Last reply Reply Quote 0
        • H Offline
          hoveeman
          last edited by

          One of the score providers must have changed their api? I believe it uses sportsnet.ca and espn for scores. NCAA Men’s basketball is working fine, but nfl and mls were not working yesterday.

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

            NHL was stuck for me.

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

            1 Reply Last reply Reply Quote 0
            • H Offline
              hoveeman @hoveeman
              last edited by

              looks like an issue with sportsnet.ca. Looking at the json file, it was documented well that this provider is used for the majority of scores.

              https://github.com/jclarke0000/MMM-MyScoreboard/blob/master/providers/SNET.js

              It grabs the scores from this feed.

              http://www.sportsnet.ca/wp-content/uploads/scoreboard.json

              The feed is still active, so need to do some digging as to what broke it.

              1 Reply Last reply Reply Quote 0
              • V Offline
                vinp Module Developer
                last edited by

                I’ve updated my fork to have the code use ESPN for those broken sports. Something is up with the sportsnet.ca json where it does not give the results for some of the sports. https://github.com/vincep5/MMM-MyScoreboard

                N BKeyportB 2 Replies Last reply Reply Quote 1
                • N Offline
                  nhl @vinp
                  last edited by

                  @vinp Awesome! Thanks!

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

                    @vinp being a linux/magic mirror newbie - how would one switch to your fork?

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

                    V 1 Reply Last reply Reply Quote 1
                    • H Offline
                      homerj99
                      last edited by homerj99

                      Brilliant, replaced necessary files with your updates and it works like a charm. Thank you

                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        vinp Module Developer @BKeyport
                        last edited by

                        @bkeyport ssh into your Pi and then “cd” into where you have MagicMirror/modules then run:
                        rmdir MMM-MyScoreboard
                        while you are still in the /modules folder, do a clone of my repository : git clone https://github.com/vincep5/MMM-MyScoreboard.git
                        Lastly run:
                        cd MMM-MyScoreboard
                        npm install

                        W 1 Reply Last reply Reply Quote 0
                        • W Offline
                          Wedee @vinp
                          last edited by

                          @vinp
                          I had to use
                          sudo rm -rf MMM-MyScoreboard
                          as the directory was not empty.

                          And had to also throw a
                          npm cache clean
                          prior to npm install
                          to get rid of the install errors regarding “Failed to parse json”

                          When my MagicMirror starts I see the header, then it disappears and it is not populating any of today’s NFL games. Configuration is the same as I was using before the issues started. Aside from the data sources nothing else changed in this fork right?

                          J V 2 Replies Last reply Reply Quote 0
                          • J Offline
                            j.e.f.f Project Sponsor Module Developer @Wedee
                            last edited by

                            @wedee Sportsnet changed their feed. Unfortunately the new one is quite different in format so it’s taking me a bit of time to write a fix. Hopefully I’ll have a release soon.

                            W 1 Reply Last reply Reply Quote 1
                            • W Offline
                              Wedee @j.e.f.f
                              last edited by

                              @j-e-f-f
                              Thanks for the reply. Look forward to the update.

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                homerj99
                                last edited by

                                Just noticed in NHL Scores that Vegas Knights Logo was not appearing, just the abbreviation of VGS appearing, I copied the logo and renamed it VGS, logo now appearing, perhaps due to ESPN labeling? Just thought I would share

                                V 1 Reply Last reply Reply Quote 0
                                • V Offline
                                  vinp Module Developer @Wedee
                                  last edited by

                                  @wedee thanks for the corrected steps. I will look on Thanksgiving if mine shows NFL. Nothing major should have changed. Rams were updated to to be LAR. Outside that my fork was primairly to add more soccer leagues. I do have NHL and NBA on my setup at home

                                  1 Reply Last reply Reply Quote 0
                                  • V Offline
                                    vinp Module Developer @homerj99
                                    last edited by

                                    @homerj99 I just realized that the logos for NHL can be taken right from the ESPN feed. I have updated my code to include that change (VGS should show up next time they play) To get latest: do a “git pull” after you CD into the MMM-MyScoreboard directory. thanks!

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

                                      hey, @vinp -

                                      I filed this as an issue on the main fork - was wondering if you’d be interested in adding this for me, as I’m just a beginner in javascript and don’t fully understand what’s going on here.

                                      For leagues that are currently “Out of Season” or off for the day, can we get output like “[league name] - No games scheduled” - This would prevent blank screens in my case, where I have MMM-Carousel running to page between sports.

                                      “MLB - No Games Scheduled”
                                      “NBA - No Games Scheduled”
                                      “NCAAF - No Games Scheduled”
                                      etc.

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

                                      J N 2 Replies Last reply Reply Quote 0
                                      • V Offline
                                        vinp Module Developer
                                        last edited by

                                        Yeah that’s a good one. I also use the carousel and see this happening. I can take a look maybe this weekend.

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

                                          Hey all.

                                          The Sportsnet feed has been fixed. This will fix issues with NHL, NFL, CFL, MLS and MLB.

                                          I’ve tested this with NHL and NFL and so far it looks good. Let me know if you run into issues with other sports.

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

                                            @bkeyport said in MMM-MyScoreboard:

                                            hey, @vinp -

                                            I filed this as an issue on the main fork - was wondering if you’d be interested in adding this for me, as I’m just a beginner in javascript and don’t fully understand what’s going on here.

                                            For leagues that are currently “Out of Season” or off for the day, can we get output like “[league name] - No games scheduled” - This would prevent blank screens in my case, where I have MMM-Carousel running to page between sports.

                                            “MLB - No Games Scheduled”
                                            “NBA - No Games Scheduled”
                                            “NCAAF - No Games Scheduled”
                                            etc.

                                            My module is intended to use as little space as possible. When no games are scheduled for your current config, either because the sport is out of season or there are simply no games scheduled for that particular day, the sport is completely hidden to reclaim space.

                                            1 Reply Last reply Reply Quote 1

                                            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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 13
                                            • 14
                                            • 8 / 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