-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
I'm rewatching a show, and have set my AniList status to rewatching, but log shows that it comes through the following code and sets the show to completed.
PlexAniSync/plexanisync/anilist.py
Lines 564 to 576 in ec9b43b
if ( | |
watched_episode_count >= anilist_total_episodes > 0 | |
and anilist_media_status == "FINISHED" | |
): | |
# series completed watched | |
logger.warning( | |
f"Plex episode watch count [{watched_episode_count}] was higher than the " | |
f"one on AniList total episodes for that series [{anilist_total_episodes}] | updating " | |
"AniList entry to completed" | |
) | |
self.__update_episode_incremental(series, watched_episode_count, anilist_episodes_watched, "COMPLETED", plex_rating) | |
return |
I marked my Plex series as unwatched before I started to rewatch it, so not sure how it's getting seen as having a higher Plex episode watch count.
Here's the test I did.
AniList series: 4181, set to Rewatching, 11 eps watched
Plex: series is watched up to episode 11, finish watching 12 to trigger script
Logs:
2024-07-14 12:55:01 [ANILIST] Matching Plex series to Anilist
2024-07-14 12:55:01 [ANILIST] --------------------------------------------------
2024-07-14 12:55:01 [ANILIST] Custom Mapping of Title found | title: Clannad | anilist id: 2167 | total watched episodes: 22 | seasons with the same anilist id: [1]
2024-07-14 12:55:01 [ANILIST] Custom Mapping of Title found | title: Clannad | anilist id: 4181 | total watched episodes: 24 | seasons with the same anilist id: [2]
2024-07-14 12:55:01 [ANILIST] Updating series: Clannad: After Story | Episodes watched: 24
2024-07-14 12:55:01 [ANILIST] Found AniList entry for Plex title: Clannad
2024-07-14 12:55:01 [ANILIST] Series year did not match however skip year check was given so adding anyway => Plex has 2007 and AniList has 2008
2024-07-14 12:55:01 [ANILIST] Plex episode watch count [24] was higher than the one on AniList total episodes for that series [24] | updating AniList entry to completed
It seems that the watched episodes grabbed from AniList don't account for the repeating status? also the Plex episode count isn't right either.
Metadata
Metadata
Assignees
Labels
No labels