Fixed: Searching BTN

pull/26/head
ta264 4 years ago
parent 34ff1edd00
commit 76bded0c50

@ -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);
}

Loading…
Cancel
Save