This python script will sync user ratings for Movies and TV Shows both ways between Trakt and TMDB.
Project description
TMDB-Trakt-Syncer
This python script will sync user ratings for Movies and TV Shows both ways between Trakt and TMDB. Ratings already set will not be overwritten. This script should work on an OS where python is supported (Windows, Linux, Mac, ChromeOS, etc). If you're looking to sync your ratings between Trakt, Plex, IMDB, and TMDB then these are my recommended projects: PlexTraktSync, IMDb-Trakt-Syncer & TMDB-Trakt-Syncer.
Install Instructions:
- Install Python.
- Run
python -m pip install TMDbTraktSyncer
in command line. - Login to Trakt and create a new API application. We will name it
TMDbTraktSyncer
. In the Redirect uri field enterurn:ietf:wg:oauth:2.0:oob
then Save. - Login to TMDB and create a new API application. Choose developer, accept the terms and start filling out the application form. For type of use
Personal
. For application name we will call itTMDB-Trakt-Sync
. For application url enterlocalhost
. For application summary enterUse TMDB api and Trakt api to sync ratings user ratings between platforms. https://github.com/RileyXX/TMDB-Trakt-Syncer
. Fill in the rest of the fields with whatever you want and submit. Your api keys will be instantly generated. - Run the script by calling
TMDbTraktSyncer
in command line. - Follow the prompts on first run. It will ask you to fill in your Trakt client id and client secret from step 3. It will also ask you to fill in your tmdb_v4_token from step 4. Please note that these details are saved insecurely as credentials.txt in the same folder as the script.
- Done, setup complete. The script will continue to run and sync your ratings. This may take some time, you can follow its progress in the command line.
Run:
TMDBTraktSyncer
in command line.
Update:
python -m pip install TMDBTraktSyncer --upgrade
in command line.
Uninstall:
python -m pip uninstall TMDBTraktSyncer
in command line.
Install specific version:
python -m pip install TMDBTraktSyncer==VERSION_NUMBER
in command line. Replace VERSION_NUMBER
with your desired version.
Alternative manual no pip install method:
- Install Python.
- Download the latest .zip from the releases page and extract it to the file directory of your choice.
- Login to Trakt and create a new API application. We will name it
TMDBTraktSyncer
. In the Redirect uri field enterurn:ietf:wg:oauth:2.0:oob
then Save. - Login to TMDB and create a new API application. Choose developer, accept the terms and start filling out the application form. For type of use
Personal
. For application name we will call itTMDB-Trakt-Sync
. For application url enterlocalhost
. For application summary enterUse TMDB api and Trakt api to sync ratings user ratings between platforms. https://github.com/RileyXX/TMDB-Trakt-Syncer
. Fill in the rest of the fields with whatever you want and submit. Your api keys will be instantly generated. - Run
TMDBTraktSyncer.py
OR open terminal and navigate to folder whereTMDBTraktSyncer.py
is located. RunTMDBTraktSyncer.py
in terminal. - Follow the prompts on first run. It will ask you to fill in your Trakt client id and client secret from step 3. It will also ask you to fill in your tmdb_v4_token from step 4. Please note that these details are saved insecurely as credentials.txt in the same folder as the script.
- Done. The script will continue to run and sync your ratings. This may take some time, you can follow its progress in the command line.
Troubleshooting, known issues, workarounds & future outlook:
- If any of your details change, passwords, logins, api keys etc, just delete credentials.txt and that will reset the script. It will prompt you to enter your new details on next run.
Screenshot:
Sponsorships, Donations and Custom Projects:
Like my scripts? Become a sponsor and support my projects! See below for other donation options. Need help with a project? Open an issue and I will try my best to help! For other inquiries and custom projects contact me on Twitter.
More donation options:
- Cashapp:
$rileyxx
- Venmo:
@rileyxx
- Bitcoin:
bc1qrjevwqv49z8y77len3azqfghxrjmrjvhy5zqau
- Amazon Wishlist: Link ↗
Also posted on:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for TMDBTraktSyncer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641646caeeab73fe801bbbb3dc788bd99f0124b66e757da7c4295e98313dbbbd |
|
MD5 | bb51e79e3c4db46acc99cbcd1ff6aa6a |
|
BLAKE2b-256 | bd27bd67272b2b5cde6e9b82872707cac3c6335a75d26ac27a6ddc9f321a4092 |