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

Scheduled Pinned Locked Moved Sport
187 Posts 37 Posters 206.4k 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.
  • 0 Offline
    0m4r Module Developer @Egnos
    last edited by Feb 5, 2021, 12:11 PM

    @egnos I posted the link to the repo in my prev comment.
    Anyhow, to see the latest (under development) updates, after you cloe you need to switch to the development branch:

    from your MagicMirror home folder, enter the modules one

    cd modules

    clone the repo

    git clone https://github.com/0m4r/MMM-SoccerLiveScore

    checkout the development branch

    git checkout development

    You may need to restart MagicMirror.

    https://github.com/0m4r

    1 Reply Last reply Reply Quote 0
    • S Offline
      schlittrix @Egnos
      last edited by Mar 26, 2021, 2:56 PM

      @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?

      0 1 Reply Last reply Mar 26, 2021, 3:00 PM Reply Quote 0
      • 0 Offline
        0m4r Module Developer @schlittrix
        last edited by Mar 26, 2021, 3:00 PM

        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 Mar 26, 2021, 3:28 PM Reply Quote 0
        • S Offline
          schlittrix @0m4r
          last edited by Mar 26, 2021, 3:28 PM

          @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…

          0 1 Reply Last reply Mar 26, 2021, 3:43 PM Reply Quote 0
          • 0 Offline
            0m4r Module Developer @schlittrix
            last edited by Mar 26, 2021, 3:43 PM

            @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 Mar 26, 2021, 3:58 PM Reply Quote 0
            • S Offline
              schlittrix @0m4r
              last edited by Mar 26, 2021, 3:58 PM

              @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 :(

              0 1 Reply Last reply Mar 28, 2021, 12:03 PM Reply Quote 0
              • 0 Offline
                0m4r Module Developer @schlittrix
                last edited by Mar 28, 2021, 12:03 PM

                @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

                0 1 Reply Last reply Apr 5, 2021, 4:05 PM Reply Quote 0
                • 0 Offline
                  0m4r Module Developer @0m4r
                  last edited by 0m4r Apr 5, 2021, 4:07 PM Apr 5, 2021, 4:05 PM

                  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 Apr 7, 2021, 8:01 AM Reply Quote 1
                  • 0 Offline
                    0m4r Module Developer @Egnos
                    last edited by Apr 6, 2021, 6:17 AM

                    @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 Apr 7, 2021, 8:01 AM

                      @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

                      0 1 Reply Last reply Apr 7, 2021, 8:29 AM Reply Quote 0
                      • 1
                      • 2
                      • 8
                      • 9
                      • 10
                      • 11
                      • 12
                      • 18
                      • 19
                      • 10 / 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