Dingmatt / AMSA

A Plex anime agent using TVDB and AniDB data
GNU General Public License v3.0
262 stars 7 forks source link

Incorrect match made when selecting the non-top option when it has a higher 'match' #32

Open CommanderBubble opened 2 years ago

CommanderBubble commented 2 years ago

when performing a manual match, and selecting one other than the top option, when the top option has a higher match percentage, the top match is taken, despite selecting the other match

these are the options i am given for this particluar example match choices

and despite selecting the second option, this is the resulting metadata that is set match result .

CommanderBubble commented 2 years ago

additional note: when fixing the match for the Show collection, it seems to have applied, though because all the metadata for that is mostly unused, it seems to have little impact

CommanderBubble commented 2 years ago

relevant log files - file lists trimmed to only relevant series com.plexapp.agents.amsa.log com.plexapp.system.log Plex Media Scanner (custom ASS).log Plex Media Scanner (custom ASS) - filelist .log

Dingmatt commented 2 years ago

This sounds like a issue with the mapping file, the part which say which anidb series maps to which tvdb one. I'll take a look and add a manual override if necessary.

The mapping file is generated by a separate GitHub project, so sometimes has errors