Fixed: (PassThePopcorn) Support for half leech releases

pull/9463/head
Bogdan 6 months ago
parent d7aaa1cdc2
commit 3f444406da

@ -59,9 +59,14 @@ namespace NzbDrone.Core.Indexers.PassThePopcorn
flags |= IndexerFlags.PTP_Approved;
}
if (torrent.FreeleechType == "Freeleech")
switch (torrent.FreeleechType?.ToUpperInvariant())
{
flags |= IndexerFlags.G_Freeleech;
case "FREELEECH":
flags |= IndexerFlags.G_Freeleech;
break;
case "HALF LEECH":
flags |= IndexerFlags.G_Halfleech;
break;
}
if (torrent.Scene)

Loading…
Cancel
Save