bpwhelan / EmbyAniSync

Sync Emby anime library to AniList
GNU General Public License v3.0
11 stars 3 forks source link

Feature Request - 2 way sync #17

Open Amateur-God opened 8 months ago

Amateur-God commented 8 months ago

Can you make this sync two ways so if watched on anilist but not emby it marks as watched in emby

bpwhelan commented 8 months ago

This is something I thought about implementing, but it makes me fairly nervous, and I don't find it very useful personally.

Proposed Logic:

for series in library: anilist_match = find_anilist_match if down_sync_enabled: if anilist_watched_episodes > emby_watched_episodes: update_emby_show() rest of sync code...

I think if I implement, I will only allow it to occur when config'd AND when Anilist status is GREATER THAN Emby... I guess I could have another config that says "treat anilist as law" and update watched status no matter what.

I think it could get tricky if you have specials and whatnot though... but i guess those could just be ignored.

Amateur-God commented 8 months ago

Personally, I'd set it so it can either be configured to Anilist=law or Anilist>emby so that it's down to the user

I would also add a way to add exceptions for in the case of rewatching series etc.