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