mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
Fixed: (PassThePopcorn) Support for half leech releases
This commit is contained in:
parent
d7aaa1cdc2
commit
3f444406da
@ -59,9 +59,14 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||||||
flags |= IndexerFlags.PTP_Approved;
|
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)
|
if (torrent.Scene)
|
||||||
|
Loading…
Reference in New Issue
Block a user