Trakt.tv-Module for the MagicMirror
⚠️ This project is archived and is no longer maintained.
Due to the continued enshittification of Trakt.tv, I've decided to no longer support or develop this project.
The repository will remain available for historical reference and for anyone who wishes to fork the project and continue development independently.
- CSS
- Pictures for the shows
- More configuration options
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).
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 installTo 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
header: 'TV-Shows', // optional
config: {
client_id: 'YOUR_API_CLIENT_ID',
client_secret: 'YOUR_API_CLIENT_SECRET',
days: 1, // optional, default: 1. 1 = today's episodes, 2 = today's and tomorrow's, 3 = etc...
styling : {
moduleSize: "small", // optional, possible value: (xsmall, small, medium, large, xlarge), default: small
daysUntil: false, // optional, shows 'today' and 'tomorrow' instead of date, default: false
daysUntilFormat: "hh:mm", // optional, default: "hh:mm", time format after 'today'. Leave empty ("") to hide, possible values: https://momentjs.com/docs/#/displaying/format/
dateFormat: "D.M hh:mm", // optional, default: "D.M hh:mm", possible values: https://momentjs.com/docs/#/displaying/format/
showEpisodeTitle: true, // optional, default: true
},
debug: false // optional, default: false
}
}