Taxel / PlexTraktSync

A python script that syncs the movies, shows and ratings between trakt and Plex (without needing a PlexPass or Trakt VIP subscription)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Config per library

SebbeJohansson opened this issue · comments

Feature description

A way to have different settings per library as to allow for syncing only specific things in specific libraries.

Use case

I want to be able to only sync the collection status from plex to trakt in one specific library, but sync everything for all other libraries.

Workarounds

I guess a way to do this is to have two separate docker-compose containers, but that's not ideal for me.

Plan to implement

Not currently.

this is already there for per server, just nobody wants to document anything:

it has "docs needed" label

I guess a way to do this is to have two separate docker-compose containers, but that's not ideal for me.

you could also have two different Servers in same servers.yml config with playing with libraries/excluded-libraries:

@glensc heh... I should have figured that it was already a thing. I will look into documenting it. Closing.

@glensc I think I underestimated how straightforward it was to setup 2 "servers" against the same Plex server. Cant seem to get it to work. I've tried adding another one in the server.yml file, I've tried renaming them, and I've tried removing all config settings from the config.yml file, and I cant get it to work.

Ill reopen and hope for some guidance.

Here is basically how i thought it would work:

  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: false

The above config would make it so that the "Movies" library syncs both ratings and watched status, while the "TV Shows" library only syncs ratings. But it didn't seem to make any difference at all, and when I tried renaming them I had to re-login. To plex.

Use --server=xxx to set what server to use. No need to login or anything.

Hmmm okay I'll give it a try. Thanks!

I wasnt sure on how its recommended to use ofilia with this kind of a server, but I managed to get it to work atleast.