• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 16.9k 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.
  • T Offline
    Trentent
    last edited by yawns Jan 24, 2017, 11:14 AM Dec 4, 2016, 8:11 AM

    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:

    [card:Trentent/MMM-NHL]


    Initial Version

    1 Reply Last reply Reply Quote 1
    • T Offline
      Trentent
      last edited by Dec 4, 2016, 8:13 AM

      This post is deleted!
      S 1 Reply Last reply Dec 4, 2016, 9:53 AM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @Trentent
        last edited by Dec 4, 2016, 9:53 AM

        @Trentent there are still some unused leftovers from the nfl module in your code and you could have saved same time :D 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 Offline
          Trentent
          last edited by Dec 5, 2016, 2:37 AM

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

          O 1 Reply Last reply Dec 13, 2016, 2:31 PM Reply Quote 0
          • O Offline
            ooom416354 @Trentent
            last edited by Dec 13, 2016, 2:31 PM

            @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?

            S 1 Reply Last reply Dec 13, 2016, 4:50 PM Reply Quote 0
            • S Offline
              strawberry 3.141 Project Sponsor Module Developer @ooom416354
              last edited by Dec 13, 2016, 4:50 PM

              @ooom416354 try focus_on: [2]

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

              S O 2 Replies Last reply Dec 19, 2016, 2:46 AM Reply Quote 0
              • S Offline
                Sunburned @strawberry 3.141
                last edited by Dec 19, 2016, 2:46 AM

                @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
                • O Offline
                  ooom416354 @strawberry 3.141
                  last edited by Dec 21, 2016, 4:30 AM

                  @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
                  • O Offline
                    ooom416354
                    last edited by Dec 24, 2016, 8:50 PM

                    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

                    O 1 Reply Last reply Dec 26, 2016, 4:16 AM Reply Quote 0
                    • O Offline
                      ooom416354 @ooom416354
                      last edited by Dec 26, 2016, 4:16 AM

                      @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 Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy