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 257.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.
    • 0m4r0 Offline
      0m4r Module Developer @np27np27
      last edited by

      @np27np27 hey, I have just realized I mistakenly pushed the code with some hardcoded test values. Those might be the reason for the wrong behavior.

      Can you try pulling the code again and let me know?

      https://github.com/0m4r

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

        @0m4r
        Sorry for the long delay!

        I’ve tried git pull and it says I already have the latest version… 3.1.5?

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

          @np27np27 do you mean you can still see the issue with that version? :(
          If so, most likely it is not resolved. I will need to find some time to look into it again

          https://github.com/0m4r

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

            @0m4r, yes still have the issue. Last game day of the week does not refresh and then the whole week fails to refresh and provide the new fixtures after that.
            Currently I am restarting MM each time we get to the end of a game week to refresh.

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

              if you are interested into the WM results, add 4100 as a code into the module configuration :D

              https://github.com/0m4r

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                Egnos @0m4r
                last edited by Egnos

                Hi there,
                I’ve installed this module and it is very beautiful and useful, thanks @0m4r!
                Question: I’ve enabled in configuration the Scores & Details about Serie A. My mirror is quite big and all the matches are visible but I don’t know why starts the “auto-scroling”.
                I do not think that there is a config field for disable “auto-scroling”.

                Its possibile to remove somehow the auto scrolling (a little hack in the code…)?

                Thanks guys!

                My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                  @Egnos this is now done.
                  Please add “scrollVertical: false” into your config for the module.
                  (of course, updated it first!)

                  Let me know if it works!

                  https://github.com/0m4r

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    Egnos @0m4r
                    last edited by

                    Thanks @0m4r, seems works!
                    Sorry for the late reply!

                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                    1 Reply Last reply Reply Quote 1
                    • E Offline
                      Egnos
                      last edited by Egnos

                      Hi all,
                      i have these errors refer to the “MMM-SoccerLiveScore” module in “MagicMirror-error.log” file:

                      [27.09.2023 18:40.07.575] [ERROR] MMM-SoccerLiveScore doPost URL {
                        href: 'https://toralarm.com/api/api/competitions/23/matches/30580909/details',
                        origin: 'https://toralarm.com',
                        protocol: 'https:',
                        username: '',
                        password: '',
                        host: 'toralarm.com',
                        hostname: 'toralarm.com',
                        port: '',
                        pathname: '/api/api/competitions/23/matches/30580909/details',
                        search: '',
                        searchParams: URLSearchParams {},
                        hash: ''
                      } {
                        method: 'POST',
                        gzip: true,
                        headers: {
                          Host: 'toralarm.com',
                          'accept-language': 'en-US,en;q=0.9,it;q=0.8,de-DE;q=0.7,de;q=0.6',
                          'content-type': 'application/json;charset=UTF-8'
                        },
                        body: '{"lng":"it"}'
                      } Response {
                        size: 0,
                        timeout: 0,
                        [Symbol(Body internals)]: {
                          body: Gunzip {
                            _writeState: [Uint32Array],
                            _readableState: [ReadableState],
                            _events: [Object: null prototype],
                            _eventsCount: 5,
                            _maxListeners: undefined,
                            _writableState: [WritableState],
                            allowHalfOpen: true,
                            bytesWritten: 0,
                            _handle: [Zlib],
                            _outBuffer: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... 16334 more bytes>,
                            _outOffset: 0,
                            _chunkSize: 16384,
                            _defaultFlushFlag: 2,
                            _finishFlushFlag: 2,
                            _defaultFullFlushFlag: 3,
                            _info: undefined,
                            _maxOutputLength: 1073741823,
                            _level: -1,
                            _strategy: 0,
                            [Symbol(kCapture)]: false,
                            [Symbol(kCallback)]: null,
                            [Symbol(kError)]: null
                          },
                          disturbed: false,
                          error: null
                        },
                        [Symbol(Response internals)]: {
                          url: 'https://toralarm.com/api/api/competitions/23/matches/30580909/details',
                          status: 500,
                          statusText: 'Internal Server Error',
                          headers: Headers { [Symbol(map)]: [Object: null prototype] },
                          counter: 0
                        }
                      }
                      [27.09.2023 18:40.07.577] [ERROR] MMM-SoccerLiveScore getDetails 23 https://toralarm.com/api/api/competitions/23/matches/30580909/details null
                      [27.09.2023 18:40.07.592] [ERROR] (node:12212) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'filter')
                          at forLoop (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:237:54)
                          at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
                      (Use `electron --trace-warnings ...` to show where the warning was created)
                      

                      This is my sw configuration:

                      S.O.: Buster
                      MM: v2.23.0
                      RPI4 4gb

                      Is it possible to solve it?

                      Thanks.

                      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                        Hi @Egnos, I am not able to replicate it.
                        I can see from the logs it is a server error (500, Internal Server Error).
                        This has something to do with the server that provides the data to display.

                        Anyway, can show me your config for the module?
                        And, have you tried to pull the latest version?

                        Thanks - Omar

                        https://github.com/0m4r

                        E 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 15
                        • 16
                        • 17
                        • 18
                        • 19
                        • 18 / 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