-
Notifications
You must be signed in to change notification settings - Fork 15
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
2-way sync maybe possible now? #20
Comments
So instead of doing an "outwards" sync (Jellyfin -> AniList/MAL/Kitsu), we sync the Jellyfin library to a provider (AniList/MAL/Kitsu -> Jellyfin)? |
The main issue is you need to-be very carefully how/what you sync and also offer/study the settings options the trakt plugin has. There can be catastrophic cases, where you wrongly sync the "unwatched" state from remote to local library or vice-versa and than quickly via a scheduled task, resync this new bad "unwatched" state back to the external list, basically wiping your watched states. To prevent this case all trakt plugins by default disable remote->local "unwatched" sync via settings and also arrange the update jobs, so that the user has a chance to fix setting issues, before a full resync happens. So by default you want the plugin to handle mainly "watched" states between local<->remote lists and via settings allow certain "unwatched" state combinations. As example, the trakt plugin has specific settings to only set remote "watched/unwatched" if the user manually set the state. This is safer, since we detect a specific user toggled state change instead of doing some general assumptions on the whole library. So if you don't use the trakt plugin already, i strongly recommend to check it out and check what settings combinations it offers, so you can avoid running into those catastrophic cases. We want safe defaults and carefully worded settings, similar to trakt so users quickly understand whats happening. |
@vosmiic btw i took the liberty to add the plugin to the official documentation: jellyfin-archive/jellyfin-docs#675 |
Ah great, thanks. I think we are now in a comfortable enough position to have it there. |
Just as a FYI, #12 isn't really about what @Andy2244 is asking for here, which is importing watch status from a remote Trakt-like third-party provider (i.e. AniList/MAL/Kitsu -> Jellyfin) but rather an extended functionality of what Ani-Sync already does, which is exporting watch status to a third-party provider (i.e. Jellyfin -> AniList/MAL/Kitsu) but without the hard requirement that I must first initiate playback of an anime for AniSync to scan it and update its remote status. My issue (and I'm pretty certain I'm far from the only one affected) is that many of my anime were already watched or in various states of in medias res before I ever installed AniSync, but I'd just never bothered to manually update my MAL profile. So what I'd love for AniSync to be able to do, and what I asked for in #12, would be that it be able to scan my local Jellyfin library, find which anime I have already watched and which shows I'm currently watching, and then update my MAL profile accordingly. And if it could also add my completely untouched anime to the "plan to watch" category, that would be even more awesome. After this has been done, then adding what @Andy2244 is actually asking for, i.e. the ability to also import watch state from MAL et al to Jellyfin, would be the cherry on top. |
I kinda included your scenario, its just a subpart of what a full 2-way sync does. |
Yeah sorry I got a bit confused. |
Hitting into some trouble syncing Jellyfin from the providers (AniList/MAL/Kitsu -> Jellyfin). |
Thats tobe expected as most Anime has no "official" seasons, so have no season numbers. Those are just made up by
Same for me, i think tvdb does not have separate season id's for a series? So here is how this can work, lets use "Megalo Box 2nd" aka Second seasons as example:
we may need to also filter by ova/movies/special stuff.
So i think the type, animeSeason can be used to ensure we actually match a series or movie, just check for examples. |
Good idea, yeah this should work. Feels like its really inefficient but we have to work with what we have.
Luckily AniList uses GraphQL so we can filter our results on the API side. Much more efficient. But we will have to manually filter by checking the anime offline db with MAL. |
I have now got it updating shows from a users AniList watched list. |
Forgot to update here recently but I believe I have got updating the Jellyfin library from providers anime list fully working. |
This feature is now fully implemented on master. |
Okay, the update with this has been released. Currently testing it locally and I am not hitting into any trouble. |
With the higher accuracy, maybe a 2-way sync like the trakt plugin is now possible?
Maybe there is a somewhat reasonable way to-do this now, its just super convienent to have all your watched status in trakt and simply do a sync on a fresh install, so everything is back where you left.
So for normal shows/movies using the trakt plugin i dont have to care about any backup or library state, i can just reinstall the server point it to my libs and via a trakt resync all watched states are set to where i left off.
Would be super cool to have this also for Anime, but i understand that this can be more complex to get right.
The text was updated successfully, but these errors were encountered: