mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 07:55:22 +02:00
Fixed: Searching BTN
This commit is contained in:
@@ -92,6 +92,7 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
|
|||||||
torrentInfo.Container = torrent.Container;
|
torrentInfo.Container = torrent.Container;
|
||||||
torrentInfo.Codec = torrent.Codec;
|
torrentInfo.Codec = torrent.Codec;
|
||||||
torrentInfo.Resolution = torrent.Resolution;
|
torrentInfo.Resolution = torrent.Resolution;
|
||||||
|
torrentInfo.Category = new List<IndexerCategory> { NewznabStandardCategory.TV };
|
||||||
|
|
||||||
results.Add(torrentInfo);
|
results.Add(torrentInfo);
|
||||||
}
|
}
|
||||||
|
@@ -60,12 +60,12 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
|
|||||||
|
|
||||||
var btnOffset = searchCriteria.Offset.GetValueOrDefault();
|
var btnOffset = searchCriteria.Offset.GetValueOrDefault();
|
||||||
|
|
||||||
if (searchCriteria.TvdbId != 0)
|
if (searchCriteria.TvdbId > 0)
|
||||||
{
|
{
|
||||||
parameters.Tvdb = string.Format("{0}", searchCriteria.TvdbId);
|
parameters.Tvdb = string.Format("{0}", searchCriteria.TvdbId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (searchCriteria.RId != 0)
|
if (searchCriteria.RId > 0)
|
||||||
{
|
{
|
||||||
parameters.Tvrage = string.Format("{0}", searchCriteria.RId);
|
parameters.Tvrage = string.Format("{0}", searchCriteria.RId);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user