Fixed: Dailiezearch.
This commit is contained in:
parent
741fa57f05
commit
8bc0ab981c
|
@ -206,9 +206,28 @@ namespace NzbDrone.Core.Indexers.Newznab
|
|||
{
|
||||
var pageableRequests = new IndexerPageableRequestChain();
|
||||
|
||||
if (searchCriteria.SearchMode.HasFlag(SearchMode.SearchID) || searchCriteria.SearchMode == SearchMode.Default)
|
||||
{
|
||||
AddTvIdPageableRequests(pageableRequests, Settings.Categories, searchCriteria,
|
||||
string.Format("&season={0:yyyy}&ep={0:MM}/{0:dd}",
|
||||
searchCriteria.AirDate));
|
||||
}
|
||||
|
||||
if (searchCriteria.SearchMode.HasFlag(SearchMode.SearchTitle))
|
||||
{
|
||||
AddTitlePageableRequests(pageableRequests, Settings.Categories, searchCriteria,
|
||||
string.Format("&season={0:yyyy}&ep={0:MM}/{0:dd}",
|
||||
searchCriteria.AirDate));
|
||||
}
|
||||
|
||||
pageableRequests.AddTier();
|
||||
|
||||
if (searchCriteria.SearchMode == SearchMode.Default)
|
||||
{
|
||||
AddTitlePageableRequests(pageableRequests, Settings.Categories, searchCriteria,
|
||||
string.Format("&season={0:yyyy}&ep={0:MM}/{0:dd}",
|
||||
searchCriteria.AirDate));
|
||||
}
|
||||
|
||||
return pageableRequests;
|
||||
}
|
||||
|
@ -217,9 +236,29 @@ namespace NzbDrone.Core.Indexers.Newznab
|
|||
{
|
||||
var pageableRequests = new IndexerPageableRequestChain();
|
||||
|
||||
if (searchCriteria.SearchMode.HasFlag(SearchMode.SearchID) || searchCriteria.SearchMode == SearchMode.Default)
|
||||
{
|
||||
|
||||
AddTvIdPageableRequests(pageableRequests, Settings.Categories, searchCriteria,
|
||||
string.Format("&season={0}",
|
||||
searchCriteria.Year));
|
||||
}
|
||||
|
||||
if (searchCriteria.SearchMode.HasFlag(SearchMode.SearchTitle))
|
||||
{
|
||||
AddTitlePageableRequests(pageableRequests, Settings.Categories, searchCriteria,
|
||||
string.Format("&season={0}",
|
||||
searchCriteria.Year));
|
||||
}
|
||||
|
||||
pageableRequests.AddTier();
|
||||
|
||||
if (searchCriteria.SearchMode == SearchMode.Default)
|
||||
{
|
||||
AddTitlePageableRequests(pageableRequests, Settings.Categories, searchCriteria,
|
||||
string.Format("&season={0}",
|
||||
searchCriteria.Year));
|
||||
}
|
||||
|
||||
return pageableRequests;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue