• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-SoccerLiveScore

Scheduled Pinned Locked Moved Sport
187 Posts 37 Posters 209.9k Views 35 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    LukeCodewalker Module Developer @tismepaulo
    last edited by Dec 13, 2016, 2:55 PM

    @tismepaulo thank you. it’s that way now. just update the module.

    T 1 Reply Last reply Dec 13, 2016, 5:38 PM Reply Quote 0
    • L Offline
      LukeCodewalker Module Developer @nem1
      last edited by Dec 13, 2016, 4:37 PM

      @nem1 said in MMM-SoccerLiveScore:

      @LukeCodewalker said in MMM-SoccerLiveScore:

      Here are some features I want to implement in the future if theres interest:

      • only show scores when there is a match running
      • goal notifications

      Do you have more ideas?

      I am really interested in the module and your plan to develop it as mentioned in the quote.

      What will the module show if there aren’t any livegames in my chosen leagues/cups? The results of the last matches? The soccer table?

      Thanks for your work!

      Right now it show’s the result of the last matches or the upcoming matches. depends on which of them are closer. Tables would be possible but what would you do with a cup without a table?
      I thought of just hiding the module when there’s no match running in the moment.

      N 1 Reply Last reply Dec 13, 2016, 4:52 PM Reply Quote 0
      • N Offline
        nem1 @LukeCodewalker
        last edited by Dec 13, 2016, 4:52 PM

        @LukeCodewalker
        I don´t think that it´s a good idea to hide the module if there is no running match. I would welcome it, if for a league the table is shown and for a cup the version with the last/upcoming matches.

        What do you think about a “Live Table” during the matches as a rotation between scores and table? Of course only for leagues.

        1 Reply Last reply Reply Quote 0
        • T Offline
          tismepaulo @LukeCodewalker
          last edited by Dec 13, 2016, 5:38 PM

          @LukeCodewalker awesome, thanks!

          1 Reply Last reply Reply Quote 0
          • L Offline
            LukeCodewalker Module Developer @d3r
            last edited by Dec 13, 2016, 8:52 PM

            @d3r said in MMM-SoccerLiveScore:

            That looks like a really cool module. I’ll give this a try this weekend.
            About suggestions, maybe show the goalscores and goal times.
            If a match is still going on, display how long the game has been on for. Somewhat like livescore.

            Don’t you think that this would use too much space?

            1 Reply Last reply Reply Quote 0
            • N Offline
              nem1
              last edited by Dec 16, 2016, 7:16 PM

              Nice module! Thanks for the developement.I already tested it - works nearly perfect! But as I mentioned, it would be great if the table would be displayed too, if there are not running matches!

              L 1 Reply Last reply Dec 17, 2016, 8:25 AM Reply Quote 0
              • L Offline
                LukeCodewalker Module Developer @nem1
                last edited by Dec 17, 2016, 8:25 AM

                @nem1 thanks for the feedback =)
                implementing the tables will be no problem, but i don’t think i will find time before christmas. but i think the holidays will be perfect to do it =)

                N 1 Reply Last reply Dec 18, 2016, 11:11 AM Reply Quote 0
                • N Offline
                  nem1 @LukeCodewalker
                  last edited by Dec 18, 2016, 11:11 AM

                  @LukeCodewalker
                  Nice, I am really looking forward to this! :)

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    LukeCodewalker Module Developer
                    last edited by Jan 4, 2017, 12:42 PM

                    So i finally implemented tables showing between scores.
                    Heres a small preview how the tables look like:
                    alt text
                    The tables will be shown only if the league has a table.

                    To get the feature just update the module with git pull.
                    If you want to disable tables just add

                    showTables: false
                    

                    to the module-config.

                    Hope you’ll enjoy it!

                    D 1 Reply Last reply Feb 4, 2017, 8:46 AM Reply Quote 0
                    • D Offline
                      djbosman @LukeCodewalker
                      last edited by Feb 4, 2017, 8:46 AM

                      @LukeCodewalker
                      Hi!
                      Yet another NOOB needing help; I hope you don’t mind?!

                      Let me first say a massive thanx for great work!! This is just such a neat app for any soccer enthusiast. Our mirror is setup in the workplace and there are several enthusiasts that enjoy the live posting of results.

                      The sad news, it has now stopped working!

                      It just displays Live Scores, and that’s it.

                      Because the mirror is a work in progress, we often load/test new modules, so I gues somewhere a dependancy has broken.

                      But I am not a developer!!

                      I’ve updated nodejs to v7.5.0, but no go.

                      Can you possibly submit a chronological set of steps I might follow to determine what has died?

                      As I have not changed the soccer module reference in the config.js, I doubt that is what is wrong, but I’ll list it all the same:
                      /* Magic Mirror - Team Iron Man
                      *
                      */

                      var config = {
                      port: 8080,
                      ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”],

                      language: 'en',
                      timeFormat: 24,
                      units: 'metric',
                      
                      modules: [
                      	{
                      		module: 'alert',
                      	},
                      	{
                      		module: "updatenotification",
                      		position: "top_bar"
                      	},
                      	{
                      		module: 'clock',
                      		position: 'top_left'
                      	},
                      	{
                      		module: 'calendar',
                      		header: 'South African Holidays',
                      		position: 'top_left',
                      		config: {
                      			calendars: [
                      				{
                      					symbol: 'calendar-check-o ',
                      					url: 'http://www.kayaposoft.com/enrico/ics/v1.0?country=zaf&fromDate=01-01-2017&toDate=31-12-2017'
                      				}
                      			]
                      		}
                      	},
                      	{
                      		module: 'compliments',
                      		position: 'lower_third'  
                      	},
                      	{
                      		module: 'currentweather',
                      		position: 'top_right',
                      		config: {
                      			location: 'Cape Town',
                      			locationID: 3369157,
                      			appid: '325d7446836769aeb5e5e9d24e0209bf'
                      		}
                      	},
                      	{
                      		module: 'weatherforecast',
                      		position: 'top_right',
                      		header: 'Weather Forecast',
                      		config: {
                      			location: 'Cape Town',
                      			locationID: 3369157,
                                                  appid: '325d7446836769aeb5e5e9d24e0209bf'
                      		}
                      	},
                      	{
                      		module: 'newsfeed',
                      		position: 'bottom_bar',
                      		config: {
                      		feeds: [
                      				{
                                                                 title: 'Motivation',
                                                                 url: 'http://fees.feedburner.com/brainyquote/QUOTEBR'
                                                          },
                                                          {
                      					title: 'South Africa',
                      					url: 'http://feeds.news24.com/articles/news24/SouthAfrica/rss'
                      				},
                      				{
                      				        title: 'Sports',
                                                                  url: 'http://feeds.24.com/articles/sport/featured/topstories/rss'
                                                          },
                                                          {
                      					title: 'Top Stories',
                      					url: 'http://feeds.news24.com/articles/News24/World/rss'
                      				},
                      				{
                      					title: 'World',
                      					url: 'http://feeds.news24.com/articles/News24/World/rss'
                      				},
                      				{
                      					title: 'SciTech',
                      					url: 'http://feeds.news24.com/articles/Fin24/Tech/rss'
                      				}
                      			],
                      			showSourceTitle: true,
                      			showPublishDate: true
                                        
                      	    }
                      	},
                          {
                                          module: 'MMM-SoccerLiveScore',
                                          position: 'top_right',
                                          header: 'Live-Scores',
                                          config: {
                                                  leagues: [17],
                                                  showNames: true,
                                                  showLogos: false,
                                                  displayTime: 60 * 1000,
                                                  showTables: true
                                          }
                      	} 
                      

                      ]

                      };

                      /*************** DO NOT EDIT THE LINE BELOW ***************/
                      if (typeof module !== ‘undefined’) {module.exports = config;}

                      Thanx for any help!!

                      LukeCodewalkerL 1 Reply Last reply Feb 4, 2017, 9:21 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 18
                      • 19
                      • 2 / 19
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy