|
|
@ -57,9 +57,8 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
|
|
|
|
//Multiply maxSize by Series.Runtime
|
|
|
|
//Multiply maxSize by Series.Runtime
|
|
|
|
maxSize = maxSize * subject.Series.Runtime * subject.Episodes.Count;
|
|
|
|
maxSize = maxSize * subject.Series.Runtime * subject.Episodes.Count;
|
|
|
|
|
|
|
|
|
|
|
|
//Check if there was only one episode parsed
|
|
|
|
//Check if there was only one episode parsed and it is the first
|
|
|
|
//and it is the first or last episode of the season
|
|
|
|
if (subject.Episodes.Count == 1 && subject.Episodes.First().EpisodeNumber == 1)
|
|
|
|
if (subject.Episodes.Count == 1 && _episodeService.IsFirstOrLastEpisodeOfSeason(subject.Episodes.Single().Id))
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
maxSize = maxSize * 2;
|
|
|
|
maxSize = maxSize * 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|