The IMDBComingSoon
module displays all the listed films in IMDBs comming Soon section for this month and next month. It is similar to MMM-MovieInfo by fewieden, but has been rewitten to use IMDB instead of TheMovieDB and to remove the dependencies.
It is required that you get an API key from the API proxy site myapifilms.com, do so is easy and free (for less than 2000 requests per day). Simply click on "Token" in the menu bar and follow the instructions.
1. Execute the following commands from your MagicMirror/modules
folder:
git clone https://github.com/izanbard/MMM-IMDBComingSoon.git # clone this repository
2. Add the module to your config/config.js
file (see below for details).
To use this module you will need a myapifilms.com API Key.
Get your required API Key from myapifilms.com/token.do.
Then, add it to the modules array in the config/config.js
file:
var config = {
modules: [
{
module: 'MMM-IMDBComingSoon',
position: 'top_left',
header: "Upcoming Films",
config: {
apikey: "You Must Change This Value",
reloadInterval: 8 * 60 * 60 * 1000, //8 hours
dataSwapInterval: 60 * 1000, //1 min
animationSpeed: 1.5 * 1000 //1.5 secs
}
}
]
}
The following properties can be configured:
Option | Description |
---|---|
apiKey |
Get your required API Key from myapifilms.com/token.do.
Possible Values: 32 Hexdecimal Chars with additional hyphens Default Value: NO DEFAULT VALUE - YOU MUST GET ONE OF YOUR OWN |
reloadInterval |
The time (in millisecs) between API calls made to the API proxy. If this value is setto less then 1 minute, then it is rest to exactly 1 minute. Given that you have a max of 2000 requests per day, consider fewer reload calls. (the films won't be updated that ofeten on IMDB.
Possible Values: any integer greater than 60000. Default Value: 8 * 60 * 60 * 1000 which is 8 hours
|
dataSwapInterval |
The time (in millisecs) to show each film before swapping to the next one.
Possible Values: any integer value Default Value: 60 * 1000 which is 1 min
|
animationSpeed |
When swapping between fims, how fast to fade in/out (in millisecs).
Possible Values: any integer value Default Value: 1.5 * 1000 which is 1.5 secs
|