1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00
Sonarr/NzbDrone.Web/Models/MiscSettingsModel.cs
Mark McDowall 5017c16848 Damnit IE, you suck
Fixed: IE trying to save/open json result in settings
Empty allowed release group can be saved
2012-08-29 21:15:30 -07:00

24 lines
903 B
C#

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using NzbDrone.Core.Model;
namespace NzbDrone.Web.Models
{
public class MiscSettingsModel
{
[DisplayName("Enable Backlog Searching")]
[Description("Should NzbDrone try to download missing episodes automatically?")]
public bool EnableBacklogSearching { get; set; }
[DisplayName("Automatically Ignore Deleted Episodes")]
[Description("Deleted episodes are automatically ignored.")]
public bool AutoIgnorePreviouslyDownloadedEpisodes { get; set; }
[DisplayName("Specified Release Groups")]
[Description("Comma separated list of release groups to download episodes (leave empty for all groups)")]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string AllowedReleaseGroups { get; set; }
}
}