How to use different configurations for different libraries
mainTo apply different sync rules to different libraries (e.g., sync ratings for Movies but not for TV Shows), you should define multiple server entries in servers.yml. Each entry represents a unique configuration setup. When running the sync, you must specify which configuration to use with the --server flag.
# servers.yml example: Multiple server entries for different library behaviors
servers:
Example1:
token: ~
urls:
- http://localhost:32400
config:
libraries:
- "Movies"
sync:
plex_to_trakt:
ratings: true
watched_status: true
trakt_to_plex:
ratings: true
watched_status: true
Example2:
token: ~
urls:
- http://localhost:32400
config:
libraries:
- "TV Shows"
sync:
plex_to_trakt:
ratings: true
watched_status: false
trakt_to_plex:
ratings: true
watched_status: falseTo run:
plextraktsync --server Example1 sync
plextraktsync --server Example2 sync