<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-soccer : black screen, problem of config.js]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I have a problem with the module <a href="https://github.com/lavolp3/MMM-soccer" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lavolp3/MMM-soccer</a>.<br />
My screen is black, and i don’t see where is/ are the error(s)<br />
my config.js :</p>
<pre><code>	{
    module: 'MMM-soccer',
    position: 'top_left',
    config: {
        api_key: 'a7e82011ccab47a99ec1dd7847096caa',
        show:  ['FL1','CL1'],
        colored: true,
        updateInterval: 60,
        focus_on: {
            null
        },
        max_teams: 5,
        matchType: 'league',
        widht: 250,
        updateInterval: 60,
        apiCallInterval: 10,
        showMatches: true,
        showTables: true,
        fadeFocus: true,
        max_teams: false,
        logos: true, 
        liveMode: true,
        numberOfNextMatches: 8,
        
    }
},
	
</code></pre>
<p dir="auto">the api_key is the API token after creat an account on <a href="https://www.football-data.org/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.football-data.org/</a>, is that true ?<br />
thanks for your help</p>
]]></description><link>https://forum.magicmirror.builders/topic/13573/mmm-soccer-black-screen-problem-of-config-js</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 04:06:48 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13573.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Sep 2020 16:55:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 21:06:40 GMT]]></title><description><![CDATA[<p dir="auto">so cool, it’s good<br />
thank you so much</p>
]]></description><link>https://forum.magicmirror.builders/post/81177</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81177</guid><dc:creator><![CDATA[RIKKO14]]></dc:creator><pubDate>Wed, 02 Sep 2020 21:06:40 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 20:10:10 GMT]]></title><description><![CDATA[<p dir="auto">a french user make pull request for create a fr translate but … it’s not commit</p>
<p dir="auto">so try this:</p>
<p dir="auto">we will do a simple thing, we will override the en default file with the french value</p>
<p dir="auto">explain:<br />
in MMM-soccer directory, you have translation directory</p>
<p dir="auto">edit en.json file</p>
<p dir="auto">copy the content of <a href="https://raw.githubusercontent.com/laventin85/MMM-soccer/patch-1/translations/fr.json" target="_blank" rel="noopener noreferrer nofollow ugc">this</a></p>
<p dir="auto">and past it in the en.json file<br />
of course delete all content of the en.json file and replace it with the french content</p>
<p dir="auto">and restart the mirror !</p>
<p dir="auto">Edit MMM-soccer will see some translation for en … it will not control and display french value :)</p>
]]></description><link>https://forum.magicmirror.builders/post/81168</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81168</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 02 Sep 2020 20:10:10 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 19:59:38 GMT]]></title><description><![CDATA[<p dir="auto">I searched in various files in the MMM-soccer folder but could not find how to change and where to write instead:</p>
<ul>
<li>mmm-soccer over the line</li>
<li>“Matchday” per “Journée”: 2</li>
<li>“Team” by “Equipe”</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1599076723952-2020-09-02-214934_1080x1920_scrot.png" alt="2020-09-02-214934_1080x1920_scrot.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">do you know which files to modify ?</p>
]]></description><link>https://forum.magicmirror.builders/post/81167</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81167</guid><dc:creator><![CDATA[RIKKO14]]></dc:creator><pubDate>Wed, 02 Sep 2020 19:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 19:41:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rikko14" aria-label="Profile: RIKKO14">@<bdi>RIKKO14</bdi></a> said in <a href="/post/81151">MMM-soccer : black screen, problem of config.js</a>:</p>
<blockquote>
<p dir="auto">I delete <code> focus_on: {             null         },</code> and it’s good,</p>
<p dir="auto">thank you very much to you 2 !</p>
</blockquote>
<p dir="auto">oupss … not see the answer :'(</p>
]]></description><link>https://forum.magicmirror.builders/post/81161</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81161</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 02 Sep 2020 19:41:21 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 19:40:12 GMT]]></title><description><![CDATA[<p dir="auto">lol (not a problem french …don’t know why …)</p>
<p dir="auto">So <a class="plugin-mentions-user plugin-mentions-a" href="/user/rikko14" aria-label="Profile: RIKKO14">@<bdi>RIKKO14</bdi></a> ?</p>
]]></description><link>https://forum.magicmirror.builders/post/81160</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81160</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 02 Sep 2020 19:40:12 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 19:38:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: Bugsounet">@<bdi>Bugsounet</bdi></a> lol( not for me, french is harder!!)</p>
]]></description><link>https://forum.magicmirror.builders/post/81158</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81158</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Sep 2020 19:38:22 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 19:29:23 GMT]]></title><description><![CDATA[<p dir="auto">complex to explain in english :(</p>
]]></description><link>https://forum.magicmirror.builders/post/81155</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81155</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 02 Sep 2020 19:29:23 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 19:28:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: Bugsounet">@<bdi>Bugsounet</bdi></a> it’s ok. u exude me all the time! lol</p>
]]></description><link>https://forum.magicmirror.builders/post/81154</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81154</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Sep 2020 19:28:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 19:28:10 GMT]]></title><description><![CDATA[<p dir="auto">balaye toute la partie doite !<br />
ça tombe tu as caractere de caché, je vois qu’il y a une grande brarre en bas pour se déplacer, déplace la sur la droite.<br />
Regarde toute la partie que tu n’as pas vu<br />
il doit avoir un caractere, c’est sur et certain !</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sam" aria-label="Profile: sam">@<bdi>sam</bdi></a>, sorry sometime it’s more simple between french user</p>
<p dir="auto">I suspect a character in the right part of the file (because not displayed, he have to move the bar to the right)</p>
]]></description><link>https://forum.magicmirror.builders/post/81153</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81153</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 02 Sep 2020 19:28:10 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 18:36:10 GMT]]></title><description><![CDATA[<p dir="auto">I delete <code> focus_on: {             null         },</code> and it’s good,</p>
<p dir="auto">thank you very much to you 2 !</p>
]]></description><link>https://forum.magicmirror.builders/post/81151</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81151</guid><dc:creator><![CDATA[RIKKO14]]></dc:creator><pubDate>Wed, 02 Sep 2020 18:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 18:20:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rikko14" aria-label="Profile: RIKKO14">@<bdi>RIKKO14</bdi></a> says line 392</p>
<pre><code class="language-0|mm">0|mm       |         },
0|mm       |         ^
0|mm       | 
0|mm       | SyntaxError: Unexpected token }
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/81150</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81150</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Sep 2020 18:20:03 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 18:09:23 GMT]]></title><description><![CDATA[<p dir="auto">yes my <code>config.js</code> is this directory <code>/home/pi/MagicMirror/config/</code></p>
<p dir="auto">the problem comes from “}” or “},” but where ???</p>
<p dir="auto"><img src="/assets/uploads/files/1599070153604-2020-09-02-200854_1920x1080_scrot.png" alt="2020-09-02-200854_1920x1080_scrot.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/81147</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81147</guid><dc:creator><![CDATA[RIKKO14]]></dc:creator><pubDate>Wed, 02 Sep 2020 18:09:23 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 18:03:18 GMT]]></title><description><![CDATA[<p dir="auto">right sam, i don’t read log</p>
<p dir="auto">maybe, this part missing, on the end of the file</p>
<pre><code>/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
</code></pre>
<p dir="auto">if missing, config will not be exported (like a file not there)<br />
it’s the same for <code>var config = {</code> on the start of the file</p>
<p dir="auto">but by reading the error log:</p>
<pre><code>/home/pi/MagicMirror/config/config.js:392
</code></pre>
<p dir="auto">there is an error before this ligne (generaly on line-1 … so line 391)</p>
<p dir="auto">So, can you past there your config From line 380 to 410 (don’t forget to remove personal ident)</p>
]]></description><link>https://forum.magicmirror.builders/post/81146</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81146</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 02 Sep 2020 18:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:54:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: Bugsounet">@<bdi>Bugsounet</bdi></a> no, he had a syntax error, and it loads the ‘no config’ error page</p>
]]></description><link>https://forum.magicmirror.builders/post/81145</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81145</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:54:18 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:45:53 GMT]]></title><description><![CDATA[<p dir="auto">and where is located you <code>config.js</code> file ?</p>
<p dir="auto">It should in this directory : <code>/home/pi/MagicMirror/config/</code></p>
<p dir="auto">For me, it’s not a black screen, I’s just because, MagicMirror don’t find you config.js file</p>
]]></description><link>https://forum.magicmirror.builders/post/81144</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81144</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:45:53 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:31:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rikko14" aria-label="Profile: RIKKO14">@<bdi>RIKKO14</bdi></a> ok, that is not a black screen,</p>
<p dir="auto">the pm2 logs says there is a missing close brace, }</p>
]]></description><link>https://forum.magicmirror.builders/post/81142</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81142</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:31:50 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:22:00 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://zupimages.net/up/20/36/mr3l.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/81141</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81141</guid><dc:creator><![CDATA[RIKKO14]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:22:00 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:19:47 GMT]]></title><description><![CDATA[<p dir="auto">this is my black screen,<br />
so my pb comes from my config.js<br />
<img src="/assets/uploads/files/1599067125596-2020-09-02-190404_1920x1080_scrot.png" alt="2020-09-02-190404_1920x1080_scrot.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/81140</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81140</guid><dc:creator><![CDATA[RIKKO14]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:19:47 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:17:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rikko14" aria-label="Profile: RIKKO14">@<bdi>RIKKO14</bdi></a> that ctrl-shift-i needed to be done on the mirror screen</p>
]]></description><link>https://forum.magicmirror.builders/post/81139</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81139</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:17:17 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:10:09 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://zupimages.net/up/20/36/ptgj.png" alt="alt text" class=" img-fluid img-markdown" />)</p>
]]></description><link>https://forum.magicmirror.builders/post/81138</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81138</guid><dc:creator><![CDATA[RIKKO14]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:10:09 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:06:48 GMT]]></title><description><![CDATA[<p dir="auto">I don’t understand what you’re asking me to do …<br />
my pm2 logs is :</p>
<pre><code>pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 15 lines:
PM2        | 2020-09-02T16:53:22: PM2 log: ===============================================================================
PM2        | 2020-09-02T16:53:22: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2020-09-02T16:53:22: PM2 log: App [mm:0] online
PM2        | 2020-09-02T17:31:26: PM2 log: Stopping app:mm id:0
PM2        | 2020-09-02T17:31:26: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
PM2        | 2020-09-02T17:31:26: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
PM2        | 2020-09-02T17:31:26: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2020-09-02T17:31:26: PM2 log: pid=568 msg=process killed
PM2        | 2020-09-02T17:31:26: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2020-09-02T17:31:26: PM2 log: App [mm:0] online
PM2        | 2020-09-02T18:38:38: PM2 log: Stopping app:mm id:0
PM2        | 2020-09-02T18:38:39: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2020-09-02T18:38:39: PM2 log: pid=4304 msg=process killed
PM2        | 2020-09-02T18:38:39: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2020-09-02T18:38:39: PM2 log: App [mm:0] online

