vosmiic / jellyfin-ani-sync

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

Sync not working #164

Open fakeowl1 opened 5 days ago

fakeowl1 commented 5 days ago

In my jellyfin sync to anilist not working.

Logs

jellyfin.log

Screenshots

2024-11-08_22:25:25

2024-11-08_22:26:11

2024-11-08_22:26:53

2024-11-08_22:28:02

AniList image

sean-mcgauley commented 5 days ago

I was having the same issue earlier today with Anisync to MAL.

Restarting my Jellyfin server fixed the issue so I would try that for now as a temporary fix.

vosmiic commented 2 days ago

If the issue is related to manually syncing, a bug was found due to a change in the latest version of Jellyfin and it has been fixed in the latest beta release. This bug fix will be included in the next stable release which will be released in a few weeks.

If it is not related to manual syncing, I cannot see any issues in the logs related to the plugin. Please try watching another piece of media and share the latest Jellyfin log file (with all sensitive data removed). The entire log file does not need to be shared, just the appropriate error if you are able to identify it will do.

Kunal926 commented 2 days ago

This was probably due to AniList API being temporarily disabled.I found this in my jellyfin server logs

[2024-11-10 21:25:44.846 +05:30] [ERR] [32] jellyfin_ani_sync.Api.AuthApiCall: Unable to complete AniList API call (POST https://graphql.anilist.co), reason: Forbidden, content: { "errors": [ { "message": "The AniList API has been temporarily disabled due to severe stability issues. Please check the official AniList Discord for more information.", "status": 403, "locations": [ { "line": 1, "column": 1 } ] } ], "data": null }

It stopped working for me too 2 days ago but its fine now also it seems you uploaded wrong log file the correct one is located at "AppData\Local\jellyfin\log"

sean-mcgauley commented 1 day ago

This is related to automatic updating in my case and it looks like the issue came back.

in the attached logs you can see Anisync working correctly for Dandadan yesterday and it’s updating in MAL but after watching a couple of episodes of Makeine more recently it appears to stop working. Whatever’s causing it to not update appears to be related to this line:

“ jellyfin_ani_sync.UpdateProviderStatus: (Anidb) Anime already has AniDb ID; no need to look it up ”

Anisync Log.txt

sean-mcgauley commented 1 day ago

Additional info that might be relevant:

the issue only seems to have started occurring very recently, maybe in the past week.

Edit:

after a server restart I tried unticking and re-ticking an episode and these are the results of that. It looks like a restart resets whatever the issue is.

[2024-11-12 23:32:23.930 +00:00] [INF] [98] jellyfin_ani_sync.UpdateProviderStatus: (Anidb) Anime already has AniDb ID; no need to look it up [2024-11-12 23:32:23.934 +00:00] [INF] [98] jellyfin_ani_sync.UpdateProviderStatus: (Anidb) Anime When You Stare Into a Losing Heroine, the Losing Heroine Stares Back Into You found in anime XML file [2024-11-12 23:32:23.934 +00:00] [INF] [98] jellyfin_ani_sync.UpdateProviderStatus: Retrieving provider IDs from offline database for AniDb ID 18317... [2024-11-12 23:32:24.119 +00:00] [INF] [136] jellyfin_ani_sync.UpdateProviderStatus: Retrieved provider IDs [2024-11-12 23:32:24.121 +00:00] [INF] [136] jellyfin_ani_sync.UpdateProviderStatus: Using provider Mal... [2024-11-12 23:32:24.150 +00:00] [INF] [136] jellyfin_ani_sync.Api.MalApiCalls: Retrieving an anime from MAL (GET https://api.myanimelist.net/v2/anime/57524?fields=title%2Crelated_anime%2Cmy_list_status%2Cnum_episodes)... [2024-11-12 23:32:24.459 +00:00] [INF] [88] jellyfin_ani_sync.Api.MalApiCalls: Anime retrieval complete [2024-11-12 23:32:24.477 +00:00] [INF] [88] jellyfin_ani_sync.UpdateProviderStatus: (Mal) Series (Make Heroine ga Oosugiru!) found on watching list [2024-11-12 23:32:25.053 +00:00] [INF] [88] jellyfin_ani_sync.Api.MalApiCalls: Updating anime status (PUT https://api.myanimelist.net/v2/anime/57524/my_list_status)... [2024-11-12 23:32:25.065 +00:00] [INF] [88] jellyfin_ani_sync.Api.MalApiCalls: Update complete [2024-11-12 23:32:25.068 +00:00] [INF] [88] jellyfin_ani_sync.UpdateProviderStatus: (Mal) Updated series (Make Heroine ga Oosugiru!) progress to 4

vosmiic commented 1 day ago

Hard to see why a restart would change anything if you are testing it on the same episode. Could you refresh the metadata of the series and see if you still run into the issue?