From 140427c76e0cc79f7f36db60084aa8012ff4f17f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 9 Jul 2014 18:51:01 -0700 Subject: [PATCH] Backup before update --- src/NzbDrone.Api/Indexers/ReleaseResource.cs | 1 + src/NzbDrone.Core/Update/InstallUpdateService.cs | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Api/Indexers/ReleaseResource.cs b/src/NzbDrone.Api/Indexers/ReleaseResource.cs index 35bf041f0..904ffb162 100644 --- a/src/NzbDrone.Api/Indexers/ReleaseResource.cs +++ b/src/NzbDrone.Api/Indexers/ReleaseResource.cs @@ -39,5 +39,6 @@ public class ReleaseResource : RestResource public Boolean IsDaily { get; set; } public Boolean IsAbsoluteNumbering { get; set; } public Boolean IsPossibleSpecialEpisode { get; set; } + public Boolean Special { get; set; } } } \ No newline at end of file diff --git a/src/NzbDrone.Core/Update/InstallUpdateService.cs b/src/NzbDrone.Core/Update/InstallUpdateService.cs index 0e89f3116..8b473f989 100644 --- a/src/NzbDrone.Core/Update/InstallUpdateService.cs +++ b/src/NzbDrone.Core/Update/InstallUpdateService.cs @@ -6,6 +6,7 @@ using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Http; using NzbDrone.Common.Processes; +using NzbDrone.Core.Backup; using NzbDrone.Core.Configuration; using NzbDrone.Core.Instrumentation.Extensions; using NzbDrone.Core.Messaging.Commands; @@ -31,6 +32,7 @@ public class InstallUpdateService : IInstallUpdates, IExecute