MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Fifa World Cup overview

    Requests
    soccer world cup sport
    11
    25
    8053
    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.
    • P
      PaulB last edited by

      Hey guys,

      how do you enter the node_helper.js?

      When I enter the code “sudo nano /home/pi/MagicMirror/MMM-SoccerLiveScore/node_helper.js” it will create a new file. So therefore the node_helper.js has to be stored in a folder.
      Does anyone know which folder this is or how to find the file?

      Kind regards,
      Paul

      1 Reply Last reply Reply Quote 0
      • C
        cdelaorden last edited by cdelaorden

        Im using MagicMirror-FootballLeagues

        It works by just adding the league 467

        EDIT:

        If someone is using it without luck be sure to use an api key and place showUnavailable as true

        1 Reply Last reply Reply Quote 0
        • A
          AxLed Module Developer last edited by

          @paulb said in Fifa World Cup overview:

          “sudo nano /home/pi/MagicMirror/MMM-SoccerLiveScore/node_helper.js”

          Hi Paul,
          there is a folder missing in your command, there must be a /modules/ between MagicMirror and MMM-Soccer…
          “sudo nano /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js”

          AxLED

          1 Reply Last reply Reply Quote 0
          • R
            robert @conkhidot last edited by

            @conkhidot

            I tried your code but only get loading… window…

            Robert

            1 Reply Last reply Reply Quote 0
            • P
              PaulB last edited by

              @AxLed , thank for providing your code.

              Unfortunately the module is shown while runnin MM but no data is loaded. I have adjusted the config,js as well as node_helper.js as you said. Do you have an idea what could ve been wrong?

              Kind regards,
              Paul

              1 Reply Last reply Reply Quote 0
              • R
                rak last edited by

                I created a fork and a pull request with all necessary changes.

                1 Reply Last reply Reply Quote 0
                • A
                  AxLed Module Developer last edited by

                  @PaulB

                  Hi,

                  what are the logs showing? (npm start dev [on Raspberry]) or (F12 [on broser like Firefox]).

                  AxLED

                  P 1 Reply Last reply Reply Quote 0
                  • A
                    AxLed Module Developer last edited by

                    @rak

                    I think your fork is only working for league 4000 (Worldcup/WM 2018), as the other leagues have still use the old links. I didnt have the time to do a fork for all leagues.
                    I guess you have to some if then else statements, if league 4000 ist used.

                    AxLED

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      robert @AxLed last edited by

                      @axled

                      Tried it with “4000” for World cup but not showing scores, only shows other league scores.

                      1 Reply Last reply Reply Quote 0
                      • A
                        AxLed Module Developer last edited by

                        Hi to all,

                        today i tried MagicMirror-FootballLeagues (which is a modified fork of MMM-SoccerLiveScore) with League ID 467 an the following config:

                        {
                                    module: 'MagicMirror-FootballLeagues',
                                    position: 'top_left',
                                    header: 'Live-Scores',
                                    config: {
                                        leagues: [467],
                                            showNames: true,
                                            displayTime: 60 * 1000,
                                            showTables: true,
                                        showLogos: true,
                                        apiKey: 'secret',
                                        showUnavailable: true
                                    }
                        
                        

                        Works perfect. In my opinion the fastes way to get Fifa World Cup on MM.

                        AxLED

                        R 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy