MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. np27np27
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    N
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 37
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-SoccerLiveScore

      @0m4r
      Ok ive reinstalled and successfully updated to the feature/fetch-node branch. I think it all installed error free this time!!

      Lets see how things look later today after during the premier league games. I’ll let you know how it goes.

      My config for the module:

      	{
      		disabled: false,
      		module: 'MMM-SoccerLiveScore',
      		position: 'top_right',
      		header: 'Live-Scores',
      		config: {
      			leagues: [17],
        			showNames: true,
       			showLogos: true,
       			displayTime: 20 * 1000,
        			showStandings: true,
        			showTables: true,
        			showScorers: false,
      		}
      	},
      
      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      No I don’t think it’s updating for me.
      Maybe I need to delete the whole module and start again. I did get a few errors during the update to your new changes.
      Can I reinstall from the main branch or do I reinstall and then update again how you mentioned above?

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      Yes will try later today. Thanks for your continued effort 👍🏾

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r,

      Looks like it’s still not working. It’s gone past the api call date that is displayed at the bottom of the module and it’s not updated. Does it work for you?

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @np27np27 said in MMM-SoccerLiveScore:

      @0m4r
      OK tried again, this time I received the following after npm ci

      npm WARN prepare removing existing node_modules/ before installation
      npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing.
      npm ERR!
      npm ERR!
      npm ERR! Invalid: lock file’s node-fetch@2.6.6 does not satisfy node-fetch@v2.6.1
      npm ERR!

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2021-12-06T22_20_06_917Z-debug
      .log

      I did npm install then npm Ci and it seems no errors this time. Let’s see if it works now. I’ll let you know 👍🏾

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      OK tried again, this time I received the following after npm ci

      npm WARN prepare removing existing node_modules/ before installation
      npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing.
      npm ERR!
      npm ERR!
      npm ERR! Invalid: lock file’s node-fetch@2.6.6 does not satisfy node-fetch@v2.6.1
      npm ERR!

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2021-12-06T22_20_06_917Z-debug
      .log

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r said in MMM-SoccerLiveScore:

      @np27np27 can you try check out and run this branch:
      https://github.com/0m4r/MMM-SoccerLiveScore/tree/feature/node-fetch

      > cd [YOUR_PATH_TO_MMM-SoccerLiveScore]
      > git fetch -p
      > git checkout node-fetch
      > git pull -r
      > npm ci
      > [RESTART MM]
      

      I did do some major changes (removed request for node-fetch, and some other code improvements amongst which I hope to have fixed the problem of the refresh you reported)

      Hi @0m4r ,

      Ive tried the above but got an error at the checkout node-fetch line. Can’t find the file or something similar?
      Still continued on and did the rest.
      The mm restart has updated the module data. I will check when a game plays tonight to see if the live data changes.

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      No problem, thanks for trying and keeping this module going 👍🏾👍🏾

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      Yes if you manually restart MM the the data updates.

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      For me the module has an api request date of yesterday! So it’s probably not called the api?

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      Actually I found another issue after the fix. The scores don’t seem to be updating during games or even at regular intervals.
      I’m not sure if it’s updating at all, maybe only when magicmirror restarts or if I restart the module. @0m4r can you have a look and confirm if it works for you?

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      Yes it works now! Thanks for the quick help and update ;)

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r
      Your fork of this module seems to have stopped working for me. I’ve updated to the latest commits and also tried to reinstall the module. Only getting the loading… message where the module should be. I 've checked the console and did a config check. There does not seem to be any other errors.

      Any ideas??

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r thanks, will check it out. 👍🏾

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r thanks for this.

      The site seems to have international games but what looks like friendlies only. Surely they will add the Euros competition on shortly. Hopefully after that it will be possible to have the results through the module?

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      @0m4r said in MMM-SoccerLiveScore:

      @np27np27 same here! but unfortunately, the APIs do not support euro 2020.

      Ah what!! That’s not good. I did see somewhere that league id 4000 pointed to the fifa world Cup, so I thought the euros would also be there!
      Do you know which site the api pulls the scores from? I was looking through the code and it seems to be a German site listed but I can’t find any readable data from the links.

      posted in Sport
      N
      np27np27
    • RE: MMM-SoccerLiveScore

      Hi, great module and works perfectly.

      I would like to see the Euro championship scores from next week. I cant see a league for it. Is it possible??

      posted in Sport
      N
      np27np27
    • 1
    • 2
    • 2 / 2