1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-22 07:48:52 -05:00

Support for enhanced AnimeList mappings

This commit is contained in:
Reinhard Pointner 2019-06-14 13:56:52 +07:00
parent f732978eff
commit 0e5df2c0c7

View File

@ -90,7 +90,7 @@ public class AnimeLists implements Datasource {
case AniDB: case AniDB:
return episode.derive(a.name, null, null, null, e); return episode.derive(a.name, null, null, null, e);
default: default:
return episode.deriveSpecial(e); return episode.derive(a.tvdbname, null, null, null, e);
} }
} else { } else {
// regular // regular
@ -98,7 +98,7 @@ public class AnimeLists implements Datasource {
case AniDB: case AniDB:
return episode.derive(a.name, null, e, null, null); return episode.derive(a.name, null, e, null, null);
default: default:
return episode.derive(s, e); return episode.derive(a.tvdbname, null, e, null, null);
} }
} }
} }
@ -282,6 +282,9 @@ public class AnimeLists implements Datasource {
@XmlElement @XmlElement
public String name; public String name;
@XmlElement
public String tvdbname;
@XmlElementWrapper(name = "mapping-list") @XmlElementWrapper(name = "mapping-list")
public Mapping[] mapping; public Mapping[] mapping;