Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Config per library #1808

Closed
SebbeJohansson opened this issue Feb 19, 2024 · 8 comments · Fixed by #1814
Closed

Feature request: Config per library #1808

SebbeJohansson opened this issue Feb 19, 2024 · 8 comments · Fixed by #1814
Labels
enhancement New feature or request

Comments

@SebbeJohansson
Copy link
Contributor

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.

@SebbeJohansson SebbeJohansson added the enhancement New feature or request label Feb 19, 2024
@glensc
Copy link
Collaborator

glensc commented Feb 19, 2024

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

it has "docs needed" label

@glensc
Copy link
Collaborator

glensc commented Feb 19, 2024

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:

@SebbeJohansson
Copy link
Contributor Author

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

@SebbeJohansson
Copy link
Contributor Author

@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.

@SebbeJohansson
Copy link
Contributor Author

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.

@glensc
Copy link
Collaborator

glensc commented Feb 19, 2024

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

@SebbeJohansson
Copy link
Contributor Author

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

@SebbeJohansson
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants