vosmiic / jellyfin-ani-sync

Synchronize anime watch status between Jellyfin and anime tracking sites.
GNU General Public License v3.0
271 stars 21 forks source link

Shikimori rewatch not sync #165

Closed EvilToasterDBU closed 1 week ago

EvilToasterDBU commented 1 week ago

Bug: If an anime has rewatch status on Shikimori, then instead of adding +1 to the watched episode, the anime is marked as fully watched.

Logs

[2024-11-20 00:35:00.046 +02:00] [INF] [24] jellyfin_ani_sync.UpdateProviderStatus: (Tvdb) Anime reference found in anime list XML
[2024-11-20 00:35:00.047 +02:00] [INF] [24] jellyfin_ani_sync.UpdateProviderStatus: Retrieving provider IDs from offline database for AniDb ID 7656...
[2024-11-20 00:35:00.985 +02:00] [INF] [3] jellyfin_ani_sync.UpdateProviderStatus: Retrieved provider IDs
[2024-11-20 00:35:00.987 +02:00] [INF] [3] jellyfin_ani_sync.UpdateProviderStatus: Using provider Shikimori...
[2024-11-20 00:35:00.990 +02:00] [INF] [3] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Searching for series: Связанные небом: В уединении, где мы наименее одиноки
[2024-11-20 00:35:04.411 +02:00] [INF] [74] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Found matching series: Yosuga no Sora
[2024-11-20 00:35:04.834 +02:00] [INF] [74] jellyfin_ani_sync.UpdateProviderStatus: User does not have plan to watch only ticked
[2024-11-20 00:35:04.834 +02:00] [INF] [74] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Series (Yosuga no Sora) found on Rewatching list
[2024-11-20 00:35:04.835 +02:00] [INF] [74] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) User is re-watching series (Yosuga no Sora), set as completed but update re-watch progress
[2024-11-20 00:35:05.235 +02:00] [INF] [74] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Updated series (Yosuga no Sora) progress to 7

To Reproduce Steps to reproduce the behavior:

  1. Off "Only change anime in Plan To Watch?" function
  2. Rewatch anime
  3. Watch another episode
  4. done

Expected behavior +1 episode if anime in rewatch status

Screenshots Screen before end watch a 7 episode: image Screen after end watch a 7 episode: image

Client\Server Info:

EvilToasterDBU commented 1 week ago

Additional info, if rewatches set to 1, after watch another episode set anime to fully watched status, rewatches set to 0.

vosmiic commented 1 week ago

I have just released a new version of the plugin, I believe this should fix your issue. I'll close the issue but do re-open it if you are still running into problems.

EvilToasterDBU commented 3 days ago

Bug: If the anime is "compleated", then the number of episodes watched will simply change, without changing the status to "rewatching". If the anime in the statue is "rewatching", then the status changes to "watching" and the number of episodes is updated.

Logs Rewatching 1 ep:

[2024-11-27 15:30:36.840 +02:00] [INF] [30] jellyfin_ani_sync.UpdateProviderStatus: AniList ID found. Retrieving provider IDs from offline database...
[2024-11-27 15:30:37.688 +02:00] [INF] [71] jellyfin_ani_sync.UpdateProviderStatus: Retrieved provider IDs
[2024-11-27 15:30:37.690 +02:00] [INF] [71] jellyfin_ani_sync.UpdateProviderStatus: Using provider Shikimori...
[2024-11-27 15:30:37.691 +02:00] [INF] [71] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Searching for series: Перерождение Дяди
[2024-11-27 15:30:38.493 +02:00] [INF] [71] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Found matching series: Isekai Ojisan
[2024-11-27 15:30:38.963 +02:00] [INF] [71] jellyfin_ani_sync.UpdateProviderStatus: User does not have plan to watch only ticked
[2024-11-27 15:30:38.970 +02:00] [INF] [71] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Series (Isekai Ojisan) found on completed list, setting as re-watching
[2024-11-27 15:30:38.981 +02:00] [INF] [71] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Series (Isekai Ojisan) has already been watched, marking anime as re-watching; progress of 1

Rewatching 2 ep:

[2024-11-27 15:53:51.813 +02:00] [INF] [27] jellyfin_ani_sync.UpdateProviderStatus: Retrieved provider IDs
[2024-11-27 15:53:51.813 +02:00] [INF] [27] jellyfin_ani_sync.UpdateProviderStatus: Using provider Shikimori...
[2024-11-27 15:53:51.813 +02:00] [INF] [27] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Searching for series: Перерождение Дяди
[2024-11-27 15:53:52.240 +02:00] [INF] [27] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Found matching series: Isekai Ojisan
[2024-11-27 15:53:53.397 +02:00] [INF] [27] jellyfin_ani_sync.UpdateProviderStatus: User does not have plan to watch only ticked
[2024-11-27 15:53:53.398 +02:00] [INF] [27] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Series (Isekai Ojisan) found on Rewatching list
[2024-11-27 15:53:54.321 +02:00] [INF] [27] jellyfin_ani_sync.UpdateProviderStatus: (Shikimori) Updated series (Isekai Ojisan) progress to 2

Screenshots Before rewatching 1 ep: Снимок экрана 2024-11-27 161530 Afrer rewatching 1 ep: Снимок экрана 2024-11-27 161556 I cnage status to rewatching manualy. Before rewatching 2 ep: Снимок экрана 2024-11-27 154224 Afrer rewatching 2 ep: Снимок экрана 2024-11-27 160113

Client\Server Info:

EvilToasterDBU commented 2 days ago

@vosmiic This issue still needs attention.