mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-11 23:40:43 +02: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 @@ public class CardigannBase
|
|||
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 @@ private string ParseFields(string value, string fieldName, TorrentInfo release,
|
|||
value = release.MinimumSeedTime.ToString();
|
||||
break;
|
||||
case "imdb":
|
||||
case "imdbid":
|
||||
release.ImdbId = (int)ParseUtil.GetLongFromString(value);
|
||||
value = release.ImdbId.ToString();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue