diff --git a/src/NzbDrone.Core/DecisionEngine/DownloadDecisionComparer.cs b/src/NzbDrone.Core/DecisionEngine/DownloadDecisionComparer.cs index e658330aa..889b9ae19 100644 --- a/src/NzbDrone.Core/DecisionEngine/DownloadDecisionComparer.cs +++ b/src/NzbDrone.Core/DecisionEngine/DownloadDecisionComparer.cs @@ -205,9 +205,11 @@ private int ScoreFlags(IndexerFlags flags) case IndexerFlags.PTP_Approved: case IndexerFlags.PTP_Golden: case IndexerFlags.HDB_Internal: + case IndexerFlags.AHD_Internal: score += 2; break; case IndexerFlags.G_Halfleech: + case IndexerFlags.AHD_UserRelease: score += 1; break; } diff --git a/src/NzbDrone.Core/Indexers/AwesomeHD/AwesomeHDRssParser.cs b/src/NzbDrone.Core/Indexers/AwesomeHD/AwesomeHDRssParser.cs index 535a5e6e9..db119cb1e 100644 --- a/src/NzbDrone.Core/Indexers/AwesomeHD/AwesomeHDRssParser.cs +++ b/src/NzbDrone.Core/Indexers/AwesomeHD/AwesomeHDRssParser.cs @@ -106,6 +106,11 @@ public IList ParseResponse(IndexerResponse indexerResponse) flags |= IndexerFlags.AHD_Internal; } + if (torrent.UserRelease) + { + flags |= IndexerFlags.AHD_UserRelease; + } + var imdbId = 0; if (torrent.ImdbId.Length > 2) { diff --git a/src/NzbDrone.Core/Parser/Model/ReleaseInfo.cs b/src/NzbDrone.Core/Parser/Model/ReleaseInfo.cs index 3c18a2814..b55e7a614 100644 --- a/src/NzbDrone.Core/Parser/Model/ReleaseInfo.cs +++ b/src/NzbDrone.Core/Parser/Model/ReleaseInfo.cs @@ -97,6 +97,7 @@ public enum IndexerFlags AHD_Internal = 64, // AHD, internal G_Scene = 128, //General, the torrent comes from the "scene" G_Freeleech75 = 256, //Currently only used for AHD, signifies a torrent counts towards 75 percent of your download quota. - G_Freeleech25 = 512 //Currently only used for AHD, signifies a torrent counts towards 25 percent of your download quota. + G_Freeleech25 = 512, //Currently only used for AHD, signifies a torrent counts towards 25 percent of your download quota. + AHD_UserRelease = 1024 // AHD, internal } }