mirror of https://github.com/lidarr/Lidarr
Fix for Torznab/Jackett
This commit is contained in:
parent
864549b1f3
commit
2938bfee2c
|
@ -55,6 +55,10 @@ namespace NzbDrone.Core.Indexers.Newznab
|
|||
{
|
||||
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 @@ namespace NzbDrone.Core.Indexers.Torznab
|
|||
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 New Issue