Read the statement by Michael Teeuw here.
MMM-SoccerLiveScore
-
I have forked the repository and fixed a few bugs as I noticed it is not maintained for 4 years. I have now reduced the numbers of API calls needed to fetch the team logos (that are now directly obtained by the HTML code) and reduced the number of API calls to fetch the table and the scores.
The table APIs does not include a “refresh” time (as they maybe did return times ago) and this causes an infinite number of call to it.The forked repo is here: https://github.com/0m4r/MMM-SoccerLiveScore
I have not made a PR as I d believe the original one is abandoned. -
@0m4r thank you for solving the problems of this module.
I have only one problem: I don’t see the Juventus football team logo (it’s my favorite team … what luck!😔)
As you can see in the following photo:
How can i solve?
Many thanks.
-
Juventus logo is black with a transparent background, so it is black on black and you will not be able to see it! :) I spent some time thinking it did not work… but then I realized the black on black problem :)
-
@0m4r I’m not sure both a problem of color, otherwise I would still see a logo of the logo or in part. As you can see in the picture in detail the pixels do not show any change …

-
yes, I guess it is correct, black is rendered on screen by non turning on the pixel of the screen, why should they if they are supposed to be all black?
this is the link t the image for the logo of Juventus:
https://www.toralarm.com/api/proxy/images/ta/images/teams/30000991/64this is how it would look on a non-black background.

-
@0m4r much appreciated.
I would like to make a feature request if I may.
- Give the option to put the focus on a team any only show results from this team
Cheers,
Feedy -
@Feedy88 would you be so kind to add a feature request to the github repo: https://github.com/0m4r/MMM-SoccerLiveScore/issues? thanks!
-
@0m4r
Do you know if the api provides the goals in any game as well?
And is German 2nd League and/or DFB cup integrated? (EDIT ok seen it in your README)
Are real-time live results availabe?I’ve put quite a lot of work into the MMM-soccer module but all of these are missing in the API.
MMM-soccer also contains the focus feature fyi.
-
@lavolp3 I am actually reverse-engineering the APIs as there is no formal documentation.
Anyhow,
Do you know if the API provides the goals in any game as well?
yes, the score is provided.
If the game is ended it provides the final result, if the game is on-going you get the current score, if the game is not started it provides a default “0 - 0” result.And is German 2nd League and/or DFB cup integrated? (EDIT ok seen it in your README)
the list of supported league are the same you can see on the toralarm.de website
Are real-time live results availabe?
yes, it is available. The APIs also return a suggested time to refresh to get up to date results.
-
@0m4r said in MMM-SoccerLiveScore:
yes, the score is provided.
If the game is ended it provides the final result, if the game is on-going you get the current score, if the game is not started it provides a default “0 - 0” result.Thanks but i meant the information about the goals: minutes, scorers
-
@lavolp3 I think with some more work it can be done…
I am also considering to add the scorers standings for each league
It is quite a hard work to reverse engineer the APIs, but it is fun :D -
@0m4r Well I don’t know anything about reverse engineering so appreciate if you find anything.
-
Hi guys,
for a couple of days I have not seen the results of Serie A (Italy) and Champions League.Is it just me who has this problem?
Thank you. -
@egnos I can still see them, but I have installed my own fork which I tweaked and fixed in some places: https://github.com/0m4r/MMM-SoccerLiveScore
If you are familiar with github you can even try some of the new features I am working on by checking out the developer branch :)
-
@0m4r thanks for answering me.
Now it works without my intervention!Where can I find the news you are working on?
-
@egnos I posted the link to the repo in my prev comment.
Anyhow, to see the latest (under development) updates, after you cloe you need to switch to the development branch:from your MagicMirror home folder, enter the modules one
cd modules
clone the repo
checkout the development branch
git checkout development
You may need to restart MagicMirror.
-
@egnos said in MMM-SoccerLiveScore:
@0m4r thanks for answering me.
Now it works without my intervention!Where can I find the news you are working on?
Thanks, module works fine.
One question: I just set the standings without table and without text. I would like to show it in die top_bar.
config:{ module: 'MMM-SoccerLiveScore', position: 'top_left', header: 'Live-Scores', config: { leagues: [35], showNames: false, showLogos: true, displayTime: 60 * 1000, showTables: false } },my problem is, the weidth is over the whole monitor (standings in the middle, but the logos on the maximum left and maximum right side. so the other modules are too far down. Is it possible to set the module with a fix width f.e. 400px?
-
uhm… the problem is that you may not be able to see the whole standings then.
I have also go got a similar problem and still have not found a real solution.Ayway, you can try to add in the custom.css something like:
.module.MMM-SoccerLiveScore { max-height: 400px; //any value that fits you overflow: hidden; } -
@0m4r said in MMM-SoccerLiveScore:
uhm… the problem is that you may not be able to see the whole standings then.
I have also go got a similar problem and still have not found a real solution.Ayway, you can try to add in the custom.css something like:
.module.MMM-SoccerLiveScore { max-height: 400px; //any value that fits you overflow: hidden; }Hm. Tried it without success.
But i dont understand. Between 0:0 and the logos is so much space… and on the top, there is an underline filling the whole width… in the Screenshot from this Module, the logos were still between the results… -
@schlittrix I have done some changes and have not updated the screenshots :P
I may need to review the layout with only the logos “on”.
… btw, I realized, I gave you the wrong piece of code, that one would fix the height, but you asked for the width, can you try like this:.module.MMM-SoccerLiveScore { max-width: 400px; //any value that fits you overflow: hidden; }
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