mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-20 03:40:49 +02:00
Fixed: Searching BTN
This commit is contained in:
parent
34ff1edd00
commit
76bded0c50
2 changed files with 3 additions and 2 deletions
|
|
@ -92,6 +92,7 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
torrentInfo.Container = torrent.Container;
|
||||
torrentInfo.Codec = torrent.Codec;
|
||||
torrentInfo.Resolution = torrent.Resolution;
|
||||
torrentInfo.Category = new List<IndexerCategory> { NewznabStandardCategory.TV };
|
||||
|
||||
results.Add(torrentInfo);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,12 +60,12 @@ public IndexerPageableRequestChain GetSearchRequests(TvSearchCriteria searchCrit
|
|||
|
||||
var btnOffset = searchCriteria.Offset.GetValueOrDefault();
|
||||
|
||||
if (searchCriteria.TvdbId != 0)
|
||||
if (searchCriteria.TvdbId > 0)
|
||||
{
|
||||
parameters.Tvdb = string.Format("{0}", searchCriteria.TvdbId);
|
||||
}
|
||||
|
||||
if (searchCriteria.RId != 0)
|
||||
if (searchCriteria.RId > 0)
|
||||
{
|
||||
parameters.Tvrage = string.Format("{0}", searchCriteria.RId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue