mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 23:45:46 +02:00
Fixed: Searching BTN
This commit is contained in:
@@ -92,6 +92,7 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
|
||||
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 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
|
||||
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user