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-soccer v2

    Scheduled Pinned Locked Moved Sport
    51 Posts 8 Posters 19.7k Views 8 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
      last edited by lavolp3

      Description:

      This module is based on @strawberry-3-141 s MMM-soccer but with many more functions and major changes in the background and frontside.

      Download:

      [card:lavolp3/MMM-soccer]

      Screenshots:


      (image upload seems still broken, please check github page for screenshots)

      Features:

      • major leagues and competitions from Europe included in the free API (see Readme)
      • (automatic) league rotation
      • Logos included, colored or b/w
      • flexible width, slim version available
      • LIVE mode (more API calls when live games are shown)
      • table with focus mode
      • Focus on one team per league

      Version 1.0.1

      • initial

      Version 1.0.2

      • bugfix in node_helper
      • UI tweaks (smaller team names)

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

      1 Reply Last reply Reply Quote 1
      • C Offline
        chassain 0
        last edited by

        Hello,

        Some errors after npm install

        pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ npm install
        npm ERR! code EJSONPARSE
        npm ERR! file /home/pi/MagicMirror/modules/MMM-soccer/package.json
        npm ERR! JSON.parse Failed to parse json
        npm ERR! JSON.parse Unexpected string in JSON at position 312 while parsing '{
        npm ERR! JSON.parse   "name": "mmm-soccer v2",
        npm ERR! JSON.parse   "version"'
        npm ERR! JSON.parse Failed to parse package.json data.
        npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2020-02-28T14_41_48_433Z-debug.log
        
        
        lavolp3L 1 Reply Last reply Reply Quote 0
        • lavolp3L Offline
          lavolp3 Module Developer @chassain 0
          last edited by

          @chassain-0 thanks!
          Please do a git pull and try again.
          There was a missing comma in package.json.

          Let me know if it works.

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

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            chassain 0 @lavolp3
            last edited by

            @lavolp3
            better but still…

            
            npm WARN Invalid name: "mmm-soccer v2"
            npm WARN MMM-soccer No description
            npm WARN MMM-soccer No repository field.
            npm WARN MMM-soccer No README data
            npm WARN MMM-soccer No license field.
            
            added 8 packages from 1 contributor in 4.453s
            found 0 vulnerabilities
            
            C 1 Reply Last reply Reply Quote 0
            • C Offline
              chassain 0 @chassain 0
              last edited by

              @chassain-0
              name changed in package.json and it’s ok

              lavolp3L 1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer @chassain 0
                last edited by

                @chassain-0 yeah has also been changed in origin/master now.
                Recognized this as well.
                Sorry for the hickups and looking forward to any comments.

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

                C 2 Replies Last reply Reply Quote 0
                • C Offline
                  chassain 0 @lavolp3
                  last edited by

                  @lavolp3 thanks to you. I m going to try now

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    chassain 0 @lavolp3
                    last edited by

                    @lavolp3 Nice job…:)

                    1 Reply Last reply Reply Quote 0
                    • lavolp3L Offline
                      lavolp3 Module Developer
                      last edited by

                      Node_helper.js needed to be fixed.
                      Please do a git pull and restart the mirror if you experience problems.

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

                      StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                      • C Offline
                        chassain 0
                        last edited by

                        i understand live is ok now with api calls ? i like it

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