MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    NCAA Bracket

    Sport
    2
    3
    1173
    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.
    • S
      sanj926 last edited by

      Re: MMM-MyScoreboard

      Hey! Love the scoreboard. Today I was trying to get the NCAAM to work, but no teams in the bracket challenge came up. Is that something still in progress? Is there a way to add that functionality?

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

        @sanj926 Support for March Madness has been added. You configure it as if it were a separate league. I’ve also added a label parameter you can specify to change the name that is displayed in the league separator (if you’re using it). That way you could have it display something like “March Madness” instead of “NCAAM_MM”

        Example:

        {
          module: "MMM-MyScoreboard",
          position: "top_right",
          classes: "default everyone",
          header: "My Scoreboard",
          config: {
            showLeagueSeparators: true,
            colored: true,
            viewStyle: "mediumLogos",
            sports: [
              {
                league: "NCAAM"    //Division I
              },
              {
                league: "NCAAM_MM",    //March Madness
                label: "March Madness"
              }
            ]
        
          }
        },
        

        It’s kind of a hacky solution… I would have preferred to treat March Madness as if it were a subgroup, much like specifying a division, but I don’t think it’s possible to retrieve Division I and March Madness in the same API call. It will take a bit of rearchitecting my provider system to allow multiple calls for a single league. This will have to do for now.

        S 1 Reply Last reply Reply Quote 0
        • S
          sanj926 @j.e.f.f last edited by

          @j.e.f.f

          Excellent! Can’t wait to try it later today. Thank you

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