mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04:00
New: (Cardigann) ImdbId and Description are optional
This commit is contained in:
parent
2c0c6aa158
commit
6200c9e496
2 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
|||
protected readonly List<CategoryMapping> _categoryMapping = new List<CategoryMapping>();
|
||||
protected readonly List<string> _defaultCategories = new List<string>();
|
||||
|
||||
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 =
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue