Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JvSomeren/tautulli-watched-sync
Use this script to make Tautulli for plex synchronize watched TV Shows to Trakt.tv and movies to Letterboxd
https://github.com/JvSomeren/tautulli-watched-sync
Last synced: 5 days ago
JSON representation
Use this script to make Tautulli for plex synchronize watched TV Shows to Trakt.tv and movies to Letterboxd
- Host: GitHub
- URL: https://github.com/JvSomeren/tautulli-watched-sync
- Owner: JvSomeren
- Created: 2019-08-17T14:25:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T20:18:22.000Z (about 4 years ago)
- Last Synced: 2024-08-01T22:01:35.904Z (3 months ago)
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 23
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tautulli watched sync
Automatically synchronize watched TV Shows to Trakt.tv and movies to Letterboxd## Setup
Download `trakt_letterboxd_sync.py` and `sync_settings.ini.example` to your Tautulli host.
Rename `sync_settings.ini.example` to `sync_settings.ini` and add the `user_ids`, `client_id`, `client_secret`, `api_key` and `api_secret`. See below for more info on these settings.**Important!** Make sure `sync-settings.ini` is writable
### Settings
`./sync-settings.ini````
[Plex]
user_ids: a comma separated list of user ids, only entries for these users will be synced
The user id for a user can be found in your url in Tautulli when you click on a user.
[Trakt]:
Update `client_id` with the `client_id` of your registered application, see here:
https://trakt.tv/oauth/applications > Choose your applicationTo set the access code use `urn:ietf:wg:oauth:2.0:oob` as a redirect URI on your application.
Then execute the script:
python ./trakt_letterboxd_sync.py --contentType trakt_authenticate --userId -1
And follow the instructions shown.[Letterboxd]
Update `api_key` and `api_secret` with your Letterboxd API Key and API Shared Secret respectively.
Look [here](https://letterboxd.com/api-beta/) as for how to receive these credentials.To set the access code execute the script:
python ./trakt_letterboxd_sync.py --contentType letterboxd_authenticate --userId -1
And follow the instructions shown.
```### Tautulli
```
Adding the script to Tautulli:
Tautulli > Settings > Notification Agents > Add a new notification agent > ScriptConfiguration:
Tautulli > Settings > Notification Agents > New Script > Configuration:Script Folder: /path/to/your/scripts
Script File: ./trakt_letterboxd_sync.py (Should be selectable in a dropdown list)
Script Timeout: {timeout}
Description: Trakt.tv and Letterboxd sync
SaveTriggers:
Tautulli > Settings > Notification Agents > New Script > Triggers:
Check: Watched
Save
Conditions:
Tautulli > Settings > Notification Agents > New Script > Conditions:
Set Conditions: [{condition} | {operator} | {value} ]
Save
Script Arguments:
Tautulli > Settings > Notification Agents > New Script > Script Arguments:
Select: Watched
Arguments: --userId {user_id} --contentType {media_type}
--imdbId {imdb_id}
--tvdbId {thetvdb_id} --season {season_num} --episode {episode_num}Save
Close
```