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 to enable/disable certain syncs or set directions #156

Open
1 task done
profucius opened this issue Jan 29, 2025 · 0 comments
Open
1 task done

Comments

@profucius
Copy link

profucius commented Jan 29, 2025

Is there already a request for your feature?

  • I have checked older issues, open and closed

Feature Request

If this already exists I apologize in advance, but I couldn't find something like this. Perhaps the idea I'm about to share may be a good way to offer this feature even if it already exists in another format.

I propose the ability to set settings for syncing preferences in a config.yml or json type file in the script directory.

This file would indicate to the script when it runs which options the user prefers, so that we do not need to answer questions at script runtime (unless the settings are not set in the file yet).

The settings I can think of being useful to me are as follows:

  • Any of the below options can be combined as one way (IMDB > Trakt) or (Trakt > IMDB) or both ways.
  • Sync only watchlist.
  • Sync only ratings.
  • Sync only reviews.
  • Sync only watch history.
  • Sync any combination of the above.

For instance, I want to only sync IMDB watchlist from IMDB > Trakt, but not the other way around. And I want to sync watch history from Trakt > IMDB. I want ratings to be synced both ways always.

I can imagine the YML looking something along these lines:

Both-ways:
  Ratings: True
  Reviews: False
  Watchlist: False
  WatchHistory: False
IMDB-to-Trakt:
  Ratings: False (already set as true in Both)
  Reviews: False
  Watchlist: True
  WatchHistory: False
Trakt-to-IMDB:
  Ratings: False
  Reviews: False
  Watchlist: False
  WatchHistory: True

One of my frustrations with the script is that the watchlist always syncs both ways. This means if I remove an item from one I have to manually remove it from the other, otherwise the next sync it will re-add it again. This causes other downstream issues with my Plex media adding scripts, etc.

After using your script for a while, it seems like this would be possible. What do you think of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant