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: is it possible to sync the content from trakt to Plex even tho the content isn't available on plexserver #1142

Open
krishne35 opened this issue Oct 26, 2022 · 16 comments · May be fixed by #1676
Assignees
Labels
enhancement New feature or request

Comments

@krishne35
Copy link

Feature description

Use case

Basically I use plex_debrid service which scrapes content and skips if it's already watched so is it possible to copy the watched status of shows from trak to plex account even if it's show isn't available on server

Workarounds

Manually marking content as watched on plex

@krishne35 krishne35 added the enhancement New feature or request label Oct 26, 2022
@simonc56 simonc56 self-assigned this Dec 19, 2022
@RileyXX
Copy link
Contributor

RileyXX commented Dec 19, 2022

+1 for this feature

Reposting my comment from another post here:

So I know this script can import watch history from Trakt into Plex and vise versa. But from what I can tell it only imports watch history for items that are currently available to watch in my Plex library. The thing is I want to add ALL my watch history for items dating back several years into my Plex library, including items that are no longer available to watch in my Plex library. That way when I add old content to my Plex library the watch history is already available. Is this possible with this script?

I currently have the script set to auto run and import my watch history from plex to trakt. But I have trakt to plex disabled because sometimes things get marked as played by accident. And I have all my shows set to auto delete watched episodes. So in my case it's not worth it to auto import from trakt to plex since things will randomly get deleted on occasion. So I'm trying to find a way to import my old watch history all at once that way I don't need to have trakt to plex sync enabled.

@glensc

This comment was marked as outdated.

@simonc56

This comment was marked as outdated.

@simonc56
Copy link
Collaborator

@RileyXX

This comment was marked as outdated.

@simonc56
Copy link
Collaborator

No, we'll do it properly with Plex API.

@RileyXX

This comment was marked as outdated.

@glensc
Copy link
Collaborator

glensc commented Jan 10, 2023

No, we'll do it properly with Plex API.

Fair enough. In the meantime if it's not possible with plex api I think I'll try putting together my own little script to see if I can accomplish this

Why not put your efforts to the right place and submit a fix/improvement to PlexAPI?

@RileyXX

This comment was marked as outdated.

@simonc56
Copy link
Collaborator

simonc56 commented Mar 22, 2023

I'm currently working on it.

To sync :

watched status of :

  • movies
  • episodes

and ratings of :

  • movies
  • shows
  • seasons
  • episodes

both ways between Trakt and Plex items not in the library.

The user is then supposed to enable the Sync Watch states and Ratings to use it at full potential.

Side effect : when disabling a trakt watched status or rating, it will be back at next sync because Plex keeps it in cloud database. Users may think it's a bug (see #1080).

@RileyXX
Copy link
Contributor

RileyXX commented Mar 26, 2023

I'm currently working on it.

Very cool thanks. Looking forward to seeing this in an official release.

Edit: Looks like it was recently merged in python-plexapi pkkid/python-plexapi#1090. Should be possible now using PlexAPI.

@jslpc
Copy link

jslpc commented Nov 2, 2023

Any update on this? I was a bit surprised when sync only imported a handful of ratings, but I also just purged some of my Plex library of old watched media to save some storage, so it makes sense. I would love to have all of my ratings now that Plex just updated with the friends/social feature, even if the media is no longer in my library.

Otherwise, this tool was wildly easy to set up and configure and works perfectly; huge thank you to all of the devs and contributors to this project, I've been looking for something that could do this for awhile now. I'm excited to see what new features get added in the future.

@glensc
Copy link
Collaborator

glensc commented Nov 8, 2023

@twolaw if you have unfinished work on this. perhaps push to some PR. a bit easier to continue one's work than start from scratch.

@simonc56
Copy link
Collaborator

simonc56 commented Nov 9, 2023

I need to find time to continue this.
Here is bulk commit from May-3 : https://github.com/twolaw/PlexTraktSync/tree/plex-cloud-watched-status

@glensc
Copy link
Collaborator

glensc commented Nov 28, 2023

@simonc56 please create a draft PR then.

@simonc56 simonc56 linked a pull request Dec 26, 2023 that will close this issue
@simonc56
Copy link
Collaborator

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
Development

Successfully merging a pull request may close this issue.

5 participants