mirror of
https://github.com/Readarr/Readarr
synced 2025-12-29 19:54:20 +01:00
Fix for Torznab/Jackett
This commit is contained in:
parent
864549b1f3
commit
2938bfee2c
2 changed files with 6 additions and 3 deletions
|
|
@ -55,6 +55,10 @@ public virtual IndexerPageableRequestChain GetRecentRequests()
|
|||
{
|
||||
pageableRequests.Add(GetPagedRequests(MaxPages, Settings.Categories, "music", ""));
|
||||
}
|
||||
else if (capabilities.SupportedSearchParameters != null)
|
||||
{
|
||||
pageableRequests.Add(GetPagedRequests(MaxPages, Settings.Categories, "search", ""));
|
||||
}
|
||||
|
||||
return pageableRequests;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,9 +94,8 @@ protected virtual ValidationFailure TestCapabilities()
|
|||
return null;
|
||||
}
|
||||
|
||||
if (capabilities.SupportedTvSearchParameters != null &&
|
||||
new[] { "q", "tvdbid", "rid" }.Any(v => capabilities.SupportedTvSearchParameters.Contains(v)) &&
|
||||
new[] { "season", "ep" }.All(v => capabilities.SupportedTvSearchParameters.Contains(v)))
|
||||
if (capabilities.SupportedAudioSearchParameters != null &&
|
||||
new[] { "artist", "album" }.All(v => capabilities.SupportedAudioSearchParameters.Contains(v)))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue