1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-19 16:01:46 +02:00

Couple minor download spec changes

This commit is contained in:
Mark McDowall 2013-09-15 17:59:47 -07:00
parent aa2c96ec7d
commit 261751727b
2 changed files with 3 additions and 4 deletions

View File

@ -57,9 +57,8 @@ public virtual bool IsSatisfiedBy(RemoteEpisode subject, SearchCriteriaBase sear
//Multiply maxSize by Series.Runtime
maxSize = maxSize * subject.Series.Runtime * subject.Episodes.Count;
//Check if there was only one episode parsed
//and it is the first or last episode of the season
if (subject.Episodes.Count == 1 && _episodeService.IsFirstOrLastEpisodeOfSeason(subject.Episodes.Single().Id))
//Check if there was only one episode parsed and it is the first
if (subject.Episodes.Count == 1 && subject.Episodes.First().EpisodeNumber == 1)
{
maxSize = maxSize * 2;
}

View File

@ -21,7 +21,7 @@ public string RejectionReason
{
get
{
return "Contrains restricted term.";
return "Contains restricted term.";
}
}