diff --git a/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcornParser.cs b/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcornParser.cs index bc4d11463..997ba97e0 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcornParser.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcornParser.cs @@ -94,7 +94,12 @@ public IList ParseResponse(IndexerResponse indexerResponse) ImdbId = result.ImdbId.IsNotNullOrWhiteSpace() ? int.Parse(result.ImdbId) : 0, Scene = torrent.Scene, IndexerFlags = flags, - DownloadVolumeFactor = torrent.FreeleechType is "Freeleech" ? 0 : 1, + DownloadVolumeFactor = torrent.FreeleechType?.ToUpperInvariant() switch + { + "FREELEECH" => 0, + "HALF LEECH" => 0.5, + _ => 1 + }, UploadVolumeFactor = 1, MinimumRatio = 1, MinimumSeedTime = 345600, diff --git a/src/NzbDrone.Core/Indexers/IndexerBase.cs b/src/NzbDrone.Core/Indexers/IndexerBase.cs index 5f54dd620..5acbba5dd 100644 --- a/src/NzbDrone.Core/Indexers/IndexerBase.cs +++ b/src/NzbDrone.Core/Indexers/IndexerBase.cs @@ -138,6 +138,10 @@ protected virtual IList CleanupReleases(IEnumerable re { torrentRelease.IndexerFlags.Add(IndexerFlag.FreeLeech); } + else if (torrentRelease.DownloadVolumeFactor == 0.5) + { + torrentRelease.IndexerFlags.Add(IndexerFlag.HalfLeech); + } if (torrentRelease.UploadVolumeFactor == 0.0) {