/MMM-trakt

A MagicMirror Module to show your upcoming tv shows from trakt.tv

Primary LanguageJavaScriptMIT LicenseMIT

Trakt.tv-Module for the MagicMirror

This is a WIP with basic functionality. If you'd like to contribute, pull requests are welcome!

Todo

  • CSS
  • Pictures for the shows
  • More configuration options

Creating a Trakt.tv API application

To get your API keys you need to first create an application. Give it a name, and enter http://localhost/ in the callback field (it's a required field but not used for our purpose).

Installation

Clone the repository into your MagicMirror's modules folder, and install dependencies:

  cd ~/MagicMirror/modules
  git clone https://github.com/Kiina/MMM-trakt
  cd MMM-trakt
  npm install

Configuration

To run the module, you need to add the following data to your ~/MagicMirror/config/config.js file:

{
  module: 'MMM-trakt',
  position: 'top_center', // you may choose any location
  config: {
    client_id: 'YOUR_API_CLIENT_ID',
    client_secret: 'YOUR_API_CLIENT_SECRET',
    days: 1 // optional, default: 1
  }
}