Skip to content

Multiple TVDB episodes mapped to the same anidb episode #500

@KurtzPT

Description

@KurtzPT

So I found an issue that probably is happening to a bunch of other shows where episodes are being mapped to two different seasons at the same time on TVDB.

Example:

File to test it:
[!] file: "/media/Ani-Test/Sword Art Online Alicization (2018) [anidb-13493]/Sword Art Online Alicization - 03.mkv"

Some logs:

--- AniDBTVDBMap --------------------------------------------------------------------------------------------------------------------------------------------
[+] AniDBid: 13493, TVDBid: 259640, defaulttvdbseason: 3, offset: 0, TMDBid: , IMDBid: , name: Sword Art Online: Alicization
- season: [ 0], [ 0], range: [000-000], offset: 0, text: 1-24;2-25
----- ------
13493 259640
[ ] collection: TVDBid '259640' is part of collection: '['Sword Art Online Collection']', related_anime_list: ['8692', '10022', '10376', '11681', '13493', '14796', '15146']
[ ] studio:
--- return --------------------------------------------------------------------------------------------------------------------------------------------------
AniDB_id: '13493', AniDB_id2: '13493', AniDBid: '13493', TVDB_id: '', TVDB_id2: '259640', TVDBid: '259640'
mappingList: {
'defaulttvdbseason': '3',
'defaulttvdbseason_a': False,
'episodeoffset': '0',
'name': 'Sword Art Online: Alicization',
'possible_anidb3': False,
's1e1_mapped': False,
'season_map': {'13493': {'max': '3', 'min': '3'}},
'TVDB': {'s0e24': ('0', '1', '13493'), 's0e25': ('0', '2', '13493'), 's3': {'13493': '0'}},
'tvdbcount': 1}

Episodes match:

[X] s1e3 s01e003 anidbid: xxxxxxx air_date: 2012-07-22 abs_number: 3, title: The Red-Nosed Reindeer
and

[X] s3e3 s01e003 anidbid: 13493 air_date: 2018-10-21 abs_number: 53, title: The End Mountains


ASS Logs:

=============================================================================================================================================================
Call: "Plex", path: "Sword Art Online Alicization (2018) [anidb-13493]", folder_show: "Sword Art Online Alicization (2018) [anidb-13493]", dirs (0), files (1)
=============================================================================================================================================================
Forced ID (series folder) - source: "anidb", id: "13493"
"Sword Art Online Alicization (2018) [anidb-13493]" s01e 3 "Word Search" "" "Sword Art Online Alicization - 03.mkv"
=============================================================================================================================================================

This is an issue because in this example it sometimes sets thumbs from the season 1 episode as the default thumb (while downloading the correct season 3 episode thumb).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions