Skip to content

Python script to track your PLEX media library progress with trakt.tv public API.

License

Notifications You must be signed in to change notification settings

h1f0x/trakt-plex-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trakt-or.py

Python script to track your PLEX media library progress with trakt.tv public API.

Upcoming Shows Detail Show

Install instructions

To install the the script run the following:

git clone <URL>

cd trakt-plex-tracker
pip install -r requirements.txt

trakt.tv API keys

Visit https://trakt.tv/oauth/applications and create a new application.

You will get the following API keys:

  • Client ID
  • Client Secret

Note it down.

Configure Trakt-or.py

The configuration file is located at the "/" of the script

config.ini

Modify the following lines in the configuration file:

[trakt.tv]
client_id = <CLIENT_ID>
client_secret = <CLIENT_SECRET>

[Plex]
database_location = <PATH-TO>/com.plexapp.plugins.library.db

# language codes examples > de, fr, it, es and so on.. (https://trakt.docs.apiary.io/#reference/languages/get-languages)
# script default language is "en"
library_language = en

Now you are ready to run the script.

Run Trakt-or.py

To run the script enter the following command:

python trakt-or.py

After the script run successfully start a simple webserver at the following location:

cd ./frontend/
python3 -m http.server

Open the browser and go to:

http://localhost:8000

About

Python script to track your PLEX media library progress with trakt.tv public API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published