Cutoff moved to its own spec

This commit is contained in:
Mark McDowall
2013-09-10 19:07:22 -07:00
parent 92cc41edeb
commit 33fa468f91
9 changed files with 66 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
{
get
{
return "Higher quality exists on disk";
return "Existing file on disk is of equal or higher quality";
}
}
@@ -31,7 +31,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
{
_logger.Trace("Comparing file quality with report. Existing file is {0}", file.Quality);
if (!_qualityUpgradableSpecification.IsUpgradable(subject.Series.QualityProfile, file.Quality, subject.ParsedEpisodeInfo.Quality))
if (!_qualityUpgradableSpecification.IsUpgradable(file.Quality, subject.ParsedEpisodeInfo.Quality))
{
return false;
}