diff --git a/src/Jackett.Common/Indexers/Definitions/PassThePopcorn.cs b/src/Jackett.Common/Indexers/Definitions/PassThePopcorn.cs index 21fa345f4..36aaa1b37 100644 --- a/src/Jackett.Common/Indexers/Definitions/PassThePopcorn.cs +++ b/src/Jackett.Common/Indexers/Definitions/PassThePopcorn.cs @@ -205,7 +205,7 @@ namespace Jackett.Common.Indexers.Definitions var downloadVolumeFactor = torrent.FreeleechType?.ToUpperInvariant() switch { - "FREELEECH" => 0, + "FREELEECH" or "NEUTRAL LEECH" => 0, "HALF LEECH" => 0.5, _ => 1 }; @@ -226,6 +226,12 @@ namespace Jackett.Common.Indexers.Definitions categories.Add(TorznabCatType.TV.ID); } + var uploadVolumeFactor = torrent.FreeleechType?.ToUpperInvariant() switch + { + "NEUTRAL LEECH" => 0, + _ => 1 + }; + var release = new ReleaseInfo { Guid = infoUrl, @@ -241,7 +247,7 @@ namespace Jackett.Common.Indexers.Definitions PublishDate = DateTime.Parse(torrent.UploadTime + " +0000", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal), Imdb = result.ImdbId.IsNotNullOrWhiteSpace() ? int.Parse(result.ImdbId) : 0, DownloadVolumeFactor = downloadVolumeFactor, - UploadVolumeFactor = 1, + UploadVolumeFactor = uploadVolumeFactor, MinimumRatio = 1, MinimumSeedTime = 345600, Genres = result.Tags?.ToList() ?? new List(),