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-Soccer - Standings, Schedules and Top Scorers

    Scheduled Pinned Locked Moved Sport
    bundesligafootballmodalpremiere leagueprimiera divisionsoccervoice control
    209 Posts 43 Posters 498.6k Views 43 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
      jules
      last edited by jules

      Hi all,
      has anyone found a possibility to show just two teams of the same league?
      I want to show just two teams of the german first division.
      I tryed:

      				
      config: {
      	api_key: "XXXX",
      	focus_on: {"GERMANY": "1. FC Köln","GERMANY": "FC Schalke 04"},
      	max_teams: 2
      }
      
      

      but then the focus is only on the second team.
      With

      config: {
      	api_key: "XXXXX",
      	focus_on: {"GERMANY": "1. FC Köln","FC Schalke 04"},
      	max_teams: 2
      }
      

      I get an config error.

      It would be great if anyone knows a solution.

      thanks and best regards,
      jules

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @jules
        last edited by

        @jules With the current code base this is not possible

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

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jules @strawberry 3.141
          last edited by

          @strawberry-3.141 thanks for your fast reply. Do you think its a possibility to copy the whole MMM-soccer module, and build a version that just shows the team without the league and gameday information, than npm rebuild. and use this module directly under the original module, to just show the second team.

          Hope you get what i mean :laughing:

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @jules
            last edited by

            @jules because the teams are in the same league, you can just copy your config entry and place in the other team in focus_on. Then you have to create some css rules in custom.css to hide the header and so on

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

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jules @strawberry 3.141
              last edited by

              @strawberry-3.141 sounds good, i will try this by time.
              thank you very much

              1 Reply Last reply Reply Quote 0
              • M Offline
                McSorley
                last edited by

                I know its the off season now but any developments on cup support, i.e. Champions League?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Babene1 Project Sponsor
                  last edited by

                  The module is really great, thanks again.
                  But I have currently also the problem with “focus_on” and an team with “ö / ä / ü”
                  Any solution available?

                  strawberry 3.141S 1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @Babene1
                    last edited by

                    @Babene1 can you pls provide the config so i can investigate?

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

                    1 Reply Last reply Reply Quote 1
                    • B Offline
                      Babene1 Project Sponsor
                      last edited by

                      here is the config of the modul:

                      {
                      			module: 'MMM-soccer',
                      			position: 'top_right',
                      			config: {
                      				colored: true,
                      				focus_on: {'GERMANY': 'FC Bayern München'},
                      				max_teams:6,
                      				}
                      		},
                      
                      strawberry 3.141S 1 Reply Last reply Reply Quote 0
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer @Babene1
                        last edited by

                        @Babene1 By using your config, the team FC Bayern München is highlighted. For me everything works as expected.

                        Can you describe what happens exactly on your side?

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

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 9
                        • 10
                        • 11
                        • 12
                        • 13
                        • 20
                        • 21
                        • 11 / 21
                        • 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