mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-21 23:38:50 -05:00
parent
e9af2bb216
commit
8b1224c474
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user