Skip to content

Tueti/MMM-MovieListings

Repository files navigation

The original MMM-MovieListings

NOTE FOR UPDATE 1.2.0:

Version 1.1.0 might have caused issues for you. Those issues should now be resolved. Please update to 1.2.0 and give the module another try. I'd really appreciate that. If you still experience issues, please let me know via Github Issue!

Description

Displays the top 20 movies that are currently in theaters around you. The list is fetched from The Movie Database. The module determines whether it's on the left or right side of the mirror and displays accordingly (image in poster mode mode will always be on the side of the mirror's edge):

Platform license

Example Example

Install

cd ~/MagicMirror/modules

git clone https://github.com/Tueti/MMM-MovieListings

Dependencies

None. Uses MagicMirror² builtin fetch

Change Log

For the latest changes, please refer to the change log.

Config

The entry in config.js can include the following options:

Option Description Default
header The header of the module Kinofilme
apiKey Required! Your API Read Access Token. Please insert the 'v3 (auth)' key here, not v4. Signup here, then get a key in your profile section -> api none
interface Defines how the module will be presented. Movies can either be shown as a poster with details or a simple list. User poster or list as values. poster
includeMoviePlot Determins whether a short plot discription will be shown or not. Set to either true or false false
maxPlotLength Sets the max length of the movie plot description. Only necessary if includeMoviePlot is set to true. Setting this value to 0 shows entire plot. NOTE: This might be a long text and mess with the layout. 198
language The language for the movie data. A region specific language as in ISO 3166-1 (de-DE for German in Germany, pt-BR for Portugese in Brazil, etc.) de-DE
pageChangeInterval Interval in milliseconds to change between movies 30 * 1000 = 30 seconds
refreshInterval Interval in milliseconds to update movie list. Please take the API documentation for rate limit into account 1000 * 60 * 60 * 24 = Once a day

Example Config

Add the module to the modules array in the config/config.js file:

{
		module: 'MMM-MovieListings',
		position: 'bottom_left',
		config: {
			apiKey: 'api_key_here',
			header: "Kinofilme",
			interface: "poster",
			includeMoviePlot: true,
			maxPlotLength: 198,
			language: "de-DE",
			pageChangeInterval: 10 * 1000,
			refreshInterval: 1000 * 60 * 60 * 60 * 24
		}
},

About

Movie info module for the MagicMirror project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •