mirror of
https://github.com/Radarr/Radarr
synced 2026-01-04 22:52:31 +01:00
Fixed: Non-Freeleech torrents showing as freeleech for AHD.
This commit is contained in:
parent
b06108fb45
commit
285ffb19d8
1 changed files with 6 additions and 1 deletions
|
|
@ -71,11 +71,16 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
var title = $"{torrent.Name}.{torrent.Year}.{torrent.Resolution}.{torrent.Media}.{torrent.Encoding}.{torrent.AudioFormat}-{torrent.ReleaseGroup}";
|
||||
IndexerFlags flags = 0;
|
||||
|
||||
if (torrent.Freeleech == "1.00")
|
||||
if (torrent.Freeleech == "0.00" || torrent.Freeleech == "0.25")
|
||||
{
|
||||
flags |= IndexerFlags.G_Freeleech;
|
||||
}
|
||||
|
||||
if (torrent.Freeleech == "0.50")
|
||||
{
|
||||
flags |= IndexerFlags.G_Halfleech;
|
||||
}
|
||||
|
||||
torrentInfos.Add(new TorrentInfo()
|
||||
{
|
||||
Guid = string.Format("AwesomeHD-{0}", id),
|
||||
|
|
|
|||
Loading…
Reference in a new issue