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

MMM-Soccer - Standings, Schedules and Top Scorers

Scheduled Pinned Locked Moved Sport
bundesligafootballmodalpremiere leagueprimiera divisionsoccervoice control
209 Posts 43 Posters 430.2k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @Brandlin
    last edited by Nov 15, 2017, 10:48 PM

    @Brandlin

    Again, I don’t use this module. However, it does matter to the API how you enter the team name, even if in England (or anywhere else) the proper way is Newcastle United FC. Have you tried focus on another team from another country? If it works then the problem lies with the API or the formatting of the name in the config.

    Note: Newcastle is my favorite beer. :-)

    Create a working config
    How to add modules

    B 1 Reply Last reply Nov 15, 2017, 11:14 PM Reply Quote 0
    • B Offline
      Brandlin @Mykle1
      last edited by Brandlin Nov 15, 2017, 11:16 PM Nov 15, 2017, 11:14 PM

      @Mykle1 hi, thanks for the suggestion. I’ve just tried a few teams in the format focus_on: {"ENGLAND": "FC team name"}, and it makes no difference.

      logically I would expect to use the team name exactly as displayed - which is “Newcastle United FC”. Otherwise how would anyone know what team name to use?

      Newcastle United FC
      Newcastle United
      Newcastle Utd FC
      Newcastle Utd
      Newcastle
      FC Newcastle United
      FC Newcastle Utd
      FC Newcastle
      Magpies
      are all different …

      S 1 Reply Last reply Nov 20, 2017, 11:23 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @Brandlin
        last edited by Nov 20, 2017, 11:23 PM

        @Brandlin you are right, you should use Newcastle United FC as thats the value it gets compared to from the API. Can you try and set max_teams: 5

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

        1 Reply Last reply Reply Quote 0
        • L Offline
          layman_smiles
          last edited by yawns Dec 21, 2017, 8:51 AM Dec 20, 2017, 9:52 PM

          Hi,

          Wondering if someone can help.
          Having the same issue that a few people have add around the focus_on tool.

          Here’s my code:

          {
              module: 'MMM-soccer',
              position: 'bottom_right',
              config: {
                          colored: true,
                          show: 'ENGLAND',
                          max_teams: '5',
                          leagues: {"ENGLAND": 445},
                          focus_on: {"ENGLAND": "Arsenal FC"}
              }
          },
          

          Is there something I am doing wrong?
          I have tried a few of the suggestions made before around the position of the FC e.g. ‘FC Arsenal’ and changing the max_teams line to (max_teams: 5), and none of the above have worked.

          Thanks

          S 1 Reply Last reply Dec 21, 2017, 7:12 AM Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @layman_smiles
            last edited by Dec 21, 2017, 7:12 AM

            @layman_smiles the api returns Arsenal FC so that should be the correct value and max_teams should be definetely without quotes. I will try and debug after work.

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

            L 1 Reply Last reply Dec 21, 2017, 11:32 AM Reply Quote 0
            • L Offline
              layman_smiles @strawberry 3.141
              last edited by Dec 21, 2017, 11:32 AM

              @strawberry-3.141 cheers man. i will remove the quote from the max_teams section, and wait to see what you find.

              S 1 Reply Last reply Dec 21, 2017, 8:32 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @layman_smiles
                last edited by Dec 21, 2017, 8:32 PM

                @layman_smiles as soon as i removed the quotes, I got the expected table

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

                L 1 Reply Last reply Dec 22, 2017, 4:10 PM Reply Quote 0
                • L Offline
                  layman_smiles @strawberry 3.141
                  last edited by Dec 22, 2017, 4:10 PM

                  @strawberry-3.141 cheers mate, working as it should now. Thanks for looking into this for me

                  1 Reply Last reply Reply Quote 1
                  • H Offline
                    Henrik
                    last edited by Feb 1, 2018, 7:46 PM

                    Hi @strawberry-3.141,
                    Really nice module! I have a request, if I may: It would be really good if there were an option to automatically cycle between a few leagues, instead of having to do it through voice control (which I don’t have!). Would you mind adding this?
                    Thanks in advance!

                    S 1 Reply Last reply Feb 1, 2018, 7:49 PM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @Henrik
                      last edited by Feb 1, 2018, 7:49 PM

                      @Henrik sorry I dont plan to add new feature to it, but feel free to send a pull request

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

                      H 1 Reply Last reply Feb 1, 2018, 7:50 PM Reply Quote 1
                      • 1
                      • 2
                      • 11
                      • 12
                      • 13
                      • 14
                      • 15
                      • 20
                      • 21
                      • 13 / 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