SearchResult Controller added.

Force Download added.
This commit is contained in:
Mark McDowall 2012-04-22 23:31:11 -07:00
commit cef7b6a8dc
25 changed files with 358 additions and 128 deletions

View file

@ -21,6 +21,9 @@ namespace NzbDrone.Core.Repository.Search
[ResultColumn]
public List<SearchResultItem> SearchResultItems { get; set; }
[Ignore]
public List<int> Successes { get; set; }
[ResultColumn]
public string SeriesTitle { get; set; }
@ -40,6 +43,6 @@ namespace NzbDrone.Core.Repository.Search
public int TotalItems { get; set; }
[ResultColumn]
public int Successes { get; set; }
public int SuccessfulCount { get; set; }
}
}

View file

@ -19,5 +19,15 @@ namespace NzbDrone.Core.Repository.Search
public string NzbInfoUrl { get; set; }
public bool Success { get; set; }
public ReportRejectionType SearchError { get; set; }
public QualityTypes Quality { get; set; }
public bool Proper { get; set; }
public int Age { get; set; }
public LanguageType Language { get; set; }
public long Size { get; set; }
public override string ToString()
{
return String.Format("{0} - {1} - {2}", ReportTitle, Quality, SearchError);
}
}
}