Radarr/src/NzbDrone.Core/Configuration/IConfigService.cs

71 lines
2.3 KiB
C#
Raw Normal View History

2013-02-24 06:48:52 +00:00
using System;
using System.Collections.Generic;
using NzbDrone.Core.MediaFiles;
2013-02-24 06:48:52 +00:00
namespace NzbDrone.Core.Configuration
{
public interface IConfigService
{
IEnumerable<Config> All();
Dictionary<String, Object> AllWithDefaults();
void SaveConfigDictionary(Dictionary<string, object> configValues);
Boolean IsDefined(String key);
//Download Client
2013-05-15 02:57:57 +00:00
String DownloadedEpisodesFolder { get; set; }
String DownloadClientWorkingFolders { get; set; }
Int32 DownloadedEpisodesScanInterval { get; set; }
Int32 DownloadClientHistoryLimit { get; set; }
//Completed/Failed Download Handling (Download client)
Boolean EnableCompletedDownloadHandling { get; set; }
Boolean RemoveCompletedDownloads { get; set; }
Boolean AutoRedownloadFailed { get; set; }
Boolean RemoveFailedDownloads { get; set; }
//Media Management
Boolean AutoUnmonitorPreviouslyDownloadedEpisodes { get; set; }
String RecycleBin { get; set; }
Boolean AutoDownloadPropers { get; set; }
Boolean CreateEmptySeriesFolders { get; set; }
FileDateType FileDate { get; set; }
Boolean SkipFreeSpaceCheckWhenImporting { get; set; }
Boolean CopyUsingHardlinks { get; set; }
Boolean EnableMediaInfo { get; set; }
//Permissions (Media Management)
2014-01-26 08:57:14 +00:00
Boolean SetPermissionsLinux { get; set; }
String FileChmod { get; set; }
String FolderChmod { get; set; }
String ChownUser { get; set; }
String ChownGroup { get; set; }
//Indexers
Int32 Retention { get; set; }
Int32 RssSyncInterval { get; set; }
Int32 MinimumAge { get; set; }
//UI
Int32 FirstDayOfWeek { get; set; }
String CalendarWeekColumnHeader { get; set; }
String ShortDateFormat { get; set; }
String LongDateFormat { get; set; }
String TimeFormat { get; set; }
Boolean ShowRelativeDates { get; set; }
Boolean EnableColorImpairedMode { get; set; }
2015-01-02 18:57:51 +00:00
//Internal
Boolean 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
}