mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 23:42:33 +01:00
5017c16848
Fixed: IE trying to save/open json result in settings Empty allowed release group can be saved
24 lines
903 B
C#
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; }
|
|
}
|
|
} |