Skip to content
forked from fewieden/MMM-NHL

Finnish Major Icehockey league Liiga Module for MagicMirror²

License

Notifications You must be signed in to change notification settings

timpeer/MMM-Liiga

 
 

Repository files navigation

MMM-NHL GitHub license Build status Code Climate Known Vulnerabilities

Finnish Major Icehockey league Liiga Module for MagicMirror²

This is fork from https://github.com/fewieden/MMM-NHL module

Big hand to these guys, fewieden and rest of the MMM-NHL module contrubutors https://github.com/fewieden/MMM-NHL/graphs/contributors

Still on beta, playoffs might not work etc..

Examples

Dependencies

Installation

  • Clone this repo into ~/MagicMirror/modules directory.
  • Configure your ~/MagicMirror/config/config.js:
{
    module: 'MMM-Liiga',
    position: 'top_right',
    config: {
        // Add your config options here, which have a different value than default.
    }
}
  • Run command npm i --production in ~/MagicMirror/modules/MMM-Liiga directory.

Config Options

Option Default Description
colored false Remove black/white filter of logos.
focus_on false Display only matches with teams of this array e.g. ['VAN', 'MTL', 'BOS'].
matches 6 Max number of matches displaying simultaneously.
rotateInterval 20000 (20 secs) How often should be rotated the matches in the list.
reloadInterval 1800000 (30 mins) How often should the data be fetched.
daysInPast 1 How many days should a game be displayed after it is finished.
daysAhead 7 How many days should a game be displayed before it starts.
liveReloadInterval 60000 (1 min) How often should the data be fetched during a live game.
showNames true Should team names be displayed?
showLogos true Should team logos be displayed?
showPlayoffSeries true Should playoff series be displayed (if in playoffs)?
rollOver false Displays today's games and based on game status also yesterdays games or tomorrows games. Automatically overrides daysInPast and daysAhead to 1.

Global config

Option Default Description
locale undefined By default it is using your system settings. You can specify the locale in the global MagicMirror² config. Possible values are for e.g.: 'en-US' or 'de-DE'.

To set a global config you have top set the value in your config.js file inside the MagicMirror² project.

Developer

  • npm run lint - Lints JS and CSS files.
  • npm run docs - Generates documentation.

About

Finnish Major Icehockey league Liiga Module for MagicMirror²

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 83.2%
  • Nunjucks 15.8%
  • CSS 1.0%