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 pleas help

    Scheduled Pinned Locked Moved Solved Troubleshooting
    52 Posts 5 Posters 17.9k Views 5 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.
    • S Offline
      sdetweil @Manu85
      last edited by

      @Manu85 i think i have fixed the module so it doesn’t crash…

      do this

      cd ~/MagicMirror/modules
      git clone https://github.com/sdetweil/MMM-SoccerLiveScore NewSoccerLive
      cd MMM-SoccerLiveScore
      cp ../NewSoccerLive/*.js .
      

      then restart your mirror app…
      pm2 restart 0
      if using pm2

      this will replace the two files with my version… no other changes required…
      if there is a request error, we wait 5 minutes and try again

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil I just did the manipulations that you advised and the module restarted, I keep you informed of the stability, but well done for your responsiveness

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

          @sdetweil after a few hours the module becomes unstable.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Manu85
            last edited by

            @Manu85 ok, add

            debug:true,
            

            To the module config section

            And restart mirror

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil like this?
              {
              disabled:false,
              module: ‘MMM-SoccerLiveScore’,
              position: ‘top_right’,
              header: ‘Scores en direct’,
              config: {
              leagues: [34, 1, 8],
              showNames: true,
              showLogos: true,
              debug:true,
              displayTime: 60 * 1000,
              showTables: true
              }
              },

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Manu85
                last edited by

                @Manu85 yes

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil hello, this morning my mirror is frozen and the soccer module is not present, I send you the somefile file by email, thank you

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Manu85
                    last edited by

                    @Manu85 MMM-SoccerLive is still running, and is still running the old node_helper.js

                    0|MagicMir | [2020-04-08 07:23:29.709] [ERROR] 2020-04-08T07:23:29 SyntaxError: Unexpected token u in JSON at position 0
                    0|MagicMir |  at JSON.parse ()
                    0|MagicMir |  at Request._callback (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:146:29)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil What can I do?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Manu85
                        last edited by

                        @Manu85 the module is still active in the config.js

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 2 / 6
                        • 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