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

      I have added a new feature to the module, it is not released yet on the master branch but it is available from a development branch here:
      https://github.com/0m4r/MMM-SoccerLiveScore/tree/feat/match-details

      It is now possible to show the goal scorers within the standings by settings “showDetails: true”.
      The scorers are shown right below the game row and they will scroll from right-to-left.

      Let me know what do you think!

      What I think?
      GREAT I think!!

      Now for the problem. There are two very good soccer modules now each with its own advantages.
      MMM-soccer and MMM-SoccerLiveScore.
      Yours has one major advantage which is the API.

      A shame that they are not one module.

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

      1 Reply Last reply Reply Quote 1
      • N Offline
        np27np27
        last edited by

        Hi, great module and works perfectly.

        I would like to see the Euro championship scores from next week. I cant see a league for it. Is it possible??

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

          @np27np27 same here! but unfortunately, the APIs do not support euro 2020.

          https://github.com/0m4r

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            np27np27 @0m4r
            last edited by

            @0m4r said in MMM-SoccerLiveScore:

            @np27np27 same here! but unfortunately, the APIs do not support euro 2020.

            Ah what!! That’s not good. I did see somewhere that league id 4000 pointed to the fifa world Cup, so I thought the euros would also be there!
            Do you know which site the api pulls the scores from? I was looking through the code and it seems to be a German site listed but I can’t find any readable data from the links.

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

              @np27np27 the data comes from here: https://www.toralarm.com/ and there is no mention of Euro 2020. There is an app for iOS and Android specific for it, but no web counterpart. To be fair, to spoof the requests made by a native app is too much effort :)

              https://github.com/0m4r

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                np27np27 @0m4r
                last edited by

                @0m4r thanks for this.

                The site seems to have international games but what looks like friendlies only. Surely they will add the Euros competition on shortly. Hopefully after that it will be possible to have the results through the module?

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

                  @np27np27 I believe they will not… but I really hope they will do!
                  I guess, if they do, it will work…

                  https://github.com/0m4r

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

                    @np27np27 check this out: https://forum.magicmirror.builders/topic/15125/introducing-mmm-euro2021 ;)

                    https://github.com/0m4r

                    N 1 Reply Last reply Reply Quote 0
                    • N Offline
                      np27np27 @0m4r
                      last edited by

                      @0m4r thanks, will check it out. 👍🏾

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

                        @np27np27 Please add “4100” to your leagues to add the Euro 2020 competition!

                        https://github.com/0m4r

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

                          wow! Version 2.2.1 is released today!
                          Fancy new stuff in it as the vertical scroll, so if your module cannot display all the list in the space it has allocated, it scrolls up and down for you to allow see all the details!
                          Before the game starts, and whenever possible, the location of the game ad the referee are shown right below the teams’ names, also, scorers, yellow cards, and red cards are shown in real-time and after the game is ended!

                          here is the link of my fork: https://github.com/0m4r/MMM-SoccerLiveScore

                          Let me know what you think! ;)

                          https://github.com/0m4r

                          N 1 Reply Last reply Reply Quote 1
                          • N Offline
                            np27np27 @0m4r
                            last edited by

                            @0m4r
                            Your fork of this module seems to have stopped working for me. I’ve updated to the latest commits and also tried to reinstall the module. Only getting the loading… message where the module should be. I 've checked the console and did a config check. There does not seem to be any other errors.

                            Any ideas??

                            karsten13K 0m4r0 3 Replies Last reply Reply Quote 0
                            • karsten13K Offline
                              karsten13 @np27np27
                              last edited by

                              @np27np27

                              https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

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

                                @np27np27 the API the module is fetching the data from does not seem to respond anymore (or at least, they do not in most of the cases).
                                I have tried with Postman to double-check if it is a problem with my code or of the API, but also with Postman I get the same error/problem.

                                I am trying to figure if I can replace the API with others, but I have not found anything I can really move without losing some of the information or the functionalities implemented now.

                                https://github.com/0m4r

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

                                  @karsten13 this could be one reason (I plan to switch to node-fetch), but I experience the same problem as reported by @np27np27 and I have detected the APIs are responding with errors.

                                  Unfortunately, there is not much I can do about it :(

                                  https://github.com/0m4r

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

                                    @np27np27 can you try to check out from master now and let me know if the problem is gone? :D

                                    https://github.com/0m4r

                                    1 Reply Last reply Reply Quote 0
                                    • N Offline
                                      np27np27 @0m4r
                                      last edited by

                                      @0m4r
                                      Yes it works now! Thanks for the quick help and update ;)

                                      1 Reply Last reply Reply Quote 1
                                      • N Offline
                                        np27np27
                                        last edited by

                                        @0m4r
                                        Actually I found another issue after the fix. The scores don’t seem to be updating during games or even at regular intervals.
                                        I’m not sure if it’s updating at all, maybe only when magicmirror restarts or if I restart the module. @0m4r can you have a look and confirm if it works for you?

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

                                          @np27np27 I guess you are correct, something is wrong since the second last update.
                                          I have tried to reduce the number of API calls trying to have them issued only when games are on or about to start rather than each and every 2 mins… but sometimes things do not work as I expect.

                                          You should be able to see a message at the bottom of the standings telling you when the next API request is expected to be executed, that should help d figure if the new data are requested at a meaningful time.

                                          66bb1a3e-af5e-4b1c-8ec6-32d89771e970-image.png

                                          https://github.com/0m4r

                                          N 1 Reply Last reply Reply Quote 0
                                          • N Offline
                                            np27np27 @0m4r
                                            last edited by

                                            @0m4r
                                            For me the module has an api request date of yesterday! So it’s probably not called the api?

                                            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