mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-24 22:55:21 -04:00
Misc indexer fixes
This commit is contained in:
@@ -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 }
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user