Skip to content

Sync Trakt history to Plex library

License

Notifications You must be signed in to change notification settings

josh/trakt-plex-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trakt-plex-sync

While Trakt VIP and Plex Pass have a cool feature to record Plex watches to Trakt, there isn't an easy way to sync other watch history back to Plex. This little script does just that.

Setup

Design to run via GitHub Actions. To get started, Fork this repository.

Then set a bunch of Repository secrets for the following:

  • TRAKT_CLIENT_ID: Trakt OAuth Client ID
  • TRAKT_CLIENT_SECRET: Trakt OAuth Client Secret
  • TRAKT_ACCESS_TOKEN: Initial Trakt API access token
  • TRAKT_REFRESH_TOKEN: Initial Trakt API refresh token
  • GH_TOKEN: Needs permission to update "Repository secrets" to keep TRAKT_ACCESS_TOKEN: refreshed
  • PLEX_USERNAME: Plex email or username
  • PLEX_PASSWORD: Plex password
  • PLEX_SERVER: Plex server name
  • PLEX_TOKEN: Plex server token

About

Sync Trakt history to Plex library

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages