From 6200c9e496a8504769e8f8ef89c1908a7ec15aac Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 13 Nov 2021 17:37:44 -0600 Subject: [PATCH] New: (Cardigann) ImdbId and Description are optional --- .../Indexers/Definitions/Cardigann/CardigannBase.cs | 2 +- .../Indexers/Definitions/Cardigann/CardigannParser.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Indexers/Definitions/Cardigann/CardigannBase.cs b/src/NzbDrone.Core/Indexers/Definitions/Cardigann/CardigannBase.cs index d2b0b33cb..43a1353da 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Cardigann/CardigannBase.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Cardigann/CardigannBase.cs @@ -28,7 +28,7 @@ namespace NzbDrone.Core.Indexers.Cardigann protected readonly List _categoryMapping = new List(); protected readonly List _defaultCategories = new List(); - protected readonly string[] OptionalFields = new string[] { "imdb", "rageid", "tvdbid", "banner" }; + protected readonly string[] OptionalFields = new string[] { "imdb", "imdbid", "rageid", "tvdbid", "banner", "description" }; protected static readonly string[] _SupportedLogicFunctions = { diff --git a/src/NzbDrone.Core/Indexers/Definitions/Cardigann/CardigannParser.cs b/src/NzbDrone.Core/Indexers/Definitions/Cardigann/CardigannParser.cs index b59eb8f9e..f2ff99161 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Cardigann/CardigannParser.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Cardigann/CardigannParser.cs @@ -490,6 +490,7 @@ namespace NzbDrone.Core.Indexers.Cardigann value = release.MinimumSeedTime.ToString(); break; case "imdb": + case "imdbid": release.ImdbId = (int)ParseUtil.GetLongFromString(value); value = release.ImdbId.ToString(); break;