• 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 401.0k 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer @Egnos
    last edited by Jan 3, 2021, 12:46 PM

    @Egnos Requires version >= 2.14 of MagicMirror!

    [02:57:33.259] [LOG] Starting MagicMirror: v2.10.1

    Your mirror is not up to date

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

    E 1 Reply Last reply Jan 6, 2021, 1:10 AM Reply Quote 1
    • E Offline
      Egnos @strawberry 3.141
      last edited by Jan 6, 2021, 1:10 AM

      @strawberry-3-141 ok thanks!
      I have updated Magic Mirror to the latest version.
      Now I only see “LOADING IN PROGRESS”, below the error:

      [ERROR] Getting league table: 403 Forbidden
      

      Where am I wrong now?

      Many Thanks.

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

      S 1 Reply Last reply Jan 6, 2021, 6:06 AM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @Egnos
        last edited by Jan 6, 2021, 6:06 AM

        @Egnos seeing your previous post with the config, your league probably requires a free API key.

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

        E 1 Reply Last reply Jan 6, 2021, 1:27 PM Reply Quote 0
        • E Offline
          Egnos @strawberry 3.141
          last edited by Jan 6, 2021, 1:27 PM

          @strawberry-3-141
          The Italian Serie aA championship should be free. Also if I try to enter the site in the section of the Italian Serie A championship but I get this error:

          Italy Serie A

          Are you sure the site works?

          Many thanks.

          My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

          S 1 Reply Last reply Jan 6, 2021, 7:25 PM Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @Egnos
            last edited by Jan 6, 2021, 7:25 PM

            @Egnos the module doesn’t make use of the site native-stats.org. You need to specify the api key in the config such as api_key: 'YOUR_API_KEY',. https://www.football-data.org/client/register

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

            E 1 Reply Last reply Jan 6, 2021, 11:33 PM Reply Quote 0
            • E Offline
              Egnos @strawberry 3.141
              last edited by Jan 6, 2021, 11:33 PM

              @strawberry-3-141 with the Api Key works!
              Thanks.

              My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

              1 Reply Last reply Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer
                last edited by Feb 13, 2021, 7:17 AM

                2.2.1

                Fixed

                • Nunjuck template was rendering one team less than specified in config

                https://github.com/fewieden/MMM-soccer

                [card:fewieden/MMM-soccer]

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

                H 1 Reply Last reply Mar 24, 2021, 6:57 PM Reply Quote 1
                • H Offline
                  hugopvl @strawberry 3.141
                  last edited by Mar 24, 2021, 6:57 PM

                  @strawberry-3-141

                  Hello,
                  I’ve been here for a few hours trying to get Portugal’s first league up and running, and from what I see it’s free, but it’s always charging and it doesn’t work. if you put germany it works correctly.

                  i try: don’t work
                  {
                  module: ‘MMM-soccer’,
                  position: ‘top_left’,
                  config: {
                  api_key: ‘24ea5f89c975401c90bdccb9dd5c16df’,
                  show: ‘PORTUGAL’,
                  league: {“PORTUGAL”: “PPL”},
                  logos: false,
                  colored: false,
                  max_teams: 7
                  }
                  }
                  this: dont work
                  {
                  module: ‘MMM-soccer’,
                  position: ‘top_left’,
                  config: {
                  api_key: ‘24ea5f89c975401c90bdccb9dd5c16df’,
                  show: ‘PORTUGAL’,
                  logos: false,
                  colored: false,
                  max_teams: 7
                  }
                  }

                  this: work fine

                  {
                  module: ‘MMM-soccer’,
                  position: ‘top_left’,
                  config: {
                  api_key: ‘24ea5f89c975401c90bdccb9dd5c16df’,
                  show: ‘GERMANY’,
                  logos: false,
                  colored: false,
                  max_teams: 7
                  }
                  }

                  thank so mutch

                  H 1 Reply Last reply Mar 25, 2021, 11:56 AM Reply Quote 1
                  • H Offline
                    hugopvl @hugopvl
                    last edited by Mar 25, 2021, 11:56 AM

                    @hugopvl

                    I found the problem,

                    inside the folder of the module:

                    file MMM-soccer.js

                    defaults: {
                        api_key: false,
                        colored: false,
                        **show: 'PORTUGAL',**
                        focus_on: false,
                        max_teams: false,
                        logos: false,
                        leagues: {
                            **PORTUGAL: 'PPL',**
                            FRANCE: 'FL1',
                            ENGLAND: 'PL',
                            SPAIN: 'PD',
                            ITALY: 'SA'
                        }
                    

                    so I think the module is only loading the leagues that are in the list as default, I added Portugal as default and added it to the leagues in the list below and it already works correctly.

                    THX

                    S 1 Reply Last reply Mar 25, 2021, 12:02 PM Reply Quote 0
                    • S Offline
                      sdetweil @hugopvl
                      last edited by Mar 25, 2021, 12:02 PM

                      @hugopvl but u can do that in config.js

                      anything in defaults can be replaced w similar notation in the module config section

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      lavolp3L H 2 Replies Last reply Mar 25, 2021, 12:04 PM Reply Quote 0
                      • 1
                      • 2
                      • 17
                      • 18
                      • 19
                      • 20
                      • 21
                      • 19 / 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