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 5.2k 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.
    • M Offline
      manu85340
      last edited by

      Re: MMM-Rugby
      @mumblebaj Hello, I hope you are well, I restarted the rugby module and for the top 14 I do not have the matches or the ranking up to date do you know why? thanks for your help

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

        @manu85340 said in MMM-Rugby:

        Re: MMM-Rugby
        @mumblebaj Hello, I hope you are well, I restarted the rugby module and for the “top 14” I do not have the matches or the ranking up to date do you know why? thanks for your help

        mumblebajM 2 Replies Last reply Reply Quote 0
        • 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/
          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

          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/
            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

            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/
                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                  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/
                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                      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/
                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                          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
                            • mumblebajM Offline
                              mumblebaj Module Developer @manu85340
                              last edited by

                              @manu85340 I have now looked at the API and it looks like the data has changed. I need to have a look at it a little more. Will advise when I have an update available.

                              Check out my modules at: https://github.com/mumblebaj?tab=repositories
                              Check my blog-post: https://mumblebaj.xyz/
                              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                @mumblebaj ok, thanks for your work

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

                                  @manu85340 Hi. I have updated the module. You can now do a gitpull and test if all is working ok. There seem to have been an issue with the call that refreshes the league data. Should be working fine now.

                                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                  Check my blog-post: https://mumblebaj.xyz/
                                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                    @mumblebaj hi, i did a git pull but nothing changes

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

                                      @manu85340 Apologies, please redo the git pull.

                                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                      Check my blog-post: https://mumblebaj.xyz/
                                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                        @mumblebaj It’s ok, you’re the best, will we have to do this manipulation every year?

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

                                          @manu85340 You should not have to repeat it again.

                                          Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                          Check my blog-post: https://mumblebaj.xyz/
                                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                            @mumblebaj perfect, thank you

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • 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