Read the statement by Michael Teeuw here.
sample config and clock
-
@emos you forgot an , behind the position
{ module: 'clock', position: 'top_left', config: { displaySeconds: false } }
-
@strawberry-3.141
Thank you, it did the trick :)I see that you have removed the ‘,’ behind ‘false’. The last argument, or string, is that the only one that’s not suppose to have an ‘,’ at the end?
-
@emos that’s correct it’s like writing a list you seperate them by comma except the last item
-
@strawberry-3.141 Thank you so much, that helped me alot :thumbsup:
-
one more question regarding the last ‘,’
Does the same rule apply with the ‘[’ and ‘]’?
{ module: 'compliments', position: 'lower_third', config: { compliments: { day_sunny: [ 'Today is a sunny day', 'It\'s a beautiful day', ], snow: [ 'Snowball battle!', ], rain: [ 'Don\'t forget your umbrella' ] } } },
Or does each square bracket count as individual values. So if there’s only one you don’t need to close it?
-
@emos you have to seperate each level with commas things day_sunny, snow, rain has to be seperated with commas
thats what inside the square brackets has to be seperated by commasas well