Fixed: (Indexers) Allow RSS searches in HttpIndexerBase

pull/1727/head
Bogdan 2 years ago
parent 419cce53f7
commit 31c2917bad

@ -15,6 +15,8 @@ namespace NzbDrone.Core.Indexers.Definitions.TorrentRss
public override string Description => "Generic RSS Feed containing torrents";
public override DownloadProtocol Protocol => DownloadProtocol.Torrent;
public override IndexerPrivacy Privacy => IndexerPrivacy.Public;
public override bool SupportsRss => true;
public override bool SupportsSearch => false;
public override int PageSize => 0;
public override IndexerCapabilities Capabilities => SetCapabilities();

@ -56,7 +56,7 @@ namespace NzbDrone.Core.Indexers
public override Task<IndexerPageableQueryResult> Fetch(MovieSearchCriteria searchCriteria)
{
if (!SupportsSearch)
if (!SupportsSearch && !SupportsRss)
{
return Task.FromResult(new IndexerPageableQueryResult());
}
@ -71,7 +71,7 @@ namespace NzbDrone.Core.Indexers
public override Task<IndexerPageableQueryResult> Fetch(MusicSearchCriteria searchCriteria)
{
if (!SupportsSearch)
if (!SupportsSearch && !SupportsRss)
{
return Task.FromResult(new IndexerPageableQueryResult());
}
@ -86,7 +86,7 @@ namespace NzbDrone.Core.Indexers
public override Task<IndexerPageableQueryResult> Fetch(TvSearchCriteria searchCriteria)
{
if (!SupportsSearch)
if (!SupportsSearch && !SupportsRss)
{
return Task.FromResult(new IndexerPageableQueryResult());
}
@ -101,7 +101,7 @@ namespace NzbDrone.Core.Indexers
public override Task<IndexerPageableQueryResult> Fetch(BookSearchCriteria searchCriteria)
{
if (!SupportsSearch)
if (!SupportsSearch && !SupportsRss)
{
return Task.FromResult(new IndexerPageableQueryResult());
}
@ -116,7 +116,7 @@ namespace NzbDrone.Core.Indexers
public override Task<IndexerPageableQueryResult> Fetch(BasicSearchCriteria searchCriteria)
{
if (!SupportsSearch)
if (!SupportsSearch && !SupportsRss)
{
return Task.FromResult(new IndexerPageableQueryResult());
}

Loading…
Cancel
Save