|
|
|
@ -2,6 +2,7 @@ using System.Linq;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
using NzbDrone.Core.Configuration;
|
|
|
|
|
using Lidarr.Http;
|
|
|
|
|
using NzbDrone.Core.Validation;
|
|
|
|
|
|
|
|
|
|
namespace Lidarr.Api.V3.Config
|
|
|
|
|
{
|
|
|
|
@ -10,7 +11,7 @@ namespace Lidarr.Api.V3.Config
|
|
|
|
|
public MetadataProviderConfigModule(IConfigService configService)
|
|
|
|
|
: base(configService)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
SharedValidator.RuleFor(c => c.MetadataSource).IsValidUrl();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override MetadataProviderConfigResource ToResource(IConfigService model)
|
|
|
|
|