mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Fix Newznab if statement, Clean Test Fixture
Fix Newznab if statement, Clean Test Fixture
This commit is contained in:
@@ -108,6 +108,9 @@ namespace NzbDrone.Core.Indexers.Newznab
|
||||
|
||||
if (capabilities.SupportedAudioSearchParameters != null &&
|
||||
new[] { "artist", "album" }.All(v => capabilities.SupportedAudioSearchParameters.Contains(v)))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
if (capabilities.SupportedTvSearchParameters != null &&
|
||||
new[] { "q", "tvdbid", "rid" }.Any(v => capabilities.SupportedTvSearchParameters.Contains(v)) &&
|
||||
|
||||
Reference in New Issue
Block a user