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 289.0k 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.
    • 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
                            • J Offline
                              JoeFranz
                              last edited by

                              The results and the table of the german bundesliga are now also not updated. A pity about an otherwise great module and the author does not care about the errors.

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

                                @JoeFranz are u sure? Everything works fine at my mm

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

                                  So I have three errors in it. Blank sreen if only one league is displayed, with the table without names fit above the symbols and is not updated now, only after a reboot of magicmirror. Here is my config.js

                                  {
                                  module: ‘MMM-SoccerLiveScore’,
                                  position: ‘bottom_left’,
                                  config: {
                                  leagues: [35, 9],
                                           showNames: false,
                                          showLogos: true,
                                           displayTime: 60 * 1000,
                                           showTables: true
                                  }
                                                   },

                                  1 Reply Last reply Reply Quote 0
                                  • L Offline
                                    l0cal
                                    last edited by

                                    i love this module but there is a problem with update live score and table. It don’t work for me. All other installed module works fine and update work well. if i restart mm it loads the new data score etc

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

                                      I created a new version of this module:

                                      https://github.com/master117/MagicMirror-FootballLeagues

                                      Most of the errors mentioned above, should be fixed. It works with only one league selected for example. The old module also polls its undocumented datasource too often and eventually gets banned, which is why the scores stop refreshing. It does not yet have support for logos.

                                      Greetings,
                                      master117

                                      1 Reply Last reply Reply Quote 1
                                      • F Offline
                                        fabbr
                                        last edited by

                                        @master117 I just tried and got two errors on the installation:

                                        npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/package.json’
                                        npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/node_modules/node_helper/package.json’
                                        npm WARN modules No description
                                        npm WARN modules No repository field.
                                        npm WARN modules No README data
                                        npm WARN modules No license field.

                                        When I add the module to the config.js nothing shows up. I tried several different configurations and problem persist. any idea on what I am doing wrong?

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          gashion
                                          last edited by

                                          @fabbr Did you ever get this working? I get the same errors;

                                          npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/package.json'
                                          npm WARN modules No description
                                          npm WARN modules No repository field.
                                          npm WARN modules No README data
                                          npm WARN modules No license field.
                                          

                                          @master117 Anything?

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

                                            @gashion @fabbr

                                            Those are not errors (ERR) just regular warnings (WARN). They are unrelated to whatever issue you are having, they are even unrelated to the module itself, request (the thing being installed) is a semi standard nodejs library and not made by me.

                                            I would guess either your config is wrong or there is not enough space on the mirror. If you list your steps and config I may be able to help.

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