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-NHL - NHL Score and Schedule module

    Scheduled Pinned Locked Moved Sport
    26 Posts 14 Posters 19.1k Views 13 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.
    • ooom416354O Offline
      ooom416354
      last edited by

      I have a small issue with the module, wondering if it’s something I screwed up. Basically it will refresh with the realtime scores for any games listed on the mirror. But after the game ends it will not add on any new scores and remove the old scores as the days move forward. for example, I have focus on the NY Islanders and they played Saturday, Sunday and Tuesday. They are scheduled to play tonight as well. On my mirror right now are the 3 previous games but not the next 3. If I reload the entire page it will update with tonights game and any future ones. Is there something I need to do to get it to update automatically without having to refresh the whole mirror?

      A ooom416354O 2 Replies Last reply Reply Quote 0
      • A Offline
        Atheose @ooom416354
        last edited by

        @ooom416354 I am having this exact issue now as well. It began last week. If I refresh the mirror the scores/schedule updates, but otherwise it does not.

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

          I’ve been playing with this module during the playoffs, and I’ve found a few bugs that were causing this module to fail. I’ve fixed them in my local copy, but I don’t know how to go about getting them incorporated into the official download.

          I’ve also changed the visual formatting for myself, and am willing to share if anyone wants it:
          0_1492924456676_Screen Shot 2017-04-23 at 1.13.59 AM.png

          Thanks for this wonderful module! Been fun watching the playoffs and tweaking this at the same time. I’d like to make similar ones for other sports – NBA, MLB, CFL – and I’m willing to provide front-end formatting if someone would take care of coding the data fetch.

          • Jeff
          R 1 Reply Last reply Reply Quote 0
          • R Offline
            reflektor @j.e.f.f
            last edited by

            @j.e.f.f I’d love to get a copy of your fixes and visual tweaks! Maybe upload the .zip somewhere and share?

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

              @reflektor Sure. I’ve done more or less the same for MLB and NBA too. Basically in each case it is a rewrite of the getDom() portion of the module, along with styles to support the new markup. Also I changed the logos to use SVG files so they would scale to whatever size I needed. Spent quite a bit of time playing around with proportions before I settled on this. PM me and I can send you the files.

              1 Reply Last reply Reply Quote 0
              • ooom416354O Offline
                ooom416354 @ooom416354
                last edited by

                @ooom416354 said in MMM-NHL - NHL Score and Schedule module:

                I have a small issue with the module, wondering if it’s something I screwed up. Basically it will refresh with the realtime scores for any games listed on the mirror. But after the game ends it will not add on any new scores and remove the old scores as the days move forward. for example, I have focus on the NY Islanders and they played Saturday, Sunday and Tuesday. They are scheduled to play tonight as well. On my mirror right now are the 3 previous games but not the next 3. If I reload the entire page it will update with tonights game and any future ones. Is there something I need to do to get it to update automatically without having to refresh the whole mirror?

                Hi, I am having this issue again where if I refresh the mirror myself, it will update otherwise it stays static. The scores change but it doesnt retrieve the future games. @Trentent is there anything I can do ?

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

                  @j-e-f-f Hi. Could I get a copy of your updated NHL files?
                  Thanks
                  @sasouter

                  J 1 Reply Last reply Reply Quote 0
                  • cowboysdudeC Offline
                    cowboysdude Module Developer
                    last edited by

                    What’s really funny about the NHL as opposed to all the other sports is that modules fail for some reason …mine did also but I haven’t had time to fix it…

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

                      @sasouter said in MMM-NHL - NHL Score and Schedule module:

                      @j-e-f-f Hi. Could I get a copy of your updated NHL files?
                      Thanks
                      @sasouter

                      I don’t have them anymore. I’ve made my own sports module called MMM-MyScoreboard that looks like what I’ve done here.

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

                        I don’t know if this should be on this module thread or the core system thread, I’ve just updated to the latest version and now this module pulses on the screen every second as it polls the nhl api. It didn’t do this prior to me upgrading yesterday, it would just be static and the score would update.

                        Is this something that is easily fixed? None of my other modules seem to have this issue but non are polling data so regularly.

                        Any clues?! Thanks!!

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