1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 01:38:24 +00:00

update rss sync and fix search for omgwtfnzbs indexer

This commit is contained in:
Tim Schindler 2017-01-08 18:49:27 -05:00
parent 07d2f5b6a0
commit 588a48e65d

View file

@ -92,7 +92,7 @@ public virtual IndexerPageableRequestChain GetSearchRequests(SpecialEpisodeSearc
private IEnumerable<IndexerRequest> GetPagedRequests(string query)
{
var url = new StringBuilder();
url.AppendFormat("{0}?catid=19,20&user={1}&api={2}&eng=1&delay={3}", BaseUrl, Settings.Username, Settings.ApiKey, Settings.Delay);
url.AppendFormat("{0}?catid=15,16,17&user={1}&api={2}&eng=1&delay={3}", BaseUrl, Settings.Username, Settings.ApiKey, Settings.Delay);
if (query.IsNotNullOrWhiteSpace())
{
@ -105,7 +105,12 @@ private IEnumerable<IndexerRequest> GetPagedRequests(string query)
public IndexerPageableRequestChain GetSearchRequests(MovieSearchCriteria searchCriteria)
{
return new IndexerPageableRequestChain();
var pageableRequests = new IndexerPageableRequestChain();
pageableRequests.Add(GetPagedRequests(string.Format("{0}",
searchCriteria.Movie.Title)));
return pageableRequests;
}
}
}