Sync watched movies from plex to trakt.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Plex Trakt syncer

A simple console script for updating your Trakt profile with the infos from your Plex media center.


  • Marks movies and show episodes watched in Plex when watched in your Trakt profile.
  • Optionally flages the movies and show episodes in Trakt with "love" or "hate" according to the rating in Plex.


At the current state this script does not scrobble. Feel free to modify the script and start a pull-request.


Either download the script from or clone the repository with git:

$ git clone
$ cd plex-trakt-syncer
$ --help

You may also want to set up a cronjob for starting the script.


Usage: [options]

This script connects to a Plex media center server and reports the watched
movies to a user profile. Optionally it also flags the movies at the
trakt profile with "love" or "hate" according to ratings in Plex.

  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -H HOST, --host=HOST  Hostname or IP of plex server (default: localhost)
  -P PORT, --port=PORT  Port of the plex server (default: 32400)
  -u USERNAME, --username=USERNAME
  -p PASSWORD, --password=PASSWORD
  --no-movies           Do not sync watched movies.
  --no-shows            Do not sync watched shows.
  -k API-KEY, --key=API-KEY
               API key
  -r, --rate            Submit plex movie ratings to trakt.
  --max-hate=1-10       Maxmimum plex rating for flagging a movie with "hate"
                        (In combination with -r option, defaults to 3).
  --min-love=1-10       Minimum plex rating for flagging a movie with "love"
                        (In combination with -r option, defaults to 8).
  -v, --verbose         Print more verbose debugging informations.

 ** Rating **           The plex rating allows to give up to 5 stars for a
movie, but you can also give half stars, so there are 10 steps for the rating.
The configurable --min-hate and --max-love options take a value between 1 and
10. Movies which are not yet rated in plex are not flagged at all.


"THE BEER-WARE LICENSE" (Revision 42):

jone wrote this script. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.


The source is located at