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 252.7k 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 @Egnos
      last edited by

      @egnos said in MMM-SoccerLiveScore:

      @0m4r thanks for answering me.
      Now it works without my intervention!

      Where can I find the news you are working on?

      Thanks, module works fine.
      One question: I just set the standings without table and without text. I would like to show it in die top_bar.
      config:

      {
      	module: 'MMM-SoccerLiveScore',
      	position: 'top_left',
      	header: 'Live-Scores',
      	config: {
      		leagues: [35],
              showNames: false,
              showLogos: true,
              displayTime: 60 * 1000,
              showTables: false
      	}
      },
      

      my problem is, the weidth is over the whole monitor (standings in the middle, but the logos on the maximum left and maximum right side. so the other modules are too far down. Is it possible to set the module with a fix width f.e. 400px?

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

        uhm… the problem is that you may not be able to see the whole standings then.
        I have also go got a similar problem and still have not found a real solution.

        Ayway, you can try to add in the custom.css something like:

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

        https://github.com/0m4r

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

          @0m4r said in MMM-SoccerLiveScore:

          uhm… the problem is that you may not be able to see the whole standings then.
          I have also go got a similar problem and still have not found a real solution.

          Ayway, you can try to add in the custom.css something like:

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

          Hm. Tried it without success.
          But i dont understand. Between 0:0 and the logos is so much space… and on the top, there is an underline filling the whole width… in the Screenshot from this Module, the logos were still between the results…

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

            @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;
            }
            

            https://github.com/0m4r

            S 1 Reply Last reply Reply Quote 0
            • 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
                        • 1
                        • 2
                        • 9
                        • 10
                        • 11
                        • 12
                        • 13
                        • 18
                        • 19
                        • 11 / 19
                        • 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