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-Rugby

    Scheduled Pinned Locked Moved Sport
    22 Posts 2 Posters 3.6k Views 2 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.
    • mumblebajM Offline
      mumblebaj Module Developer @manu85340
      last edited by

      @manu85340 Please can you share you config with me?

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/

      1 Reply Last reply Reply Quote 0
      • mumblebajM Offline
        mumblebaj Module Developer @manu85340
        last edited by

        @manu85340 Just checking api-sport Tope 14 ended in June 2024. The module is setup to only show data from x amount of days previous, apiSportDaysPast:. Could be that because the league is finished that there is no data coming through.

        {
          "leagueId": 16,
          "leagueName": "Top 14",
          "leagueType": "League",
          "leagueFlag": "https://media.api-sports.io/rugby/leagues/16.png",
          "leagueCountryId": 7,
          "leagueCountryName": "France",
          "leagueCountryCode": "FR",
          "leagueCountryFlag": "https://media.api-sports.io/flags/fr.svg",
          "currentSeasons": [
            {
              "season": 2023,
              "current": true,
              "start": "2023-08-18",
              "end": "2024-06-08"
            }
          ]
        },
        

        The League standings will continue to show data as this is built differently but match results will no longer show because of the dayspast config.

        48bb0599-e212-4ea1-840f-9d7d516d56c5-image.png

        Check out my modules at: https://github.com/mumblebaj?tab=repositories
        Check my blog-post: https://mumblebaj.xyz/

        M 2 Replies Last reply Reply Quote 0
        • M Offline
          manu85340 @mumblebaj
          last edited by

          @mumblebaj ok indeed the top 14 ended in june 2024, I’m waiting for your news, thank you

          1 Reply Last reply Reply Quote 0
          • M Offline
            manu85340 @mumblebaj
            last edited by

            @mumblebaj Do you think it’s possible to update it?

            mumblebajM 1 Reply Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @manu85340
              last edited by

              @manu85340 To update what?

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                manu85340 @mumblebaj
                last edited by

                @mumblebaj Update dates! if I change the dates in league_data.json will it work? if I put:

                "season": 2024,
                "current": true,
                "start": "2024-08-18",
                "end": "2025-06-08"
                
                mumblebajM 1 Reply Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @manu85340
                  last edited by

                  @manu85340 No. That is not how it works. The module looks at the date of each game and does calculations based on your apiSportDaysPast and apiSportsDaysFuture configs to work out if there is games data to display.

                  If I change the apiSportDaysPast config to 124 days then I get data displayed. But after a few days that will disappear again.

                  2c0d6639-5ff6-4c13-990d-411499252e21-image.png

                  Until a new league season starts you will not have data again. Unless you follow an active league.

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                  Check my blog-post: https://mumblebaj.xyz/

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    manu85340 @mumblebaj
                    last edited by

                    @mumblebaj I don’t know if I understood what you said, but does that mean that I can no longer have the scores and rankings for the top 14 for this season?

                    mumblebajM 1 Reply Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @manu85340
                      last edited by

                      @manu85340 You can have the rankings but not the scores. As they are out of date, they will not be displayed unless you set the apiSportDaysPast value to say 365 then they will display again.

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        manu85340 @mumblebaj
                        last edited by

                        @mumblebaj yes but the championship will not be up to date, the ranking is that of the last season 2023/2024, and the matches if I put:

                        apiSportDaysPast: 365,
                        

                        I would not have the scores of the last meetings, the top 14 started on September 7, 2024 and ends on June 7, 2025
                        thanks for your help

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