Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

jone/plex-trakt-syncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Plex Trakt syncer

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

Features

  • 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.

Scrobbling

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

Install

Either download the script from https://github.com/jone/plex-trakt-syncer/downloads or clone the repository with git:

$ git clone https://github.com/jone/plex-trakt-syncer.git
$ cd plex-trakt-syncer
$ plex-trakt-sync.py --help

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

Usage

Usage: plex-trakt-sync.py [options]

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

Options:
  --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
                        trakt.tv username
  -p PASSWORD, --password=PASSWORD
                        trakt.tv password
  --no-movies           Do not sync watched movies.
  --no-shows            Do not sync watched shows.
  -k API-KEY, --key=API-KEY
                        trakt.tv 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.

License

"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.

Source

The source is located at https://github.com/jone/plex-trakt-syncer

About

Sync watched movies from plex to trakt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages