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.

    TESTERS WANTED - Multi-sport Scoreboard module

    Scheduled Pinned Locked Moved Development
    15 Posts 5 Posters 9.0k Views 5 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 @nhl
      last edited by

      @nhl Yeah I’m planning on adding some size configuration parameters (i.e.: compact mode) to deal with this specifically. I wanted to make sure I got the data pull mechanism rock solid first, but it’s definitely in the works!

      Meanwhile, if you don’t want to wait, you can try your hand at CSS. Just put a bunch of rules in your custom.css file to reformat any way you like. The elements are absolutely positioned, so you have quite a bit of freedom to move things around.

      N cowboysdudeC 2 Replies Last reply Reply Quote 1
      • N Offline
        nhl @j.e.f.f
        last edited by

        @j.e.f.f Sweet. So far so good!
        0_1496415194703_upload-4b5f76e7-4726-4380-a485-ccfe23f290a0

        1 Reply Last reply Reply Quote 0
        • D Offline
          d3r
          last edited by

          Just installed the module. Looking good so far. Monitoring it while the Jays game is on. Looking forward to the updates. Specially the MLS one.

          J 1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer @j.e.f.f
            last edited by

            @j.e.f.f It looks really good! :)

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

              OK Nearing a release candidate! I just pushed an update that includes the following:

              • 6 available view styles to choose from (see screenshot below)
              • header is now configured using the standard header parameter, no longer in the config object. The old configOptions showHeader and headerText no longer have any effect. If you don’t want a header, omit the header parameter (see sample config below).
              • a number of bug fixes

              sample config

              {
                module: "MMM-MyScoreboard",
                position: "top_right",
                classes: "default everyone",
                header: "My Scoreboard",   //specify header here now, omit if you don't want a header
                config: {
                  showLeagueSeparators: true,
                  colored: true,
                  viewStyle: "mediumLogos",
                  sports: [
                    {
                      league: "NHL",
                      teams: ["TOR", "PIT"]
                    },
                    {
                      league: "NBA",
                      teams: ["TOR"]
                    },
                    {
                      league: "MLB",
                      teams: ["TOR", "CHW", "NYY"]
                    },
                  ]
              
                }
              },
              

              view styles:

              0_1496721317736_viewStyles.jpg

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

                @d3r looks like I won’t be able to add MLS. Turns out there is no public API available, and I don’t really want to go down the route of scraping a web site. Still going to add NFL, and hopefully CFL (still looking for an API).

                The good news, is that I’ve set this up to be modular. Adding sports is a fairly easy thing to do when an API becomes available. If MLS decides to make available an API, it’s maybe a couple of hour’s worth of effort to get it set up.

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