Skip to content

primetime43/Ratings-To-Plex-Ratings

Repository files navigation

Table of Contents

IMDb & Letterboxd Ratings To Plex Ratings

Ratings-To-Plex is a desktop application that allows you to easily sync and transfer your IMDb and Letterboxd ratings to your Plex Media Server. This tool automates the process of updating movie ratings in your Plex libraries, providing a seamless way to ensure that your Plex media collection reflects your ratings from IMDb and Letterboxd.

Click to view screenshots of the program

v2.1.0
image

v2.0.0 (Uses customtkinter instead of PySimpleGUI UI)
image

v1.2
image

v1.1
image

How it works

This script uses a simple GUI to authenticate with your Plex account, select a server, import a CSV file with your IMDb/Letterboxd ratings, and update the ratings of your Plex movie library accordingly.

Here's a brief rundown of the steps:

  1. Log into Plex: The application uses Plex's OAuth mechanism to authenticate your account. After clicking the "Login to Plex" button, it opens a web browser where you can authorize the app. Once authorized, the app obtains a token to interact with your Plex account.

  2. Select a server: The application fetches all the servers associated with your Plex account that you own. You can then select the server whose movie ratings you want to update.

  3. Select a library: Select the library to retrieve and update the ratings for this library.

  4. Select a CSV file: You can choose a CSV file exported from IMDb/Letterboxd containing your movie ratings. The application reads the file and prepares to update the ratings on your Plex server.

  5. Update Plex Movie Ratings: Clicking this button starts the process of updating the movie ratings on the Plex server. The application logs all the operations it performs, which includes connecting to the server, finding the movies, and updating the ratings.

Please note that the rating scale on Plex is different from IMDb. IMDb uses a scale of 1-10 while Plex uses a scale of 1-5. This script automatically adjusts the ratings from IMDb's scale to Plex's scale.

The application logs all the operations it performs, which includes connecting to the server, finding the movies, and updating the ratings. If an error occurs during the login or updating process, the application will display an error message.

Command for creating an exe out of the python file

pyinstaller --onefile --noconsole RatingsToPlexRatingsGUI.py

Exporting Your IMDb Ratings:

  1. Go to IMDb and sign into your account.
  2. Once you're signed in, click on your username in the top right corner and select "Your Ratings" from the dropdown menu.
  3. In the "Your Ratings" page, you will find an "Export" button, usually located on the right side of the page. Click on it.
  4. A CSV file will then be downloaded to your device, containing all your IMDb ratings.

Exporting Your Letterboxd Ratings:

  1. Go here to letterboxd and export your data.
  2. Once exported, use the ratings.csv file in that zip file in the program to update the ratings.

Requirements:

  • Python 3.10+