Read the statement by Michael Teeuw here.
Missing Club Logos in MMM-Soccer
-
-
also “logos”: true, will not show the logos.
-
the code does NOT look in the public folder, from the njk file
/MMM-soccer/{{standing[index].team.name}}.svg
or
/MMM-soccer/{{entry.team.name}}.svgmight want to edit the njk, and change those to
/MMM-soccer/public/also, many of your files are
25px-Logo_TSG_Hoffenheim.svg.png < ---- .pngthis is svg
FCSchalke04.svgbut I don’t think ‘FCSchalke04’ is the team name
-
ok, i have now added the /public to the path like this src=“/MMM-soccer/public/{{standing[index].team.name}}.svg”
The install discription says : “the logos need to be in svg format and the name of the file has to match the displayed name.”
I my case f.e. now FC Schalke 04.svg . The displayed name is “FC Schalke 04”pi@raspberrypi:~/MagicMirror/modules/MMM-soccer/public $ ls
‘BV Borussia 09 Dortmund.svg’ ‘SC Freiburg.svg’
‘FC Schalke 04.svg’ SC_Paderborn_07_Logo.svg
‘Hertha BSC.svg’same result …strange
-
@tino if you open the developers window, ctrl-shift-i, and select the tab labeled console, and scroll up,
maybe put ‘soccer’ (no quotes) in the filter field to just see messages from one module, you should see the errors from loading some url… -
You made my day!!
THX for your tip with the Debug console.
System could not find the path to the public folder.
false: src=“/MMM-soccer/public/{{standing[index].team.name}}.svg”
right: src=“/modules/MMM-soccer/public/{{standing[index].team.name}}.svg”now it works perfect …thumbs up
-
@tino woohoo!
Glad u solved it!
-
@sdetweil I’m having the same issue but I don’t understand what you mean by the developers window here. What is that, exactly?
Thanks. -
@ambujsethi on the mirror screen, press ctrl-shift-i. This will split screen with the developers window on the right side
you can also open the developers window with npm start dev (as long as u stopped the pm instance)
-
@sdetweil Thank you! I’ll try it out and hopefully solve the issue. :)