Embedded Discord Trakt Ratings with clickable links to Trakt and IMDB. It fetches the API every minute and checks for new ratings.
Make sure you fill in the following values in the config.json
file:
Command | Description |
---|---|
webhook_url |
The Discord webhook url |
trakt_username |
Your Trakt username |
client_id |
Your Trakt Client ID |
api_key |
Your TMDB API key |
timezone |
Your timezone |
show_spoiler |
Spoiler tag for show overview |
episode_spoiler |
Spoiler tag for episode overview |
season_spoiler |
Spoiler tag for season overview |
movie_spoiler |
Spoiler tag for movie overview |
Movie Ratings
Show Ratings
Episode Ratings
Season Ratings
You can install the required packages with the command: pip3 install -r requirements.txt
You can for example create a service file and let it run in the background.
Description=Trakt Ratings
After=network.target
[Service]
Type=simple
User=username
ExecStart=/usr/bin/python3 /opt/scripts/trakt_ratings.py
Restart=on-failure
[Install]
WantedBy=multi-user.target