vosmiic / jellyfin-ani-sync

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

Getting Anidb id for completely wrong show #89

Closed JackMaiden closed 7 months ago

JackMaiden commented 7 months ago

/ Please do not create an issue about a specific show or movie not working with the plugin. Shows that have multiple cours or odd seasons generally do not work well with this plugin, and we do not fix individual issues. /

While ive had issues with second cors before ive understood its hard to link but they always atleast go to the same show just another season, since moving to just tvdb metadata its been a lot better and this is weirdest one ive found so think its worth noting.

Describe the bug Very weird mapping that is going to a completely different show, I cant see any metadata that would link to bebop and as such am stumped.

To Reproduce Steps to reproduce the behavior: Play Atelier Ryza Ever Darkness & the Secret Hideout The Animation (2023) and wait for it to sync to mal

Expected behavior Update Atelier Ryza Ever Darkness & the Secret Hideout The Animation (2023) and not Cowboy bebop

Screenshots image

Desktop (please complete the following information):

Additional context Logs:

[2023-11-12 23:07:15.077 +00:00] [INF] [32] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Media Player" "1.9.1" playing "Chasing Down the Hunting Party". Stopped at "1394645" ms
[2023-11-12 23:07:15.451 +00:00] [INF] [36] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "aoba". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-11-12 23:07:15.451 +00:00] [INF] [36] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="/anime/Anime [Shows]/Atelier Ryza Ever Darkness & the Secret Hideout The Animation (2023)/Season 01/01x11 - The Final Battle at the Castle.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/cc544a38-990b-ead2-30b2-00ee58ae7ad8/stream.mkv?MediaSourceId=cc544a38990bead230b200ee58ae7ad8&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=2&api_key=<token>&SubtitleMethod=Embed&Tag=466f08eda6be0570b3c568a9eb1dbc10"
[2023-11-12 23:07:17.228 +00:00] [WRN] [32] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.HOSTNAMEREDACTED:8920/Sessions/Playing/Stopped" to "86.149.118.4" in 0:00:02.1531804 with Status Code 204
[2023-11-12 23:07:17.228 +00:00] [INF] [54] jellyfin_ani_sync.UpdateProviderStatus: AniList ID found. Retrieving provider IDs from offline database...
[2023-11-12 23:07:18.117 +00:00] [INF] [83] jellyfin_ani_sync.UpdateProviderStatus: Retrieved provider IDs
[2023-11-12 23:07:18.118 +00:00] [INF] [83] jellyfin_ani_sync.UpdateProviderStatus: Using provider Mal...
[2023-11-12 23:07:18.118 +00:00] [INF] [83] jellyfin_ani_sync.Api.MalApiCalls: Retrieving an anime from MAL (GET https://api.myanimelist.net/v2/anime/1?fields=title%2Crelated_anime%2Cmy_list_status%2Cnum_episodes)...
[2023-11-12 23:07:18.321 +00:00] [WRN] [36] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.HOSTNAMEREDACTED:8920/Videos/cc544a38990bead230b200ee58ae7ad8/stream.mkv?Static=true&mediaSourceId=cc544a38990bead230b200ee58ae7ad8&deviceId=SmVsbHlmaW5NZWRpYVBsYXllciAxLjcuMSAod2luZG93cy14ODZfNjQgMTApfDE2NzIxOTA0OTU2OTk1&api_key=6eeb1636ae664e37923b32f6dd6911d8&Tag=466f08eda6be0570b3c568a9eb1dbc10" to "86.149.118.4" in 0:00:02.8047925 with Status Code 206
[2023-11-12 23:07:18.403 +00:00] [INF] [36] jellyfin_ani_sync.Api.MalApiCalls: Anime retrieval complete
[2023-11-12 23:07:18.403 +00:00] [INF] [36] jellyfin_ani_sync.UpdateProviderStatus: (Mal) Series (Cowboy Bebop) not found in plan to watch list, checking completed list..
[2023-11-12 23:07:18.403 +00:00] [INF] [36] jellyfin_ani_sync.UpdateProviderStatus: (Mal) Series (Cowboy Bebop) found on completed list, setting as re-watching
[2023-11-12 23:07:18.403 +00:00] [INF] [36] jellyfin_ani_sync.UpdateProviderStatus: (Mal) Series (Cowboy Bebop) has already been watched, marking anime as re-watching; progress of 10
[2023-11-12 23:07:18.944 +00:00] [INF] [36] jellyfin_ani_sync.Api.MalApiCalls: Updating anime status (PUT https://api.myanimelist.net/v2/anime/1/my_list_status)...
[2023-11-12 23:07:18.947 +00:00] [INF] [36] jellyfin_ani_sync.Api.MalApiCalls: Update complete

Log in offline db matches tvdb in metadata

  <anime anidbid="17920" tvdbid="432613" defaulttvdbseason="1">
    <name>Ryza no Atelier: Tokoyami no Joou to Himitsu no Kakurega</name>
  </anime>
JackMaiden commented 7 months ago

Original reIdentify didnt work, full delete and reimport worked, ill go with weird import issue in jellyfin for now