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.9k 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.
    • LukeCodewalkerL Offline
      LukeCodewalker Module Developer @bminer1
      last edited by

      @bminer1 the league names are provided by the api, so you can’t edit them :( also the info if a game is running or not is provided by the api, so maybe they had a problem with their informations.
      I’ll put alerts on my todo list

      1 Reply Last reply Reply Quote 0
      • LukeCodewalkerL Offline
        LukeCodewalker Module Developer @bminer1
        last edited by

        @bminer1 maybe no one scored a goal :D have you tried to restart the complete magic mirror process?

        1 Reply Last reply Reply Quote 0
        • D Offline
          d3r @bminer1
          last edited by d3r

          @bminer1 I installed the module on Sunday and the premier league games did get updated on mine.

          1 Reply Last reply Reply Quote 1
          • B Offline
            bminer1
            last edited by

            I had to restart and it refreshed with the latest data. Kind of defeats the purpose of a “Live Score” functionality. I also noticed the icons are the kit colors and not the actual team logo. Any idea of maybe adding the logos instead? Otherwise, ill turn it off.

            LukeCodewalkerL 1 Reply Last reply Reply Quote 0
            • LukeCodewalkerL Offline
              LukeCodewalker Module Developer @bminer1
              last edited by

              @bminer1 the logos are provided by the api. but you could add them manually for the league you’re interested in. I don’t have enough time in the moment to do it. maybe the real logos will be added in the future to the api. German clubs already get real logos.

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                bminer1 @LukeCodewalker
                last edited by

                @LukeCodewalker There was a link shared in another module that has every team, cup, flag and league logo. Pretty nutz how much is in this Zip. Could be useful. If i knew how to implement this, I’d help.

                (http://www.vmlogic.net/Downloads/Files/public/dfs_media_2016-09-07.zip)

                1 Reply Last reply Reply Quote 0
                • J Offline
                  janner6
                  last edited by

                  Where do you get the league id’s from I’m after league two in England if you have it available?

                  Cheers

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    nem1 @bminer1
                    last edited by

                    @bminer1 said in MMM-SoccerLiveScore:

                    Having an issue with the module updating. None of the weekend games updated.

                    0_1488208540889_Screen Shot 2017-02-27 at 10.14.45 AM.png

                    I’ve the same problem! The module is not up2date. F.e. at the moment the results of the CL matches of Thuesday & Wednesday are not shown. It looks like the module got freezed. I’ve seen this problem often in the past. After restarting the whole mirror, the module is back again. Last restart was on monday. Any ideas? I did not install or change anything in the last weeks.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      headhunter
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        leer0ybr0wn @bminer1
                        last edited by leer0ybr0wn

                        @bminer1 I had the same issue so I made a function to overwrite the headings. It’s done client-side post load so not ideal but it’s a start :-)
                        You can change the time interval at which it refreshes (it needs to keep doing this if you cycle through leagues).

                        setInterval (changePrem,10000);
                        
                        function changePrem() {
                            var prem = document.querySelector("#module_6_MMM-SoccerLiveScore div.module-content header").innerHTML; 
                            var premchange = prem.replace("Pr. League", "Premier League");
                            document.querySelector("#module_6_MMM-SoccerLiveScore div.module-content header").innerHTML = premchange;
                        }
                        

                        Make a js file out of this and load it at the bottom of the main index.html file

                        1 Reply Last reply Reply Quote 0
                        • O Offline
                          oliveimo
                          last edited by oliveimo

                          Hey Guys,

                          I just set it up and the scores and blank. Im assuming if no games are on nothing will show? I saw talk about a table but is it live? Thanks! Great work BTW.

                          here is my code. I wanna see Spain first and see how it goes. Let me know if there is anything I need to upload for some help. Thanks!

                          module: ‘MMM-SoccerLiveScore’,
                          position: ‘top_right’,
                          header:‘Live-Scores’,

                          		config: {
                          			leagues : [8],
                          		showNames: true,
                          		showLogos: true,
                          		displaytime: 60 * 1000,
                          		showTables: true
                          
                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            smkr
                            last edited by

                            Hey LukeCodewalker

                            Thank you for the MMM-SoccerLiveScore.
                            I would love if You could expand the module to only show the teams I choose and for X days.
                            I follow Bayern, Juventus, Roma, and so on. something like this:

                            20-5-2017 15.30:
                            Bayern 1 - 0 Freiburg
                            18.00
                            Chievo - Roma

                            21-5-2017 15.00
                            Juventus - Crotone
                            16.00
                            Watford FC - Manchester City
                            Hull City - Tottenham Hotspurs
                            20.00
                            FC Barcelona - SD Eibar

                            The idea is from the FORZA App at Android.

                            BR.
                            Sten

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              nem1
                              last edited by

                              Hey, what about the Confed Cup? Is it possible to show? If its still in, what ID do I need to add?

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                McSorley
                                last edited by McSorley

                                Where does it pull the fixtures from? There is currently a new draw for Europa and Champions League Qualifiers. Europa games are today.

                                1 Reply Last reply Reply Quote 0
                                • ArzegA Offline
                                  Arzeg
                                  last edited by

                                  Hey Guys

                                  i think i solved the problem for now with the blank table.
                                  The problem is in the config.js the leagues command, if u put only one ID in this command like

                                  leagues: [35], // it doesnt work

                                  but

                                  leagues: [35, 999], // it works. dont know why im not a programmer^^

                                  but i have a question too,
                                  where can i configure that my header and the scores are not going from the left side to my right side cause i have the clock on the left side and the weather on my right side

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    JoeFranz
                                    last edited by JoeFranz

                                    Hi,
                                    I have a problem when switching from the results to the table. At the beginning everything runs as it should. After about an hour there is when switching misfires. Attached to the link of a video of the error, hope it works.
                                    Does somebody has any idea?

                                    Greeting Jörg

                                    Video

                                    EDIT:
                                    For me this is probably the “blank screen problem”
                                    With only one league, it only comes to an interruption and then nothing will be displayed. With two leagues, everything works as it should.
                                    The tip of Arzeg with the entry [35, 999] unfortunately does not work.

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      JoeFranz
                                      last edited by JoeFranz

                                      Here is another error. If the table is displayed without names, the line with teams etc. is moved about it, does not fit properly.
                                      0_1503247069788_MM.jpeg

                                      1 Reply Last reply Reply Quote 0
                                      • ArzegA Offline
                                        Arzeg
                                        last edited by Arzeg

                                        Hey Jörg,
                                        bad to hear that the tip doesnt work for you.
                                        For me it works perfect.
                                        But I still have the problem with the width of the module, it goes from the left to the right side and i dont know, how i can change the width…

                                        MfG Arzeg

                                        EDIT:

                                        I dont know if it’s for you a solution but I use MMM-soccer for the table and MMM-SoccerLiveScore as my live ticker, so i set showTables to false in config.js
                                        Its not the perfect solution but i can live with it

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          knubbl
                                          last edited by knubbl

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            knubbl
                                            last edited by

                                            HI,

                                            is it possible to send an alarm/notification if there is a goal in any game in a league i set to shown on the mirror?

                                            Maybe its quite easy but honestly i do not have any idea how this alterts/notifications work

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