mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
parent
b82d636a8c
commit
2b5dc59a36
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
@ -70,7 +70,15 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||||||
foreach (var torrent in torrents)
|
foreach (var torrent in torrents)
|
||||||
{
|
{
|
||||||
var id = torrent.Id;
|
var id = torrent.Id;
|
||||||
|
|
||||||
var title = $"{torrent.Name}.{torrent.Year}.{torrent.Resolution}.{torrent.Media}.{torrent.Encoding}.{torrent.AudioFormat}-{torrent.ReleaseGroup}";
|
var title = $"{torrent.Name}.{torrent.Year}.{torrent.Resolution}.{torrent.Media}.{torrent.Encoding}.{torrent.AudioFormat}-{torrent.ReleaseGroup}";
|
||||||
|
|
||||||
|
if (torrent.Encoding.ToLower() == "x265")
|
||||||
|
{
|
||||||
|
//Per AHD staff they only allow HDR x265 encodes (https://github.com/Radarr/Radarr/issues/4386)
|
||||||
|
title = $"{torrent.Name}.{torrent.Year}.{torrent.Resolution}.{torrent.Media}.HDR.{torrent.Encoding}.{torrent.AudioFormat}-{torrent.ReleaseGroup}";
|
||||||
|
}
|
||||||
|
|
||||||
IndexerFlags flags = 0;
|
IndexerFlags flags = 0;
|
||||||
|
|
||||||
if (torrent.Freeleech == "0.00")
|
if (torrent.Freeleech == "0.00")
|
||||||
|
Loading…
Reference in New Issue
Block a user