1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-21 23:38:50 -05:00

Add anime-lists parser

* https://github.com/ScudLee/anime-lists
This commit is contained in:
Reinhard Pointner 2019-06-08 04:51:21 +07:00
parent e9af2bb216
commit 8b1224c474

View File

@ -44,11 +44,11 @@ public enum AnimeLists {
}
} else {
// offset mode
Integer s = this == AniDB ? null : a.defaulttvdbseason;
Integer s = destination == TheTVDB ? a.defaulttvdbseason : null;
Integer e = episode.getEpisode();
if (a.episodeoffset != null) {
e = this == AniDB ? e - a.episodeoffset : e + a.episodeoffset;
e = destination == TheTVDB ? e + a.episodeoffset : e - a.episodeoffset;
}
return episode.derive(s, e);