1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-21 23:38:50 -05:00

Make sure each Episode object has a unique SeriesInfo object

This commit is contained in:
Reinhard Pointner 2019-06-10 14:11:03 +07:00
parent 331527da00
commit f0b4d65d27

View File

@ -154,7 +154,7 @@ public class Episode implements Serializable {
} }
public Episode derive(String seriesName, Integer season, Integer episode, Integer absolute, Integer special) { 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()); return new Episode(seriesName, season, episode, getTitle(), absolute, special, getAirdate(), getId(), new SeriesInfo(getSeriesInfo()));
} }
@Override @Override