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;
|
2013-02-24 06:48:52 +00:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Configuration
|
|
|
|
{
|
|
|
|
public interface IConfigService
|
|
|
|
{
|
2014-02-16 09:56:12 +00:00
|
|
|
void SaveConfigDictionary(Dictionary<string, object> configValues);
|
|
|
|
|
2015-10-03 17:45:26 +00:00
|
|
|
bool IsDefined(string key);
|
2014-04-19 15:09:22 +00:00
|
|
|
|
2014-02-16 09:56:12 +00:00
|
|
|
//Download Client
|
2015-10-03 17:45:26 +00:00
|
|
|
string DownloadedEpisodesFolder { get; set; }
|
|
|
|
string DownloadClientWorkingFolders { get; set; }
|
|
|
|
int DownloadedEpisodesScanInterval { get; set; }
|
|
|
|
int 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)
|
2015-10-03 17:45:26 +00:00
|
|
|
bool EnableCompletedDownloadHandling { get; set; }
|
|
|
|
bool RemoveCompletedDownloads { get; set; }
|
2014-04-19 15:09:22 +00:00
|
|
|
|
2015-10-03 17:45:26 +00:00
|
|
|
bool AutoRedownloadFailed { get; set; }
|
|
|
|
bool RemoveFailedDownloads { get; set; }
|
2014-04-01 20:07:41 +00:00
|
|
|
|
2014-02-16 09:56:12 +00:00
|
|
|
//Media Management
|
2015-10-03 17:45:26 +00:00
|
|
|
bool AutoUnmonitorPreviouslyDownloadedEpisodes { get; set; }
|
|
|
|
string RecycleBin { get; set; }
|
|
|
|
bool AutoDownloadPropers { get; set; }
|
|
|
|
bool CreateEmptySeriesFolders { get; set; }
|
2014-03-13 05:27:36 +00:00
|
|
|
FileDateType FileDate { get; set; }
|
2015-10-03 17:45:26 +00:00
|
|
|
bool SkipFreeSpaceCheckWhenImporting { get; set; }
|
|
|
|
bool CopyUsingHardlinks { get; set; }
|
|
|
|
bool EnableMediaInfo { get; set; }
|
2014-02-16 09:56:12 +00:00
|
|
|
|
|
|
|
//Permissions (Media Management)
|
2015-10-03 17:45:26 +00:00
|
|
|
bool SetPermissionsLinux { get; set; }
|
|
|
|
string FileChmod { get; set; }
|
|
|
|
string FolderChmod { get; set; }
|
|
|
|
string ChownUser { get; set; }
|
|
|
|
string ChownGroup { get; set; }
|
2014-02-16 09:56:12 +00:00
|
|
|
|
|
|
|
//Indexers
|
2015-10-03 17:45:26 +00:00
|
|
|
int Retention { get; set; }
|
|
|
|
int RssSyncInterval { get; set; }
|
|
|
|
int MinimumAge { get; set; }
|
2014-08-05 05:44:09 +00:00
|
|
|
|
|
|
|
//UI
|
2015-10-03 17:45:26 +00:00
|
|
|
int FirstDayOfWeek { get; set; }
|
|
|
|
string CalendarWeekColumnHeader { get; set; }
|
|
|
|
|
|
|
|
string ShortDateFormat { get; set; }
|
|
|
|
string LongDateFormat { get; set; }
|
|
|
|
string TimeFormat { get; set; }
|
|
|
|
bool ShowRelativeDates { get; set; }
|
|
|
|
bool EnableColorImpairedMode { get; set; }
|
2015-01-02 18:57:51 +00:00
|
|
|
|
|
|
|
//Internal
|
2015-10-03 17:45:26 +00:00
|
|
|
bool CleanupMetadataImages { get; set; }
|
2015-01-26 02:03:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
//Forms Auth
|
|
|
|
string RijndaelPassphrase { get; }
|
|
|
|
string HmacPassphrase { get; }
|
|
|
|
string RijndaelSalt { get; }
|
|
|
|
string HmacSalt { get; }
|
2013-02-24 06:48:52 +00:00
|
|
|
}
|
2013-07-04 01:00:46 +00:00
|
|
|
}
|