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.5k 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.
    • 0m4r0 Offline
      0m4r Module Developer @lavolp3
      last edited by

      @lavolp3 I think with some more work it can be done…
      I am also considering to add the scorers standings for each league
      It is quite a hard work to reverse engineer the APIs, but it is fun :D

      https://github.com/0m4r

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

        @0m4r Well I don’t know anything about reverse engineering so appreciate if you find anything.

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

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Egnos @lavolp3
          last edited by

          Hi guys,
          for a couple of days I have not seen the results of Serie A (Italy) and Champions League.

          Is it just me who has this problem?
          Thank you.

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

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

            @egnos I can still see them, but I have installed my own fork which I tweaked and fixed in some places: https://github.com/0m4r/MMM-SoccerLiveScore

            If you are familiar with github you can even try some of the new features I am working on by checking out the developer branch :)

            https://github.com/0m4r

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              Egnos @0m4r
              last edited by

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

              Where can I find the news you are working on?

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

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

                @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

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

                                            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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 10 / 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