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.

    Hello everyone, do you know if there is an MM module for rugby

    Scheduled Pinned Locked Moved Requests
    105 Posts 5 Posters 131.2k Views 6 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.
    • KristjanESPERANTOK Offline
      KristjanESPERANTO Module Developer @Manu85
      last edited by

      @Manu85 said in Hello everyone, do you know if there is an MM module for rugby:

      @mumblebaj Hi I saw that @KristjanESPERANTO had made a football module like your Rugby module with the selection of different leagues, do you think that the module is adaptable with yours? it’s just a question
      https://github.com/0m4r/MMM-SoccerLiveScore

      MMM-SoccerLiveScore is maintained by @0m4r. I don’t really deal with sports modules :-)

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

        @mumblebaj excuse me, I know that the module is not for me but for the community and that the more users there are the better, I think that I expressed myself badly and that the translator does not make things easier , I’m sorry if my words offended

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

          @Manu85 No problem. As mentioned before, if you would like to personalize the module further you are more than welcome to fork it and make whatever changes you would like.

          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
            Manu85 @mumblebaj
            last edited by Manu85

            @mumblebaj hi, I made an error in the correspondence for the French translation it should be:
            “L” = “D” and “D” = “N”
            sorry for this error, I ask you a lot of things and I am not capable of making a simple correspondence :-(
            I made the settings for the top 14 in the config.js and the following thing happens:
            I have the ranking table which is displayed for 20 or 30 seconds and then an empty table “Mens Rugby Unions” and 1 minute after another empty table “Rugby World Ranking” and after that it only remains on these two empty tables which it’s running every minute, I’ll give you my config.js, I don’t see where I made a mistake, thanks again

            {
                    		module: "MMM-Rugby",  //https://github.com/mumblebaj/MMM-Rugby/tree/main
                    		position: "top_right",
                    		disabled: false,
                            	config: {
                                    updateInterval: 1000*60*60*24,
            			rotateInterval: 60000,
                                    rotateInterval: 60000,
                                    rankingLimit: 14,
                                    matchesLimit: 10,
                                    matchesOlderThan: 7,
                                    collectionType: "apiSport", // api-key required
                                    apiSports: {
                                        apiSportStandingLeagueId: 16,  //16=top 14
                                        apiSportKey: "91d1ae3cdbxxxxxxxxxxxxxx",
                                        apiSportTZ: "Europe/Paris",
                                        numberofGamesToDisplay: 10,
                                        apiSportsNumRankings: 14,
                                        apiSportDaysPast: 7,
                                        apiSportsDaysFuture: 14
                                    }
                            }
              		},
            
            mumblebajM 2 Replies Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @Manu85
              last edited by mumblebaj

              @Manu85 Hi. For me it shows the Top14 using apiSport just fine.

              If you make changes to the config.js you have to restart MM in order for the changes to take effect. MM caches the config and a restart is required every time a change is made.

              Can you confirm that you have restarted you MM after making the changes to the config.js?

              You also seem to have 2x rotateInterval in the config. You only require one.

              I would also suggest adding and leaving the autoUpdate to the config as shown in the samples.

              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
                Manu85 @mumblebaj
                last edited by Manu85

                @mumblebaj I restarted MM and also the PI I reset config.js, tell me if I made a mistake please?

                {
                        		module: "MMM-Rugby",  //https://github.com/mumblebaj/MMM-Rugby/tree/main
                        		position: "top_right",
                        		disabled: false,
                                	config: {
                                        updateInterval: 1000*60*60,
                			autoUpdate: true,
                			rotateInterval: 60000,
                                        rankingLimit: 14,
                                        matchesLimit: 10,
                                        matchesOlderThan: 7,
                                        collectionType: "apiSport", // api-key required
                                        apiSports: {
                                            apiSportStandingLeagueId: 16,  //16=top 14
                                            apiSportKey: "91d1ae3cdbxxxxxxxxxx",
                                            apiSportTZ: "Europe/Paris",
                                            numberofGamesToDisplay: 10,
                                            apiSportsNumRankings: 14,
                                            apiSportDaysPast: 7,
                                            apiSportsDaysFuture: 14
                                        }
                                }
                  		},
                
                mumblebajM 1 Reply Last reply Reply Quote 1
                • mumblebajM Offline
                  mumblebaj Module Developer @Manu85
                  last edited by

                  @Manu85 Your config looks fine to me. This is the config I used and it works fine for me.

                  {
                        module: "MMM-Rugby",
                        position: "top_right",
                        disabled: false,                                                                                                                config: {
                                        updateInterval: 1000*60*30,
                                        autoUpdate: true,                                                                                                       rotateInterval: 30000,
                                        sport: "mru",
                                        rankingLimit: 10,
                                        matchesLimit: 10,
                                        matchesOlderThan: 20,                                                                                                   collectionType: "apiSport",                                                                                             competitions: ["Six Nations 2024", "Rugby Europe Conference 2024"],                                                     apiSports: {
                                                    apiSportStandingLeagueId: 16,
                                                    apiSportKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                                                    apiSportTZ: "Africa/Johannesburg",
                                                    numberofGamesToDisplay: 10,
                                                    apiSportsNumRankings: 10,
                                                    apiSportDaysPast: 7,
                                                    apiSportsDaysFuture: 14
                                                    // add games requirements league id for games to fetch
                                                }
                                }
                  },
                  

                  327064c3-9938-4056-bf34-8e5fa5365b39-image.png

                  aa577dff-a3f4-4a31-8bfb-6bea5262712c-image.png

                  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 @Manu85
                    last edited by

                    @Manu85 I have also updated the L and D translations now and pushed it.

                    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 see in my config.js y don’t have sport: mru, Maybe that’s the cause! I’ll pass on the update and change this as soon as I get home, thanks.

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

                        @manu85340 That would not be a problem as you are using apiSport which does not require that.

                        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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 10
                        • 11
                        • 1 / 11
                        • 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