mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-21 15:28:52 -05:00
Support for enhanced AnimeList mappings
This commit is contained in:
parent
f732978eff
commit
0e5df2c0c7
@ -90,7 +90,7 @@ public class AnimeLists implements Datasource {
|
||||
case AniDB:
|
||||
return episode.derive(a.name, null, null, null, e);
|
||||
default:
|
||||
return episode.deriveSpecial(e);
|
||||
return episode.derive(a.tvdbname, null, null, null, e);
|
||||
}
|
||||
} else {
|
||||
// regular
|
||||
@ -98,7 +98,7 @@ public class AnimeLists implements Datasource {
|
||||
case AniDB:
|
||||
return episode.derive(a.name, null, e, null, null);
|
||||
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
|
||||
public String name;
|
||||
|
||||
@XmlElement
|
||||
public String tvdbname;
|
||||
|
||||
@XmlElementWrapper(name = "mapping-list")
|
||||
public Mapping[] mapping;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user