|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
using FluentValidation;
|
|
|
|
|
using NzbDrone.Core.Annotations;
|
|
|
|
|
using NzbDrone.Core.Profiles;
|
|
|
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
|
using NzbDrone.Core.Validation;
|
|
|
|
|
|
|
|
|
@ -20,10 +21,14 @@ namespace NzbDrone.Core.NetImport.IMDbWatchList
|
|
|
|
|
public IMDbWatchListSettings()
|
|
|
|
|
{
|
|
|
|
|
Link = "http://rss.imdb.com/list/";
|
|
|
|
|
ProfileId = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[FieldDefinition(0, Label = "Watch List RSS link", HelpLink = "http://rss.imdb.com/list/")]
|
|
|
|
|
public string Link { get; set; }
|
|
|
|
|
|
|
|
|
|
[FieldDefinition(1, Label = "Quality", Type = FieldType.Select, SelectOptions = typeof(Profile), HelpText = "Quality of all imported movies")]
|
|
|
|
|
public int ProfileId { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsValid => !string.IsNullOrWhiteSpace(Link);
|
|
|
|
|
|
|
|
|
|