You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.2 KiB
71 lines
2.2 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using NzbDrone.Core.MediaFiles;
|
|
|
|
namespace NzbDrone.Core.Configuration
|
|
{
|
|
public interface IConfigService
|
|
{
|
|
IEnumerable<Config> All();
|
|
Dictionary<string, object> AllWithDefaults();
|
|
void SaveConfigDictionary(Dictionary<string, object> configValues);
|
|
|
|
bool IsDefined(string key);
|
|
|
|
//Download Client
|
|
string DownloadedEpisodesFolder { get; set; }
|
|
string DownloadClientWorkingFolders { get; set; }
|
|
int DownloadedEpisodesScanInterval { get; set; }
|
|
int DownloadClientHistoryLimit { get; set; }
|
|
|
|
//Completed/Failed Download Handling (Download client)
|
|
bool EnableCompletedDownloadHandling { get; set; }
|
|
bool RemoveCompletedDownloads { get; set; }
|
|
|
|
bool AutoRedownloadFailed { get; set; }
|
|
bool RemoveFailedDownloads { get; set; }
|
|
|
|
//Media Management
|
|
bool AutoUnmonitorPreviouslyDownloadedEpisodes { get; set; }
|
|
string RecycleBin { get; set; }
|
|
bool AutoDownloadPropers { get; set; }
|
|
bool CreateEmptySeriesFolders { get; set; }
|
|
FileDateType FileDate { get; set; }
|
|
bool SkipFreeSpaceCheckWhenImporting { get; set; }
|
|
bool CopyUsingHardlinks { get; set; }
|
|
bool EnableMediaInfo { get; set; }
|
|
|
|
//Permissions (Media Management)
|
|
bool SetPermissionsLinux { get; set; }
|
|
string FileChmod { get; set; }
|
|
string FolderChmod { get; set; }
|
|
string ChownUser { get; set; }
|
|
string ChownGroup { get; set; }
|
|
|
|
//Indexers
|
|
int Retention { get; set; }
|
|
int RssSyncInterval { get; set; }
|
|
int MinimumAge { get; set; }
|
|
|
|
//UI
|
|
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; }
|
|
|
|
//Internal
|
|
bool CleanupMetadataImages { get; set; }
|
|
|
|
|
|
//Forms Auth
|
|
string RijndaelPassphrase { get; }
|
|
string HmacPassphrase { get; }
|
|
string RijndaelSalt { get; }
|
|
string HmacSalt { get; }
|
|
}
|
|
}
|