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.
    • N Offline
      number1dan @j.e.f.f
      last edited by

      @j.e.f.f The league teams stay the same for a season approx 6 months, and then there’s relagation/promotion as with other sports so the logos will be fixed for the most part. Could possibly get the team logos from the lol.gamepedia, http://lol.gamepedia.com/File:Team_SoloMid.png is one logo there. Could get annoying around promos time to keep up with all the new logos but http://lol.gamepedia.com/File:[Team_Name_from_JSON].png could sort you out automatically? With maybe just a placeholder image or text if it doesnt work. The scores can be number of games won in the best of 3 like you said; 2-1, 0-1 or whatever. Could probs have different colour font for fixture complete. Easy peezy way I would think is if Team A score plus Team B score = 3 then font =Yellow to indicate fixture complete and standard white font to show currently being played or not started.

      There’s a couple matches a day played over the weekend, so its works well with only showing the days matches, so it would show
      TSM 1:1 CLG
      C9 VS FLY etc.

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

        @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 Reply Quote 0
        • J Offline
          j.e.f.f Project Sponsor Module Developer @nhl
          last edited by

          @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 Reply Quote 0
          • N Offline
            nhl @j.e.f.f
            last edited by

            @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 Reply Quote 0
            • 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
                        • 1 / 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