Misc indexer fixes

This commit is contained in:
Qstick
2021-02-21 16:59:21 -05:00
parent 3ef2e0b384
commit 08d5505b11
4 changed files with 26 additions and 4 deletions
@@ -85,6 +85,8 @@ namespace NzbDrone.Core.Indexers.PassThePopcorn
flags |= IndexerFlags.G_Scene;
}
var free = !(torrent.FreeleechType is null);
// Only add approved torrents
try
{
@@ -103,6 +105,10 @@ namespace NzbDrone.Core.Indexers.PassThePopcorn
Approved = torrent.Checked,
ImdbId = result.ImdbId.IsNotNullOrWhiteSpace() ? int.Parse(result.ImdbId) : 0,
IndexerFlags = flags,
MinimumRatio = 1,
MinimumSeedTime = 345600,
DownloadVolumeFactor = free ? 0 : 1,
UploadVolumeFactor = 1,
Category = new List<IndexerCategory> { NewznabStandardCategory.Movies }
});
}