mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Settings views all cleaned up.
This commit is contained in:
parent
96f3423990
commit
dc44a81099
13 changed files with 439 additions and 548 deletions
|
@ -6,52 +6,66 @@ namespace NzbDrone.Web.Models
|
|||
public class NotificationSettingsModel
|
||||
{
|
||||
[DisplayName("Enabled")]
|
||||
[Description("Enable notifications for XBMC?")]
|
||||
public bool XbmcEnabled { get; set; }
|
||||
|
||||
[DisplayName("Notify on Grab")]
|
||||
[Description("Send notification when episode is sent to SABnzbd?")]
|
||||
public bool XbmcNotifyOnGrab { get; set; }
|
||||
|
||||
[DisplayName("Notify on Download")]
|
||||
[Description("Send notification when episode is downloaded?")]
|
||||
public bool XbmcNotifyOnDownload { get; set; }
|
||||
|
||||
[DisplayName("Notify on Rename")]
|
||||
[Description("Send notification when episode is renamed?")]
|
||||
public bool XbmcNotifyOnRename { get; set; }
|
||||
|
||||
[DisplayName("Image with Notification")]
|
||||
[Description("Display NzbDrone image on notifications?")]
|
||||
public bool XbmcNotificationImage { get; set; }
|
||||
|
||||
[Required]
|
||||
[Range(3, 10, ErrorMessage = "Must be between 3 and 10 seconds")]
|
||||
[DisplayName("Display Time")]
|
||||
[Description("How long the notification should be displayed")]
|
||||
public int XbmcDisplayTime { get; set; }
|
||||
|
||||
[DisplayName("Update on Download")]
|
||||
[Description("Update XBMC library after episode download?")]
|
||||
public bool XbmcUpdateOnDownload { get; set; }
|
||||
|
||||
[DisplayName("Update on Rename")]
|
||||
[Description("Update XBMC library after episode is renamed?")]
|
||||
public bool XbmcUpdateOnRename { get; set; }
|
||||
|
||||
[DisplayName("Update on ")]
|
||||
[DisplayName("Full Update")]
|
||||
[Description("Perform a full update is series update fails?")]
|
||||
public bool XbmcFullUpdate { get; set; }
|
||||
|
||||
[DisplayName("Clean on Download")]
|
||||
[Description("Clean XBMC library after episode download?")]
|
||||
public bool XbmcCleanOnDownload { get; set; }
|
||||
|
||||
[DisplayName("Clean on Rename")]
|
||||
[Description("Clean XBMC library after episode is renamed?")]
|
||||
public bool XbmcCleanOnRename { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("Hosts")]
|
||||
[Description("XBMC hosts with port, comma separ")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public string XbmcHosts { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("Username")]
|
||||
[Description("XBMC webserver username")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public string XbmcUsername { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("Password")]
|
||||
[Description("XBMC webserver password")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public string XbmcPassword { get; set; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue