Fixed: (PassThePopcorn) Support for half leech releases

This commit is contained in:
Bogdan 2023-12-04 12:34:22 +02:00
parent d7aaa1cdc2
commit 3f444406da
1 changed files with 7 additions and 2 deletions

View File

@ -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)