diff --git a/source/net/filebot/web/Episode.java b/source/net/filebot/web/Episode.java index ca9cd069..686ee4f4 100644 --- a/source/net/filebot/web/Episode.java +++ b/source/net/filebot/web/Episode.java @@ -144,8 +144,12 @@ public class Episode implements Serializable { return new Episode(getSeriesName(), season, episode, getTitle(), getAbsolute(), getSpecial(), getAirdate(), getId(), getSeriesInfo()); } - public Episode derive(String seriesName, Integer season, Integer episode, Integer absolute) { - return new Episode(seriesName, season, episode, getTitle(), absolute, getSpecial(), getAirdate(), getId(), getSeriesInfo()); + public Episode derive(Integer season, Integer episode, Integer absolute, Integer special) { + return new Episode(getSeriesName(), season, episode, getTitle(), absolute, special, getAirdate(), getId(), getSeriesInfo()); + } + + public Episode derive(String seriesName, Integer season, Integer episode, Integer absolute, Integer special) { + return new Episode(seriesName, season, episode, getTitle(), absolute, special, getAirdate(), getId(), getSeriesInfo()); } @Override diff --git a/source/net/filebot/web/XEM.java b/source/net/filebot/web/XEM.java index 37e56e62..d4aa2073 100644 --- a/source/net/filebot/web/XEM.java +++ b/source/net/filebot/web/XEM.java @@ -71,8 +71,9 @@ public enum XEM { Integer e = getInteger(mappedNumbers, "episode"); Integer a = getInteger(mappedNumbers, "absolute"); + Integer special = null; - return episode.derive(mappedSeriesName, mappedSeason, e, a); + return episode.derive(mappedSeriesName, mappedSeason, e, a, special); }).collect(toList()); if (mappedEpisode.size() == 1) {