Read the statement by Michael Teeuw here.
-
@Manu85 I saw your request to him. The module is not built for you and only you. Others are using it right now. You don’t seem to appreciate and understand the complexities around the data and how it the API’s are defined.
This module is being used by a number of people, and unless you raise a feature request and everybody agree to request will I entertain the idea. What you are asking for is not easily achievable with the way the API calls are structured.
For my own personal use the module is fine as is.
I hope you come right but this matter I consider closed now and module will remain as is.
-
@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-SoccerLiveScoreMMM-SoccerLiveScore is maintained by @0m4r. I don’t really deal with sports modules :-)
-
@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
-
@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.
-
@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 } } },
-
@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.
-
@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 } } },
-
@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 } } },
-
@Manu85 I have also updated the L and D translations now and pushed it.
-
@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.