From 0e96067f55a867f703e345a2cce5051a27dc2669 Mon Sep 17 00:00:00 2001 From: fewieden Date: Wed, 7 Feb 2018 00:49:20 +0100 Subject: [PATCH 1/2] updated league codes, patched major league icons --- MMM-soccer.js | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/MMM-soccer.js b/MMM-soccer.js index cc6a06a..6daa3bf 100644 --- a/MMM-soccer.js +++ b/MMM-soccer.js @@ -11,23 +11,10 @@ Module.register('MMM-soccer', { icon_fixes: { - '1. FC Köln': 'http://vignette1.wikia.nocookie.net/fusssballstatistiken/images/a/aa/1_FC_Koeln.svg', '1. FSV Mainz 05': 'https://upload.wikimedia.org/wikipedia/commons/d/d6/FSV_Mainz_05_Logo.png', - 'Bayer Leverkusen': 'https://upload.wikimedia.org/wikipedia/de/f/f7/Bayer_Leverkusen_Logo.svg', - 'FC Augsburg': 'https://upload.wikimedia.org/wikipedia/en/c/c5/FC_Augsburg_logo.svg', - 'FC Ingolstadt 04': 'https://upload.wikimedia.org/wikipedia/en/0/0b/FC_Ingolstadt_04_logo.svg', - 'FC Schalke 04': 'https://upload.wikimedia.org/wikipedia/commons/6/6d/FC_Schalke_04_Logo.svg', - 'Hertha BSC': 'https://upload.wikimedia.org/wikipedia/de/3/38/Hertha_BSC_Logo.svg', - 'Red Bull Leipzig': 'https://upload.wikimedia.org/wikipedia/en/0/04/RB_Leipzig_2014_logo.svg', - 'TSG 1899 Hoffenheim': 'https://upload.wikimedia.org/wikipedia/commons/e/e7/Logo_TSG_Hoffenheim.svg', - 'Sheffield Wednesday': 'https://upload.wikimedia.org/wikipedia/en/b/b4/SheffieldWednesday2016logo.png', - Reading: 'https://upload.wikimedia.org/wikipedia/en/1/11/Reading_FC.svg', - 'Preston North End': 'http://vignette1.wikia.nocookie.net/logopedia/images/e/ef/Preston_North_End_FC_logo_(introduced_2014).png', - 'Brentford FC': 'https://upload.wikimedia.org/wikipedia/en/c/c9/Brentford_FC_logo.svg', - 'Wolverhampton Wanderers FC': 'https://upload.wikimedia.org/wikipedia/en/f/fc/Wolverhampton_Wanderers.svg', - 'Bristol City': 'https://upload.wikimedia.org/wikipedia/en/0/00/Bristol_City_FC.svg', - 'Blackburn Rovers FC': 'https://upload.wikimedia.org/wikipedia/en/0/0f/Blackburn_Rovers.svg', - 'Leeds United': 'https://upload.wikimedia.org/wikipedia/de/d/de/Leeds_United.svg' + 'FC Bayern München': 'https://upload.wikimedia.org/wikipedia/commons/1/1f/Logo_FC_Bayern_M%C3%BCnchen_%282002%E2%80%932017%29.svg', + 'SPAL Ferrara': 'https://upload.wikimedia.org/wikipedia/de/e/e7/SPAL_Ferrara.svg', + 'Benevento Calcio': 'https://upload.wikimedia.org/wikipedia/de/4/48/Benevento_Calcio_Logo.svg' }, defaults: { @@ -37,11 +24,11 @@ Module.register('MMM-soccer', { focus_on: false, // false or the name of a team to focus on (used with max_teams) max_teams: false, // false or the number of teams to show either side of the focused team leagues: { - GERMANY: 430, - FRANCE: 434, - ENGLAND: 426, - SPAIN: 436, - ITALY: 438 + GERMANY: 452, + FRANCE: 450, + ENGLAND: 445, + SPAIN: 455, + ITALY: 456 } }, From 4cbe41272f9889bfa9fc5b07d0406dbc8bd10586 Mon Sep 17 00:00:00 2001 From: fewieden Date: Wed, 7 Feb 2018 00:49:52 +0100 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d1a4eb..50a2988 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mmm-soccer", - "version": "1.0.0", + "version": "1.0.1", "description": "European Soccer Standings Module for MagicMirror2", "repository": { "type": "git",