MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    MMM-NHL - NHL Score and Schedule module

    Sport
    13
    25
    11497
    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.
    • T
      Trentent last edited by yawns

      Description:

      Hello, I have created a module that shows the NHL schedule and scores for the previous day, today, and (optional) days in the future. I copied the brilliant NFL score module than proceeded to make numerous modifications to enable it to work with the NHL and their feeds.

      Several of the features of the NFL module has been removed or have gone untested (follwed team/voice/statistics) so this module is pretty basic in comparison but accomplishes what I was looking for.

      I am a total newb to javascript and have not coded in a node.js architecture before so I’m sure I’ve done lots wrong or have lots of mistakes that could use correcting. If you see some, feel free to submit back or just fork and take that responsibility away from me 🙂

      Thanks for looking!

      Screenshot:

      0_1480838925896_example.jpg

      Download:


      Initial Version

      1 Reply Last reply Reply Quote 1
      • T
        Trentent last edited by

        This post is deleted!
        strawberry 3.141 1 Reply Last reply Reply Quote 0
        • strawberry 3.141
          strawberry 3.141 Project Sponsor Module Developer @Trentent last edited by

          @Trentent there are still some unused leftovers from the nfl module in your code and you could have saved same time 😃 already made a nhl module, but now people can choose different styles

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 1
          • T
            Trentent last edited by

            I swear I tried finding an NHL module and couldn’t so decided to try making it myself! Heh, well thanks for making one!

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

              @Trentent Hey, I just did this with the NFL module but am wondering if I can only show one team in the NHL module? I tried focus_on: [‘NYI’] (yes I am an Isles fan, ugh). This didn’t work, is there something else I need to change?

              strawberry 3.141 1 Reply Last reply Reply Quote 0
              • strawberry 3.141
                strawberry 3.141 Project Sponsor Module Developer @ooom416354 last edited by

                @ooom416354 try focus_on: [2]

                Please create a github issue if you need help, so I can keep track

                S ooom416354 2 Replies Last reply Reply Quote 0
                • S
                  Sunburned @strawberry 3.141 last edited by

                  @strawberry-3.141 said in NHL Score and Schedule module:

                  focus_on: [2]

                  Thanks for posting this! Really only interesting the NY Rangers. The full list of teams can be found in the .js file.

                  https://github.com/Trentent/MMM-NHL/blob/master/MMM-NHL.js

                  1 Reply Last reply Reply Quote 0
                  • ooom416354
                    ooom416354 @strawberry 3.141 last edited by

                    @strawberry-3.141

                    @strawberry-3.141 said in NHL Score and Schedule module:

                    @ooom416354 try focus_on: [2]

                    worked perfectly, thanks!

                    1 Reply Last reply Reply Quote 0
                    • ooom416354
                      ooom416354 last edited by

                      anyone having an issue today with the module? i am just seeing Loading… and was wondering if it was just me or some other issue

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

                        @ooom416354 said in NHL Score and Schedule module:

                        anyone having an issue today with the module? i am just seeing Loading… and was wondering if it was just me or some other issue

                        think i figured it out, no games on the schedule for the christmas break.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy