db.anidb.id, AnimeList.anidb.id inconsistency when using --mapper AnimeList.AniDB with theTVDB database

Any questions? Need some help?
rv23
Posts: 64
Joined: 19 Jul 2020, 15:05

Re: db.anidb.id, AnimeList.anidb.id inconsistency when using --mapper AnimeList.AniDB with theTVDB database

Post by rv23 »

Yes, after clearing the cache, the AnimeList mappings for TVDB 384017 & 384424 are good.
Thanks.

TVDB 335088 (Nekopara) is an upstream data issue, so the fix for that will need to come from a fix there.

However TVDB159640 (Sword Art Online), still has what I think is a missing map for the 2nd half of Season 4.

Code: Select all

259640 |  |  | Sword Art Online - 4x13 - The War of Underworld
259640 |  |  | Sword Art Online - 4x14 - End to Eternity
259640 |  |  | Sword Art Online - 4x15 - Instigation
259640 |  |  | Sword Art Online - 4x16 - Code 871
259640 |  |  | Sword Art Online - 4x17 - Prince of Hell
259640 |  |  | Sword Art Online - 4x18 - Memories
259640 |  |  | Sword Art Online - 4x19 - Awakening
259640 |  |  | Sword Art Online - 4x20 - The Night-Sky Blade
259640 |  |  | Sword Art Online - 4x21 - Beyond Time
259640 |  |  | Sword Art Online - 4x22 - Alice
259640 |  |  | Sword Art Online - 4x23 - New World
which should map to AniDB ID 15146 (Sword Art Online: Alicization - War of Underworld (2020)) due to the episodeoffset.. Is this assumption of mine correct, or is there another data issue preventing this from working? It didn't look like there is a duplicate mapping in the xml I downloaded recently and have been using to verify the xml manually.

Code: Select all

  <anime anidbid="15146" tvdbid="259640" defaulttvdbseason="4" episodeoffset="12">
    <name>Sword Art Online: Alicization - War of Underworld (2020)</name>
  </anime>
Thank you for your help on this.
rv23
Posts: 64
Joined: 19 Jul 2020, 15:05

Re: db.anidb.id, AnimeList.anidb.id inconsistency when using --mapper AnimeList.AniDB with theTVDB database

Post by rv23 »

Thanks again for clueing me in to WebServices.AnimeList.model.anime, I should be able to use that instead of downloading the xml myself and querying it directly as it's more important to understand if Filebot has the mapping vs the latest xml.

Code: Select all

WebServices.AnimeList.model.anime.findAll{
	it.anidbid == 15146 
} each{
	println it.tvdbid
}
259640
Result: [<anime anidbid="15146" tvdbid="259640" defaulttvdbseason="4" episodeoffset="12"><name>Sword Art Online: Alicization - War of Underworld (2020)</name><tvdbname>Sword Art Online</tvdbname></anime>]
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: db.anidb.id, AnimeList.anidb.id inconsistency when using --mapper AnimeList.AniDB with theTVDB database

Post by rednoah »

TheTVDB::259640 / Season 4 correctly maps to different AniDB entries at different episode offsets... I'm pretty sure my code doesn't accidentally account for that case! :lol:

Code: Select all

WebServices.AnimeList.model.anime.findAll{
	it.tvdbid == 259640
} each{
	println it
}

Code: Select all

<anime anidbid="14796" tvdbid="259640" defaulttvdbseason="4"><name>Sword Art Online: Alicization - War of Underworld</name><tvdbname>Sword Art Online</tvdbname></anime>
<anime anidbid="15146" tvdbid="259640" defaulttvdbseason="4" episodeoffset="12"><name>Sword Art Online: Alicization - War of Underworld (2020)</name><tvdbname>Sword Art Online</tvdbname></anime>
:arrow: I'll look into it. Maybe easy. Maybe not.


EDIT: Fixed with FileBot r8311 (FileBot will now prefer the mapping entry with the highest applicable episodeoffset)
:idea: Please read the FAQ and How to Request Help.
rv23
Posts: 64
Joined: 19 Jul 2020, 15:05

Re: db.anidb.id, AnimeList.anidb.id inconsistency when using --mapper AnimeList.AniDB with theTVDB database

Post by rv23 »

Awesome, Thanks for the quick response.

I'll try and download r8311 and test it out in the next few days.
rv23
Posts: 64
Joined: 19 Jul 2020, 15:05

Re: db.anidb.id, AnimeList.anidb.id inconsistency when using --mapper AnimeList.AniDB with theTVDB database

Post by rv23 »

Confirmed. r8311 fixes the mapping for Sword Art Online: Alicization - War of Underworld (2020) at least (and likely some others).

Thank you very much for the fix.
Post Reply