1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-10 21:38:04 -05:00

Results should be in order (since we generate absolute episode numbers based on that)

This commit is contained in:
Reinhard Pointner 2016-04-18 15:22:34 +00:00
parent 4e94e25707
commit e986103a1c

View File

@ -4,7 +4,6 @@ import static java.util.Arrays.*;
import static java.util.Collections.*;
import static java.util.stream.Collectors.*;
import static net.filebot.util.JsonUtilities.*;
import static net.filebot.web.EpisodeUtilities.*;
import static net.filebot.web.TMDbClient.*;
import java.net.URI;
@ -136,9 +135,6 @@ public class TMDbTVClient extends AbstractEpisodeListProvider {
});
}
// episodes my not be ordered by DVD episode number
episodes.sort(episodeComparator());
// add specials at the end
episodes.addAll(specials);