Read the statement by Michael Teeuw here.
MMM-Soccer - Standings, Schedules and Top Scorers
-
@evroom your try was pretty close, the correct one is
.MMM-soccer header { text-align: left; }
the header is not a class, but a tag, that’s why you don’t have a leading
.
there.It also depends on the position of the module, if you have it e.g. in
top_left
it’s automatically on the left. -
@strawberry-3-141
Thanks, works like a charm.Any possibility to introduce a rotation option, in order to rotate the standings of the leagues in “show” or “leagues” ?
-
@evroom rotation is currently only supported for voice
-
I cant get it to work again, not even with the new version.
Where is the mistake?module: "MMM-soccer", disabled: false, position: "bottom_left", header: "", config: { colored: true, show: 'GERMANY', logos: false, focus_on: { "GERMANY": "Erzgebirge Aue" }, max_teams: 5, leagues: { "GERMANY": "BL2", } }
-
Hi @surger13 ,
You do not have the api_key specified.
The README says:api_key: false,
But for me this does not work.
I registered at https://www.football-data.org/client/register and the resulting api_key is working fine.api_key: 'xxxxd62e29754e10b56029399458xxxx',
This is a fake key, use the one you get after registering.
Good luck.
-
@surger13 sadly the second german bundesliga is not in the free plan https://www.football-data.org/coverage it would cost 49€ a month.
-
@strawberry-3-141
I suspected that. Really a pity. That was different in the past.Nevertheless, thank you.
-
Hi everyone,
I also have problems to get the module to work.
My config:
module: "MMM-soccer", position: "top_right", disabled: false, config: { api_key: 'My API-key', colored: false, show: 'GERMANY', focus_on: false, max_teams: false, logos: false, leagues: { "GERMANY": "BL1", } } },
None of my modules will work (black screen) as soon as I start the mirror with this module enabled.
I tried switching several " to ’ but I am not sure which to use. The online description and the default values in the config readme seem to be different.I would be glad if someone could help me.
Thank you.
-
Hi,
Did you not just forget the starting
{
?
Like this:{ module: "MMM-soccer", position: "top_right", disabled: false, config: { api_key: 'My API-key', colored: false, show: 'GERMANY', focus_on: false, max_teams: false, logos: false, leagues: { "GERMANY": "BL1", } } },
Did you run:
cd ~/MagicMirror; npm run config:check
??
-
Hi,
thank you for your fast response.
I was not missing an open bracket (Sry forgot to put it in the message).
I could not run config:check. Even though I updated my Magic Mirror to the latest version, it seems I am missing the script.
But I put my config into a syntax checker and there are no errors.
Thanks again.