• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 20.6k 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.
  • L Offline
    lavolp3 Module Developer
    last edited by lavolp3 Feb 29, 2020, 12:12 AM Feb 28, 2020, 10:08 AM

    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 Feb 28, 2020, 2:44 PM

      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
      
      
      L 1 Reply Last reply Feb 28, 2020, 2:51 PM Reply Quote 0
      • L Offline
        lavolp3 Module Developer @chassain 0
        last edited by Feb 28, 2020, 2:51 PM

        @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 Feb 28, 2020, 2:53 PM Reply Quote 0
        • C Offline
          chassain 0 @lavolp3
          last edited by Feb 28, 2020, 2:53 PM

          @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 Feb 28, 2020, 2:57 PM Reply Quote 0
          • C Offline
            chassain 0 @chassain 0
            last edited by Feb 28, 2020, 2:57 PM

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

            L 1 Reply Last reply Feb 28, 2020, 2:59 PM Reply Quote 0
            • L Offline
              lavolp3 Module Developer @chassain 0
              last edited by Feb 28, 2020, 2:59 PM

              @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 Feb 28, 2020, 3:00 PM Reply Quote 0
              • C Offline
                chassain 0 @lavolp3
                last edited by Feb 28, 2020, 3:00 PM

                @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 Feb 28, 2020, 3:12 PM

                  @lavolp3 Nice job…:)

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    lavolp3 Module Developer
                    last edited by Feb 29, 2020, 12:13 AM

                    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

                    S 1 Reply Last reply Mar 10, 2020, 8:46 PM Reply Quote 0
                    • C Offline
                      chassain 0
                      last edited by Feb 29, 2020, 8:29 AM

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

                      L 1 Reply Last reply Feb 29, 2020, 3:57 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 1 / 6
                      1 / 6
                      • First post
                        7/51
                        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