MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. hugopvl
    3. Posts
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by hugopvl

    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @sdetweil

      supposed to be the right one, but if you read my previous comment, you can see that it wasn’t working, it just worked with the change in MMM-soccer.js

      THX

      posted in Sport
      H
      hugopvl
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @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

      posted in Sport
      H
      hugopvl
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @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

      posted in Sport
      H
      hugopvl
    • 1 / 1