1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

New: Separate automatic and interactive searches

Closes #253
This commit is contained in:
Mark McDowall
2017-11-27 18:31:08 -08:00
committed by Taloth Saldono
parent cfb7494992
commit acc901455b
23 changed files with 204 additions and 103 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using FluentValidation;
using Nancy;
@@ -89,7 +89,7 @@ namespace NzbDrone.Api.Indexers
{
try
{
var decisions = _nzbSearchService.EpisodeSearch(episodeId, true);
var decisions = _nzbSearchService.EpisodeSearch(episodeId, true, true);
var prioritizedDecisions = _prioritizeDownloadDecision.PrioritizeDecisions(decisions);
return MapDecisions(prioritizedDecisions);
@@ -123,4 +123,4 @@ namespace NzbDrone.Api.Indexers
return string.Concat(resource.IndexerId, "_", resource.Guid);
}
}
}
}