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 syncs user ratings for Movies, TV Shows, and Episodes both ways between Trakt and TMDB. Ratings already set will not be overwritten. The script is compatible on any operating system that supports Python v3.6 or later, including Windows, Linux, Mac, and ChromeOS. If you're interested in syncing ratings between Trakt, Plex, IMDB, and TMDB, I recommend the following projects: PlexTraktSync, IMDB-Trakt-Syncer, and TMDB-Trakt-Syncer.
Installation Instructions:
- Install Python (v3.6 or later).
- Install the script by running
python -m pip install TMDBTraktSyncer
in command line. - Login to Trakt and create a new API application named
TMDbTraktSyncer
. In the "Redirect uri" field, enterurn:ietf:wg:oauth:2.0:oob
, then save the application. - Login to TMDB and create a new API application. Choose "Developer" and accept the terms. Fill out the application form as follows:
- Type of use:
Personal
- Application name:
TMDB-Trakt-Sync
- Application URL:
localhost
- Application summary:
Use TMDB API and Trakt API to sync user ratings between platforms. https://github.com/RileyXX/TMDB-Trakt-Syncer
- Fill in the rest of the fields as desired and submit the form. Your API keys will be generated instantly.
- Type of use:
- Run the script by running
TMDBTraktSyncer
in the command line. - Follow the prompts during the first run. You will need to enter your Trakt client ID and client secret from step 3, as well as your
tmdb_v4_token
from step 4. Please note that these details are saved insecurely ascredentials.txt
in the same folder as the script. - Setup is complete. The script will continue running and syncing your ratings. You can monitor its progress in the command line.
Installing the Script:
python -m pip install TMDBTraktSyncer
Run in your operating system's native command line.
Running the Script:
TMDBTraktSyncer
Run in your operating system's native command line.
Updating the Script:
python -m pip install TMDBTraktSyncer --upgrade
Run in your operating system's native command line.
Uninstalling the Script:
python -m pip uninstall TMDBTraktSyncer
Run in your operating system's native command line.
Installing a Specific Version:
python -m pip install TMDBTraktSyncer==VERSION_NUMBER
Replace VERSION_NUMBER
with your desired version (e.g. 1.0.1) and run in your operating system's native command line.
Alternative Manual Installation Method (without pip install):
- Install Python (v3.6 or later).
- Download the latest .zip from the releases page and extract it to the desired directory.
- Login to Trakt and create a new API application named
TMDBTraktSyncer
. In the "Redirect uri" field, enterurn:ietf:wg:oauth:2.0:oob
, then save the application. - Login to TMDB and create a new API application. Choose "Developer" and accept the terms. Fill out the application form as follows:
- Type of use:
Personal
- Application name:
TMDB-Trakt-Sync
- Application URL:
localhost
- Application summary:
Use TMDB API and Trakt API to sync user ratings between platforms. https://github.com/RileyXX/TMDB-Trakt-Syncer
- Fill in the rest of the fields as desired and submit the form. Your API keys will be generated instantly.
- Type of use:
- Run
TMDBTraktSyncer.py
or open the terminal and navigate to the folder whereTMDBTraktSyncer.py
is located, then runTMDBTraktSyncer.py
in the terminal. - Follow the prompts during the first run. You will need to enter your Trakt client ID and client secret from step 3, as well as your
tmdb_v4_token
from step 4. Please note that these details are saved insecurely ascredentials.txt
in the same folder as the script. - Setup is complete. The script will continue running and syncing your ratings. You can monitor its progress in the command line.
Troubleshooting, Known Issues, Workarounds & Future Outlook:
- Add support for review/comment sync Issue #1
- If any of your details change (passwords, logins, API keys, etc.), simply open
credentials.txt
, modify your details, save it and then run the script again. Alternatively, deletecredentials.txt
to reset the script and it will prompt you to enter your new details on the next run.
Screenshot:
Sponsorships, Donations, and Custom Projects:
If you find my scripts helpful, you can become a sponsor and support my projects! If you need help with a project, open an issue, and I'll do my best to assist you. For other inquiries and custom projects, you can 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.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3fd095a6349229e71342ffeb893bfd3e3b1f8f6ab9f5227d0d3e81ce5a4dbf |
|
MD5 | 703d544605922c6c22db0680c31b4d5c |
|
BLAKE2b-256 | 89d41ea678da3bf36b3a5c7da1fe991527bc2c3fb35d03cd4cd67a5e52a238b1 |