2013-02-24 06:48:52 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2014-03-13 05:27:36 +00:00
|
|
|
using NzbDrone.Core.MediaFiles;
|
2014-04-28 06:34:29 +00:00
|
|
|
using NzbDrone.Core.Update;
|
2013-02-24 06:48:52 +00:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Configuration
|
|
|
|
{
|
|
|
|
public interface IConfigService
|
|
|
|
{
|
|
|
|
IEnumerable<Config> All();
|
2013-03-04 01:07:22 +00:00
|
|
|
Dictionary<String, Object> AllWithDefaults();
|
2014-02-16 09:56:12 +00:00
|
|
|
void SaveConfigDictionary(Dictionary<string, object> configValues);
|
|
|
|
|
2014-04-19 15:09:22 +00:00
|
|
|
Boolean IsDefined(String key);
|
|
|
|
|
2014-02-16 09:56:12 +00:00
|
|
|
//Download Client
|
2013-05-15 02:57:57 +00:00
|
|
|
String DownloadedEpisodesFolder { get; set; }
|
2013-08-22 15:34:51 +00:00
|
|
|
String DownloadClientWorkingFolders { get; set; }
|
2014-03-14 09:41:56 +00:00
|
|
|
Int32 DownloadedEpisodesScanInterval { get; set; }
|
2014-05-27 21:04:13 +00:00
|
|
|
Int32 DownloadClientHistoryLimit { get; set; }
|
2014-02-16 09:56:12 +00:00
|
|
|
|
2014-04-19 15:09:22 +00:00
|
|
|
//Completed/Failed Download Handling (Download client)
|
|
|
|
Boolean EnableCompletedDownloadHandling { get; set; }
|
|
|
|
Boolean RemoveCompletedDownloads { get; set; }
|
|
|
|
|
|
|
|
Boolean EnableFailedDownloadHandling { get; set; }
|
2013-10-24 22:12:39 +00:00
|
|
|
Boolean AutoRedownloadFailed { get; set; }
|
2013-10-25 05:55:32 +00:00
|
|
|
Boolean RemoveFailedDownloads { get; set; }
|
2014-04-01 20:07:41 +00:00
|
|
|
Int32 BlacklistGracePeriod { get; set; }
|
|
|
|
Int32 BlacklistRetryInterval { get; set; }
|
|
|
|
Int32 BlacklistRetryLimit { get; set; }
|
|
|
|
|
2014-02-16 09:56:12 +00:00
|
|
|
//Media Management
|
|
|
|
Boolean AutoUnmonitorPreviouslyDownloadedEpisodes { get; set; }
|
|
|
|
String RecycleBin { get; set; }
|
|
|
|
Boolean AutoDownloadPropers { get; set; }
|
2013-11-19 06:25:02 +00:00
|
|
|
Boolean CreateEmptySeriesFolders { get; set; }
|
2014-03-13 05:27:36 +00:00
|
|
|
FileDateType FileDate { get; set; }
|
2014-04-04 16:25:18 +00:00
|
|
|
Boolean SkipFreeSpaceCheckWhenImporting { get; set; }
|
2014-02-16 09:56:12 +00:00
|
|
|
|
|
|
|
//Permissions (Media Management)
|
2014-01-26 08:57:14 +00:00
|
|
|
Boolean SetPermissionsLinux { get; set; }
|
2014-01-14 19:21:20 +00:00
|
|
|
String FileChmod { get; set; }
|
|
|
|
String FolderChmod { get; set; }
|
2014-01-31 05:24:32 +00:00
|
|
|
String ChownUser { get; set; }
|
|
|
|
String ChownGroup { get; set; }
|
2014-02-16 09:56:12 +00:00
|
|
|
|
|
|
|
//Indexers
|
|
|
|
Int32 Retention { get; set; }
|
|
|
|
Int32 RssSyncInterval { get; set; }
|
|
|
|
String ReleaseRestrictions { get; set; }
|
2013-02-24 06:48:52 +00:00
|
|
|
}
|
2013-07-04 01:00:46 +00:00
|
|
|
}
|