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.
    • D Offline
      djbosman @ps-logic
      last edited by yawns

      @ps-logic

      No errors I could detect in Dev Tool (A bit like a passenger checking a Jet Engine that’s malfunctioning!)
      From the console:

      Starting MagicMirror: v2.1.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      No helper found for module: MMM-SimpleLogo.
      Initializing new module helper ...
      No helper found for module: clock.
      Initializing new module helper ...
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Initializing new module helper ...
      All module helpers loaded.
      Starting server op port 8080 ... 
      Server started ...
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Connecting socket for: MMM-SoccerLiveScore
      MMM-SoccerLiveScore helper started...
      Sockets connected & modules started ...
      Launching application.
      Create new calendar fetcher for url: http://www.kayaposoft.com/enrico/ics/v1.0?country=zaf&fromDate=01-01-2017&toDate=31-12-2017 - Interval: 300000
      Create new news fetcher for url: http://feeds.news24.com/articles/news24/SouthAfrica/rss - Interval: 300000
      Create new news fetcher for url: http://feeds.24.com/articles/sport/featured/topstories/rss - Interval: 300000
      Create new news fetcher for url: http://feeds.news24.com/articles/News24/World/rss - Interval: 300000
      Use existing news fetcher for url: http://feeds.news24.com/articles/News24/World/rss
      Create new news fetcher for url: http://feeds.news24.com/articles/Fin24/Tech/rss - Interval: 300000
      error: Unable to append to .git/logs/refs/remotes/origin/develop: Permission denied
      From https://github.com/MichMich/MagicMirror
       ! 57ea2ac..fd738e5  develop    -> origin/develop  (unable to update local ref)
      
      pi@raspberrypi3:~/MagicMirror $ pm2 stop mm
      

      Any clue from above?
      Thanx!

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        ps-logic @djbosman
        last edited by

        @djbosman

        Try to edit your config file.
        Set the value for ‘showTables: false’.

        Does it show up?

        D 2 Replies Last reply Reply Quote 0
        • D Offline
          djbosman @LukeCodewalker
          last edited by

          @LukeCodewalker

          Thanx! If you can kindly advise which commands to execute where to investigate. I’m very much a Windows NOOB , now dabbling in PI, with almost zero web development experience!

          1 Reply Last reply Reply Quote 0
          • D Offline
            djbosman @ps-logic
            last edited by

            @ps-logic

            Woop, woop!!! Are you clever or what??!!
            Live scores back up again!!

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

              @djbosman
              In hind-sight … The Table never did display; Just the scores.
              Very glad for the scores, but wouls be happy if I COULD present table??

              1 Reply Last reply Reply Quote 0
              • D Offline
                djbosman @ps-logic
                last edited by

                @ps-logic
                Hi, All!
                Thinking about it, the table NOT that important; Not for a magic mirror. Probably stays static for too long and will ultimately clutter the mirror. Besides, if my team’s not on top, I don’t even want to see it!! (Manchester United).
                Thanx all, very much, for a great concept, wa wonderful community, and for having created a thing of joy!!

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  ps-logic @djbosman
                  last edited by

                  @djbosman

                  It seems that this error occurs only with the latest version of MM.
                  We found no solution yet.

                  I’ll keep you updated!

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

                    I started this module again because its high tide on the Cup races. I do have one issue on the logos. The Euro League Cub shows no icons (picture below). I am also getting some red scores on future dated games (picture below). I thought red scores were for current games. Is it possible to have the whole league name at the top instead of an abbreviation? Example; CL = Champions League. FA Cup shows as “FA Cup”. PR. League = British Premier League. If this is something i can edit on my own, please point me in that direction and ill make the changes.
                    Maybe a quick alert when a goal is scored? I cant watch them all.

                    0_1487606953733_Screen Shot 2017-02-20 at 11.09.04 AM.png

                    0_1487606319852_Screen Shot 2017-02-20 at 10.56.42 AM.png

                    LukeCodewalkerL L 2 Replies Last reply Reply Quote 0
                    • B Offline
                      bminer1
                      last edited by

                      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

                      LukeCodewalkerL D N 3 Replies Last reply Reply Quote 0
                      • 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

                                            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