• 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.

TESTERS WANTED - Multi-sport Scoreboard module

Scheduled Pinned Locked Moved Development
15 Posts 5 Posters 7.9k 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.
  • N Offline
    nhl @j.e.f.f
    last edited by Jun 2, 2017, 1:18 PM

    @j.e.f.f So far everything has been working smoothly. The only thing I’ve noticed is the Chicago White Sox icon is labeled wrong. It should read CWS instead of CHW

    J 1 Reply Last reply Jun 2, 2017, 2:15 PM Reply Quote 0
    • J Offline
      j.e.f.f Project Sponsor Module Developer @nhl
      last edited by Jun 2, 2017, 2:15 PM

      @nhl Thanks for catching that! There were a few other logos that weren’t quite right too. I’ve just pushed an update. Do a git pull and let me know if it fixes things for you.

      N 1 Reply Last reply Jun 2, 2017, 2:24 PM Reply Quote 0
      • N Offline
        nhl @j.e.f.f
        last edited by Jun 2, 2017, 2:24 PM

        @j.e.f.f Looks good! Is there an easy way to resize the rows? If you have more then 3 or 4 items, it kind of takes over the mirror.

        J 1 Reply Last reply Jun 2, 2017, 2:32 PM Reply Quote 0
        • J Offline
          j.e.f.f Project Sponsor Module Developer @nhl
          last edited by Jun 2, 2017, 2:32 PM

          @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 C 2 Replies Last reply Jun 2, 2017, 2:53 PM Reply Quote 1
          • N Offline
            nhl @j.e.f.f
            last edited by Jun 2, 2017, 2:53 PM

            @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 Jun 2, 2017, 11:14 PM

              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 Jun 6, 2017, 4:03 AM Reply Quote 0
              • C Offline
                cowboysdude Module Developer @j.e.f.f
                last edited by Jun 3, 2017, 2:06 AM

                @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 Jun 6, 2017, 4:03 AM Jun 6, 2017, 3:57 AM

                  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 Jun 6, 2017, 4:03 AM

                    @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
                    2 / 2
                    • First post
                      11/15
                      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