1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 00:38:52 -05:00
This commit is contained in:
Reinhard Pointner 2017-01-02 13:49:30 +08:00
parent 2baeb4f3cb
commit ab0e56cb82

View File

@ -1036,6 +1036,7 @@ public class MediaBindingBean {
} }
public Episode getSeasonEpisode() { public Episode getSeasonEpisode() {
// magically convert AniDB absolute numbers to TheTVDB SxE numbers if AniDB is selected with airdate SxE episode sort order
if (getEpisodes().stream().allMatch(it -> isAnime(it) && isRegular(it) && !isAbsolute(it))) { if (getEpisodes().stream().allMatch(it -> isAnime(it) && isRegular(it) && !isAbsolute(it))) {
try { try {
return getEpisodeByAbsoluteNumber(getEpisode(), TheTVDB, SortOrder.Airdate); return getEpisodeByAbsoluteNumber(getEpisode(), TheTVDB, SortOrder.Airdate);