mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-11 20:05:04 -05:00
Set special number explicitely
This commit is contained in:
parent
2b5e2a0785
commit
b02128b2bd
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user