Ensure drone factory runs on its specificed interval (#1067)

* Ensure drone factory runs on its specificed interval
* Fix the tests for DownloadedMovieImportServiceFixture
This commit is contained in:
Tim Turner
2017-03-08 16:07:51 -05:00
committed by GitHub
parent fe0a54685f
commit 5c22d0b61d
28 changed files with 625 additions and 69 deletions

View File

@@ -13,7 +13,7 @@ namespace NzbDrone.Core.Configuration
{
public enum ConfigKey
{
DownloadedEpisodesFolder
DownloadedMoviesFolder
}
public class ConfigService : IConfigService
@@ -73,11 +73,11 @@ namespace NzbDrone.Core.Configuration
return _repository.Get(key.ToLower()) != null;
}
public string DownloadedEpisodesFolder
public string DownloadedMoviesFolder
{
get { return GetValue(ConfigKey.DownloadedEpisodesFolder.ToString()); }
get { return GetValue(ConfigKey.DownloadedMoviesFolder.ToString()); }
set { SetValue(ConfigKey.DownloadedEpisodesFolder.ToString(), value); }
set { SetValue(ConfigKey.DownloadedMoviesFolder.ToString(), value); }
}
public bool AutoUnmonitorPreviouslyDownloadedEpisodes
@@ -231,11 +231,11 @@ namespace NzbDrone.Core.Configuration
set { SetValue("DownloadClientWorkingFolders", value); }
}
public int DownloadedEpisodesScanInterval
public int DownloadedMoviesScanInterval
{
get { return GetValueInt("DownloadedEpisodesScanInterval", 0); }
get { return GetValueInt("DownloadedMoviesScanInterval", 0); }
set { SetValue("DownloadedEpisodesScanInterval", value); }
set { SetValue("DownloadedMoviesScanInterval", value); }
}
public int DownloadClientHistoryLimit