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

Scheduled Pinned Locked Moved Sport
51 Posts 8 Posters 16.0k Views 8 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.
  • L Offline
    lavolp3 Module Developer @matze86
    last edited by lavolp3 Mar 25, 2021, 10:39 PM Mar 25, 2021, 10:39 PM

    @matze86 said in MMM-soccer v2:

    I think the api also does Not give the Information about the time of Match?

    It does.
    Usually APIs work with timestamps or date strings including date and time.
    My module is set to only show the time at the day of match. It does not show date AND time due to limited space.

    if (match.status == "SCHEDULED" || match.status == "POSTPONED") {
                        match.state = (moment(match.utcDate).diff(moment(), 'days') > 7) ? moment(match.utcDate).format("D.MM.") : (moment(match.utcDate).startOf('day') > moment()) ? moment(match.utcDate).format("dd") : moment(match.utcDate).format("LT");
                    
    

    How to troubleshoot modules
    MMM-soccer v2, MMM-AVStock

    M 1 Reply Last reply Mar 26, 2021, 9:13 PM Reply Quote 0
    • M Offline
      matze86 @lavolp3
      last edited by Mar 26, 2021, 9:13 PM

      @lavolp3

      thx. now i’ll come closer to a perfect overview :thumbs_up:

      1 Reply Last reply Reply Quote 0
      • E Offline
        Egnos
        last edited by Egnos Sep 1, 2022, 12:11 PM Sep 1, 2022, 12:11 PM

        Hi @lavolp3 I downloaded your module from here:
        https://bytemeta.vip/repo/lavolp3/MMM-soccer

        But for some reason the results of the Champions League do not show the logos of the teams and also the results seem to me formatted badly.
        Am I doing something wrong?
        Follow a screenshot:
        2022-09-01-135409-3280x1050-scrot

        Here is the config.js:

        {
            module: 'MMM-soccer',
            position: 'top_right',
            config: {
                api_key: '2c709c5e9c9a491a88b810c43ae00f0e',
                show: ['SA'],
                colored: true,
                logos: true,
                updateInterval: 60,
                showTables: false,
                focus_on: {
        			'SA': 'FC Juventus'
        					},
                max_teams: 5,
                matchType: 'league'
        			}
        		},
        		
        		{
            module: 'MMM-soccer',
            position: 'top_left',
            config: {
                api_key: '2c709c5e9c9a491a88b810c43ae00f0e',
                show: ['CL'],
                logos: true,
                colored: true,
                updateInterval: 60,
                focus_on: {
        			'CL': 'FC Juventus'
        					},
                max_teams: 5,
                matchType: 'league'
        			}
        		},
        

        Thanks.

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

        1 Reply Last reply Reply Quote 0
        • T Offline
          thymon
          last edited by Aug 26, 2023, 8:10 PM

          Hello,

          the same here with FL1 league.

          67bd51cc-f7fa-4016-b103-2670ee43d1de-image.png

          T 1 Reply Last reply Aug 28, 2023, 10:14 PM Reply Quote 0
          • T Offline
            thymon @thymon
            last edited by thymon Aug 28, 2023, 10:29 PM Aug 28, 2023, 10:14 PM

            Hello @lavolp3 !

            Please don’t let this “module” die. You are the last.
            You are Highlander !! :D

            L 1 Reply Last reply Aug 30, 2023, 11:29 AM Reply Quote 1
            • L Offline
              lavolp3 Module Developer @thymon
              last edited by Aug 30, 2023, 11:29 AM

              @thymon thanks thymon for the wake up call. I am updating the module right now. Logos already work again. Stay tuned!

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              L 1 Reply Last reply Aug 30, 2023, 12:09 PM Reply Quote 1
              • L Offline
                lavolp3 Module Developer @lavolp3
                last edited by Aug 30, 2023, 12:09 PM

                @thymon
                please do a git pull and check out.
                Hope it works!
                Got a bit rusty on the programming after 3 years…

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                T 1 Reply Last reply Aug 30, 2023, 5:52 PM Reply Quote 0
                • T Offline
                  thymon @lavolp3
                  last edited by thymon Aug 30, 2023, 6:01 PM Aug 30, 2023, 5:52 PM

                  @lavolp3

                  Finally, you are not rusty.
                  Because everything works now.

                  Thank you so much for your responsiveness!

                  Is-it possible to add “fr.json” translation ?

                  {
                  "LOADING": "Chargement...",
                  "NO_DATA_AVAILABLE": "Aucune donnée disponible !",
                  "NO_MATCHES": "Aucune correspondance",
                  "TODAYS_MATCHES": "Aujourd'hui",
                  "NEXT_MATCHES": "Prochains matchs",
                  "MATCHDAY": "Jour de match",
                  "TEAM": "Équipe",
                  "COMMAND_LIST": "Liste de toutes les commandes vocales",
                  "MODE": "Mode",
                  "VOICE_COMMANDS": "Commandes vocales",
                  "PLAY_OFF_ROUND": "Tour de barrages",
                  "ROUND_OF_16": "Huitièmes de finale",
                  "ROUND_OF_8": "Quarts de finale",
                  "ROUND_OF_4": "Demi-finales",
                  "FINAL": "Finales"
                  }
                  
                  
                  
                  
                  
                  
                  L 1 Reply Last reply Aug 30, 2023, 8:48 PM Reply Quote 0
                  • L Offline
                    lavolp3 Module Developer @thymon
                    last edited by Aug 30, 2023, 8:48 PM

                    @thymon for sure it is, but will need a few days probably

                    How to troubleshoot modules
                    MMM-soccer v2, MMM-AVStock

                    T 1 Reply Last reply Aug 31, 2023, 8:40 AM Reply Quote 0
                    • T Offline
                      thymon @lavolp3
                      last edited by Aug 31, 2023, 8:40 AM

                      @lavolp3 Great !
                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      • 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