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-SoccerLiveScore

    Scheduled Pinned Locked Moved Sport
    187 Posts 37 Posters 288.3k Views 35 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
      schlittrix @0m4r
      last edited by

      @0m4r said in MMM-SoccerLiveScore:

      @schlittrix I have done some changes and have not updated the screenshots :P
      I may need to review the layout with only the logos “on”.
      … btw, I realized, I gave you the wrong piece of code, that one would fix the height, but you asked for the width, can you try like this:

      .module.MMM-SoccerLiveScore {
          max-width: 400px; //any value that fits you
          overflow: hidden;
      }
      

      aaah okay :D
      yeah, I realized the height-width mix, but also tried it with width… no success :(

      0m4r0 1 Reply Last reply Reply Quote 0
      • 0m4r0 Offline
        0m4r Module Developer @schlittrix
        last edited by

        @schlittrix I just tried this:

        .module.MMM-SoccerLiveScore {
          max-width: 400px;
          overflow: hidden;
          background-color: red; // debug only
        }
        

        and it seems to work

        5c182be2-09e7-4f3d-9893-f141ace01adb-image.png

        https://github.com/0m4r

        0m4r0 1 Reply Last reply Reply Quote 0
        • 0m4r0 Offline
          0m4r Module Developer @0m4r
          last edited by 0m4r

          I have just released a new version on the master branch of my own fork of this module, it is available here: https://github.com/0m4r/MMM-SoccerLiveScore.

          There are a lot of code cleanups, refactoring, and improvements.
          There are also a few new features:

          • enable the display of the “scorers” for the leagues.
          • tables display a red pulsating dot on the game that are “live” at that moment in time
          • is it possible to only display one of the standings, tables, and scorers
          • headers display more information about (league name and round!)
          • table got faded colors to indicate relevant positions

          As a plus, as it was reported to me already before, the logo of Juventus is not visible! (@Egnos this is for you!)

          https://raw.githubusercontent.com/0m4r/MMM-SoccerLiveScore/master/MMM-SoccerLiveScores-Scorers.png

          https://raw.githubusercontent.com/0m4r/MMM-SoccerLiveScore/master/MMM-SoccerLiveScores-Tables.png

          https://raw.githubusercontent.com/0m4r/MMM-SoccerLiveScore/master/MMM-SoccerLiveScores-Standings.png

          https://github.com/0m4r

          lavolp3L 1 Reply Last reply Reply Quote 1
          • 0m4r0 Offline
            0m4r Module Developer @Egnos
            last edited by

            @egnos this should be fixed with the last release, see https://forum.magicmirror.builders/topic/1169/mmm-soccerlivescore/103?_=1617689765014

            https://github.com/0m4r

            1 Reply Last reply Reply Quote 0
            • lavolp3L Offline
              lavolp3 Module Developer @0m4r
              last edited by

              @0m4r YOur module is looking better and better. Have you had the cahnce to look for more details about game scores.
              I’m looking for something like

                          Manchester City     2 - 1    Dortmund
                           1:0 De Bruyne 19' 1:1 Reus 84' 
                           2:1 Foden 90'
              

              to show on first sight.

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

              0m4r0 1 Reply Last reply Reply Quote 0
              • 0m4r0 Offline
                0m4r Module Developer @lavolp3
                last edited by

                @lavolp3 yes, I have had a look into it and it is in the making. I do not get to have much time to work on this side project, so you may need to wait a little longer for it to happen.
                I’ll let you know if I have a development version to show.

                …and thanks for the compliments! ;)

                https://github.com/0m4r

                lavolp3L 1 Reply Last reply Reply Quote 0
                • lavolp3L Offline
                  lavolp3 Module Developer @0m4r
                  last edited by

                  @0m4r Happy to help out with the development if you can provide the raw data from the API.
                  Cheers!

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

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Sceetch
                    last edited by

                    Hi together,

                    im using this wonderful module to display the live scores + standing. It works really good.

                    I noticed that the standings of LaLiga (Spain) and Serie A (Italia) are not displayed.
                    Is there any way to fix it.? Does anybody know this issue?
                    Where does the module get the data from?

                    Thx in advance.

                    0m4r0 1 Reply Last reply Reply Quote 0
                    • 0m4r0 Offline
                      0m4r Module Developer @Sceetch
                      last edited by

                      @sceetch weird, it works god for me… can you show me your configuration for the module?

                      https://github.com/0m4r

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Sceetch @0m4r
                        last edited by

                        @0m4r it’s more or less the standard config.

                        i will make a video today evening

                        {
                          module: 'MMM-SoccerLiveScore',
                          position: 'top_center',
                          header: 'Live-Scores',
                          config: {
                            leagues: [35, 17, 8, 23, 34],
                              showNames: true,
                              showLogos: true,
                              displayTime: 30 * 1000,
                              showStandings: true,
                              showTables: true,
                              showScorers: false,
                          }
                        },
                        
                        0m4r0 1 Reply Last reply Reply Quote 0
                        • 0m4r0 Offline
                          0m4r Module Developer @Sceetch
                          last edited by

                          @sceetch said in MMM-SoccerLiveScore:

                          I tried your config, and it works for me…

                          Is the code of the module updated?
                          could you try a “git pull -r” from inside the module root folder?
                          and restart the magic mirror?

                          https://github.com/0m4r

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            Sceetch @0m4r
                            last edited by

                            @0m4r

                            i tried the command “git pull -r”, but the module is current.

                            Here you can take a look on the video

                            https://www.youtube.com/watch?v=5IUNyEKqkgQ

                            Here the code for it.

                            {
                              module: 'MMM-SoccerLiveScore',
                              position: 'top_center',
                              header: 'Live-Scores',
                              config: {
                                leagues: [35, 44, 17, 8, 23, 34,],
                                  showNames: true,
                                  showLogos: true,
                                  displayTime: 20 * 1000,
                                  showStandings: true,
                                  showTables: true,
                                  showScorers: false,
                              }
                            

                            You can see there is a gap / no shown the standings of LaLiga and ligue 1.

                            I also tried to change the size of the module, to make it a little bit larger (in general bigger). I used the commands of the previously posts. But there happend nothing.
                            Do you have any idea?

                            0m4r0 1 Reply Last reply Reply Quote 0
                            • 0m4r0 Offline
                              0m4r Module Developer @Sceetch
                              last edited by

                              @sceetch said in MMM-SoccerLiveScore:

                              showStandings: true,
                              showTables: true, 
                              showScorers: true,
                              

                              does it also happens if you set all of the above to “true”?
                              and, can you try using only the league id of one of the two that gives the problem?

                              https://github.com/0m4r

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                Sceetch @0m4r
                                last edited by

                                @0m4r
                                If i set all three to “true” it seems to work. But i don’t need der table of the scorers.

                                If i set this one on false

                                showScorers: false,
                                

                                the standing error already exists. I dont know what is the raeason there?? Because in my opinion it happend randomly.
                                For some days i told you that the italien an french league standings are missing.

                                Today i miss the Bundesliga an Laliga. I have no clue.
                                But this all happend if i switch the scorers parameter on false.

                                0m4r0 2 Replies Last reply Reply Quote 0
                                • 0m4r0 Offline
                                  0m4r Module Developer @Sceetch
                                  last edited by

                                  @sceetch hi, thanks for reporting all of the information. They are going to be helpful to get the problem solved.
                                  It just may take a while as I work on it only in my spare time… please be patient :)

                                  Would you mind reporting it as a bug in github: https://github.com/0m4r/MMM-SoccerLiveScore/issues?

                                  https://github.com/0m4r

                                  1 Reply Last reply Reply Quote 0
                                  • 0m4r0 Offline
                                    0m4r Module Developer
                                    last edited by

                                    I have added a new feature to the module, it is not released yet on the master branch but it is available from a development branch here:
                                    https://github.com/0m4r/MMM-SoccerLiveScore/tree/feat/match-details

                                    It is now possible to show the goal scorers within the standings by settings “showDetails: true”.
                                    The scorers are shown right below the game row and they will scroll from right-to-left.

                                    Let me know what do you think!

                                    https://github.com/0m4r/MMM-SoccerLiveScore/blob/b227e43aba9e371af166e78ee1070fa778e134ae/screenhosts/MMM-SoccerLiveScores-Standings+Details.png

                                    https://github.com/0m4r

                                    lavolp3L 1 Reply Last reply Reply Quote 1
                                    • 0m4r0 Offline
                                      0m4r Module Developer @Sceetch
                                      last edited by

                                      @sceetch I have added a bug: https://github.com/0m4r/MMM-SoccerLiveScore/issues/3

                                      https://github.com/0m4r

                                      1 Reply Last reply Reply Quote 0
                                      • lavolp3L Offline
                                        lavolp3 Module Developer @0m4r
                                        last edited by

                                        I have added a new feature to the module, it is not released yet on the master branch but it is available from a development branch here:
                                        https://github.com/0m4r/MMM-SoccerLiveScore/tree/feat/match-details

                                        It is now possible to show the goal scorers within the standings by settings “showDetails: true”.
                                        The scorers are shown right below the game row and they will scroll from right-to-left.

                                        Let me know what do you think!

                                        What I think?
                                        GREAT I think!!

                                        Now for the problem. There are two very good soccer modules now each with its own advantages.
                                        MMM-soccer and MMM-SoccerLiveScore.
                                        Yours has one major advantage which is the API.

                                        A shame that they are not one module.

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

                                        1 Reply Last reply Reply Quote 1
                                        • N Offline
                                          np27np27
                                          last edited by

                                          Hi, great module and works perfectly.

                                          I would like to see the Euro championship scores from next week. I cant see a league for it. Is it possible??

                                          0m4r0 2 Replies Last reply Reply Quote 0
                                          • 0m4r0 Offline
                                            0m4r Module Developer @np27np27
                                            last edited by

                                            @np27np27 same here! but unfortunately, the APIs do not support euro 2020.

                                            https://github.com/0m4r

                                            N 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 6 / 10
                                            • 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