mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 13:01:28 +02:00
Rethought about where certain things are stored.
Profiles are now a component of the NetImportDefinition.
This commit is contained in:
@@ -21,15 +21,11 @@ namespace NzbDrone.Core.NetImport
|
||||
public NetImportBaseSettings()
|
||||
{
|
||||
Link = "http://rss.imdb.com/list/";
|
||||
ProfileId = 1;
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "Link", HelpText = "Link to the list of movies.")]
|
||||
public string Link { get; set; }
|
||||
|
||||
[FieldDefinition(1, Label = "Quality Profile", Type = FieldType.Select, SelectOptions = typeof(Profile), HelpText = "Quality Profile of all added movies")]
|
||||
public int ProfileId { get; set; }
|
||||
|
||||
public bool IsValid => !string.IsNullOrWhiteSpace(Link);
|
||||
|
||||
public NzbDroneValidationResult Validate()
|
||||
|
Reference in New Issue
Block a user