You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2024-03-03 22:00:13.766 +03:00] [INF] [149] jellyfin_ani_sync.UpdateProviderStatus: (Tvdb) Anime reference found in anime list XML
[2024-03-03 22:00:13.766 +03:00] [INF] [149] jellyfin_ani_sync.UpdateProviderStatus: Retrieving provider IDs from offline database...
[2024-03-03 22:00:14.466 +03:00] [INF] [208] jellyfin_ani_sync.UpdateProviderStatus: Retrieved provider IDs
[2024-03-03 22:00:14.466 +03:00] [INF] [208] jellyfin_ani_sync.UpdateProviderStatus: Using provider Shikimori...
[2024-03-03 22:00:28.544 +03:00] [ERR] [208] jellyfin_ani_sync.SessionServerEntry: Fatal error occured during anime sync job: System.NullReferenceException: Object reference not set to an instance of an object.
at jellyfin_ani_sync.UpdateProviderStatus.TitleCheck(Anime anime, Episode episode, Movie movie)
at jellyfin_ani_sync.UpdateProviderStatus.Update(BaseItem e, Guid userId, Boolean playedToCompletion)
at jellyfin_ani_sync.SessionServerEntry.PlaybackStopped(Object sender, PlaybackStopEventArgs e)
To Reproduce
n/a
Expected behavior
The plugin successfully updates progress via Shikimori API.
Screenshots
n/a
Desktop (please complete the following information):
Browser n/a
Jellyfin version 10.8.13
Plugin version 3.0
Additional context
I’d assume that is because Anime instance is not fully initialized from the available Shikimori data,
Describe the bug
NPE during status update with Shikimori provider.
Logs
To Reproduce
n/a
Expected behavior
The plugin successfully updates progress via Shikimori API.
Screenshots
n/a
Desktop (please complete the following information):
Additional context
I’d assume that is because
Anime
instance is not fully initialized from the available Shikimori data,jellyfin-ani-sync/Helpers/ClassConversions.cs
Lines 97 to 102 in de2c883
jellyfin-ani-sync/UpdateProviderStatus.cs
Lines 341 to 347 in de2c883
jellyfin-ani-sync/Models/Shikimori/ShikimoriMedia.cs
Lines 7 to 21 in de2c883
Here is a response from https://shikimori.one/api/animes/52299 with most of the fields omitted except for those that should be used for title check:
Also note that strings may be
null
, e.g. https://shikimori.one/api/animes/54873The text was updated successfully, but these errors were encountered: