1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-24 22:36:19 -04:00

New: Command line arguments for Custom Scripts are no longer supported

This commit is contained in:
Mark McDowall
2019-06-29 15:33:49 -07:00
committed by GitHub
parent 1af3e0bd93
commit 8137a776b6
16 changed files with 141 additions and 115 deletions
@@ -100,8 +100,8 @@ namespace Sonarr.Http.ClientSchema
HelpLink = fieldAttribute.HelpLink,
Order = fieldAttribute.Order,
Advanced = fieldAttribute.Advanced,
Type = fieldAttribute.Type.ToString().ToLowerInvariant(),
Section = fieldAttribute.Section,
Type = fieldAttribute.Type.ToString().FirstCharToLower(),
Section = fieldAttribute.Section
};
if (fieldAttribute.Type == FieldType.Select)
@@ -109,6 +109,11 @@ namespace Sonarr.Http.ClientSchema
field.SelectOptions = GetSelectOptions(fieldAttribute.SelectOptions);
}
if (fieldAttribute.Hidden != HiddenType.Visible)
{
field.Hidden = fieldAttribute.Hidden.ToString().FirstCharToLower();
}
var valueConverter = GetValueConverter(propertyInfo.PropertyType);
result.Add(new FieldMapping