/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm       | [2020-09-02 18:38:41.282] [ERROR]  WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:392
0|mm       |         },
0|mm       |         ^
0|mm       | 
0|mm       | SyntaxError: Unexpected token }
0|mm       |     at Module._compile (internal/modules/cjs/loader.js:722:23)
0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
0|mm       |     at Module.load (internal/modules/cjs/loader.js:645:32)
0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:560:12)
0|mm       |     at Module.require (internal/modules/cjs/loader.js:685:19)
0|mm       |     at require (internal/modules/cjs/helpers.js:16:16)
0|mm       |     at loadConfig (/home/pi/MagicMirror/js/app.js:67:12)
0|mm       |     at App.start (/home/pi/MagicMirror/js/app.js:202:3)
0|mm       |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/js/electron.js:126:7)
0|mm       |     at Module._compile (internal/modules/cjs/loader.js:786:30)

/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm       | &gt; magicmirror@2.12.0 start /home/pi/MagicMirror
0|mm       | &gt; DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|mm       | 
0|mm       | [2020-09-02 18:38:41.268] [LOG]    Starting MagicMirror: v2.12.0
0|mm       | [2020-09-02 18:38:41.277] [LOG]    Loading config ...
0|mm       | [2020-09-02 18:38:41.285] [LOG]    Loading module helpers ...
0|mm       | [2020-09-02 18:38:41.330] [LOG]    Initializing new module helper ...
0|mm       | [2020-09-02 18:38:41.332] [LOG]    Module helper loaded: updatenotification
0|mm       | [2020-09-02 18:38:41.334] [LOG]    No helper found for module: helloworld.
0|mm       | [2020-09-02 18:38:41.336] [LOG]    All module helpers loaded.
0|mm       | [2020-09-02 18:38:41.451] [LOG]    Starting server on port 8080 ... 
0|mm       | [2020-09-02 18:38:41.465] [LOG]    Server started ...
0|mm       | [2020-09-02 18:38:41.467] [LOG]    Connecting socket for: updatenotification
0|mm       | [2020-09-02 18:38:41.469] [LOG]    Sockets connected &amp; modules started ...
0|mm       | [2020-09-02 18:38:41.550] [LOG]    Launching application.



</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/81136</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81136</guid><dc:creator><![CDATA[RIKKO14]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:06:48 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-soccer : black screen, problem of config.js on Wed, 02 Sep 2020 17:01:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rikko14" aria-label="Profile: RIKKO14">@<bdi>RIKKO14</bdi></a> what are the messages in the window where u did npm start?</p>
<p dir="auto">if none then open the developers window, ctrl-shift-i on the keyboard, select the tab labeled console, and scroll up for any errors, usually red text</p>
]]></description><link>https://forum.magicmirror.builders/post/81134</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81134</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Sep 2020 17:01:46 GMT</pubDate></item></channel></rss>