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 253.2k 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
                        • 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