Giter VIP home page Giter VIP logo

mmm-soccer's People

Contributors

el97 avatar fewieden avatar ianperrin avatar laventin85 avatar slametps avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mmm-soccer's Issues

Stuck at loading...

I've been stick at the loading... on the MM2 screen. Any reasons why it wouldn't load?

Update league table

Some league are outdated. E.g. the German 430 league shows the "Bundesliga" from the year 2016/2017. But the new "Bundeliga" 2017/2018 started this weekend. This would be leage 452.

Teams are not loaded/displayed

Platform (Hardware/OS):
Raspberry Pi 4 / Raspberry PI OS (Legacy, 32-Bit)

Node version:
20.8.0
MagicMirror version:
2.26.0
Module version:
2.2.1
Description of the issue:
Hello,
I carried out the installation exactly according to your instructions. However, the Teams are not loaded/displayed.
image

Do I have something wrong here in the config?

{
  module: 'MMM-soccer',
  position: 'bottom_left',
  config: {
    api_key: 'XXXXXXXXXXXXXXXXXXXXXXXXX',
    show: 'GERMANY',
	logos: 'true',
    colored: 'true',
    focus_on: {
      "GERMANY": "SC Freiburg"
    },
    max_teams: '36',
    leagues: {
      "GERMANY": "BL1"
    }
  }
},

How to remove HEADER

Hello !

I would like remove the module's Header.

showHeader: 'false', doesn't work

Thank in advance

please add this.

Hello. I like so much your fork module, but I would like to make you a request. I would like there to be the possibility to insert that during live matches it is show who scored and made assists or who was injured.. It would be the finishing touch to perfection.

New version in works w/ several updates

I am working on a new version of this module with several changes, updates and fixes. I have done so many changes that it might be difficult to implement them here.
A few examples:

  • several leagues
  • optional matches and table
  • focus on one team per league in table and matches
  • cup mode for CL.
  • fixed focus
    Planned
  • live mode (focus on matches in play)
  • include more leagues/cups using another API

I'd also try to include the issues on this repository.

@fewieden what is your opinion? Should I send a PR to the develop branch or publish an own repository with the changes references this rep? I'd rather do the latter.

ITALY Serie A - No icons at all

Hi,
I have updated to the develop branch to use v2 APIs which are working perfectly.
The only problem I am facing is that icons are not loaded at all, also, the colored: true is referred to the icons or there should be other colors somewhere?

image

Thanks
Andrea

Icon downloader needs fix to use v2 of api & problems with focus_on

Platform (Hardware/OS):
Raspberry Pi 3
Node version:
?
MagicMirror version:
2.6.0
Module version:
current master branch

Description of the issue:
The v1 api does not work any more, so I changed the downloader.js file to use v2 to get the team names and download the icons. An api key is needed as well as some other changes due to differences between v1 and v2. My solution does only work for me (api key & hardcoded for Germany - BL1)
This is just a hint that you may want to update the downloader.js file to use v2 in the future.

Also I can't seem to get the focus_on function to work. I can use everything else and its working great. My config is:

config: {
    api_key: '<my key>',
    show:"GERMANY",
    focus_on: {"GERMANY": "VfB Stuttgart"},
    max_teams: 7,
    logos: true,
    colored:true,
    max_teams:3,
}

When the focus_on parameter is added no teams are visible. If I comment it out everything is working as intended. Could somebody help me out please?

Loading problem thank you

Platform (Hardware/OS):Rasbian full
Pi 4
MagicMirror version:2.14.0

Bonjour, j'ai suivi l'installation en sachant que je suis debutant tout fonctionne sauf le module soccer il reste sur chargement et rien ne se passe .
Est ce qu'une personne peux m'aider merci.
Je vous mets mon fichier config.js merci
{
module : "MMM-soccer" ,
position : "lower_third",
config : { // ajoutez vos options de configuration ici
leagues: "FRANCE:FL1",
show: "FRANCE",
focus_on: "Olympique Lyonnais"
//max-teams: "6",

	}
},

18. Place ar not show

The 18. Place in German 1. BL dosn't show - why?

Here my config

{ module: 'MMM-soccer', position: 'bottom_right', config: { // add your config options here api_key: 'KEY', show:"GERMANY", max_teams: 6, logos: true, colored: true, focus_on:{"GERMANY": "FC Schalke 04"} } }

Fixtures

Would it be possible to add X next fixtures for the highlighted teams?

Rotation option

Platform (Hardware/OS): Raspberry Pi 3 Model B

Node version: 9.11.2

MagicMirror version: 2.50

Module version: 2.0.0

Description of the issue:

Would it be possible to introduce a rotation option, in order to rotate the standings of the leagues defined by the options “show” or “leagues” ?
For non Voice Control users.

Icons

One icon isn't showing in the German League (Bavaria Munich). Is there a way to refresh the icon list or something?

Odd fading behaviour

Platform (Hardware/OS):
Raspberry Pi 3b+ with Raspbian Stretch
Node version:
11.4.0
MagicMirror version:
2.5.0
Module version:
latest
Description of the issue:

The fading or focus behave odd on my mirror.
Fading brightness is not like it should be. First lines are black then seemingly random brightness levels.
I tried to interprete the nunjucks part but I'm not common with that at all.

My config:

{ //disabled: true, module: 'MMM-soccer', position: 'top_left', config: { api_key: 'xxxxxxxxxxxxxxxxxxxxxxxxxx', show: 'GERMANY', colored: true, focus_on: {'GERMANY':'SV Werder Bremen'}, max_teams: 7 } },
image

Icon Downloader

A lot of team icons are unavailable after a certain period of time. Therefore an icon downloader would be handy.

traslate

Hello. I wanted to tell you that if you need I created a .json file with the Italian translation. Then here I wanted to ask you if I could also help in the translation of the teams that is not good. I am available to help. thank you @fewieden

French icons

Hello,

I send you this message because I don't have the icons of the french league 1.
Am I the only one to have this problem or can you put the icons on ?

Thank you !

Update for v2 API?

Hi there, my understanding is that this Module use the v1 API Version from football-data.org

As far as I can see on their website they have release the v2 API Version and the data will no longer be udpated in the v1 one.

Would be possible to update the module to be compatible with the v2?
For what I have found so far the main changes are:

  • Leagues number
  • API URL
  • Key mandatory

In node_helper.js
URL change:
http://api.football-data.org/v1/competitions/${payload.league}/leagueTable
Become:
https://api.football-data.org/v2/competitions/${payload.league}/standings

The reponse is still JSON but the order of information changes.
Registering a Free API Key will allow 10 API Calls per Minute (enough for what the Mirror itself should do), probably worth update the "refresh time" but not really mandatory, unless the module start also to be able to provide live results (which the APIs can provides, delayed for free or live under payment, https://www.football-data.org/pricing)

Thanks! :)

Best regars
Andrea

Juventus logo is not displayed

Platform (Hardware/OS): Raspberry Pi 4

Node version: v10.21.0

MagicMirror version: v2.12.0

Module version: 1.0.0

Description of the issue: I use the fork from lavolp3. Unfortunately the Juventus logo is not displayed (in the Champions League table).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.