2013-02-24 07:48:52 +01:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2013-04-08 00:40:13 +02:00
|
|
|
using NzbDrone.Core.Download;
|
2013-03-05 06:33:34 +01:00
|
|
|
using NzbDrone.Core.Download.Clients.Nzbget;
|
|
|
|
using NzbDrone.Core.Download.Clients.Sabnzbd;
|
2013-02-24 07:48:52 +01:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Configuration
|
|
|
|
{
|
|
|
|
public interface IConfigService
|
|
|
|
{
|
|
|
|
IEnumerable<Config> All();
|
2013-03-04 02:07:22 +01:00
|
|
|
Dictionary<String, Object> AllWithDefaults();
|
2013-05-20 01:17:32 +02:00
|
|
|
string UpdateUrl { get; set; }
|
2013-02-24 07:48:52 +01:00
|
|
|
String SabHost { get; set; }
|
|
|
|
int SabPort { get; set; }
|
|
|
|
String SabApiKey { get; set; }
|
|
|
|
String SabUsername { get; set; }
|
|
|
|
String SabPassword { get; set; }
|
|
|
|
String SabTvCategory { get; set; }
|
|
|
|
SabPriorityType SabBacklogTvPriority { get; set; }
|
|
|
|
SabPriorityType SabRecentTvPriority { get; set; }
|
2013-05-15 04:57:57 +02:00
|
|
|
String DownloadedEpisodesFolder { get; set; }
|
2013-02-24 07:48:52 +01:00
|
|
|
bool UseSeasonFolder { get; set; }
|
|
|
|
string SortingSeasonFolderFormat { get; set; }
|
|
|
|
int DefaultQualityProfile { get; set; }
|
|
|
|
bool EnableBacklogSearching { get; set; }
|
|
|
|
bool AutoIgnorePreviouslyDownloadedEpisodes { get; set; }
|
|
|
|
int Retention { get; set; }
|
|
|
|
Guid UGuid { get; }
|
|
|
|
DownloadClientType DownloadClient { get; set; }
|
|
|
|
string BlackholeDirectory { get; set; }
|
|
|
|
string ServiceRootUrl { get; }
|
|
|
|
Boolean MetadataUseBanners { get; set; }
|
|
|
|
string PneumaticDirectory { get; set; }
|
|
|
|
string RecycleBin { get; set; }
|
|
|
|
int RssSyncInterval { get; set; }
|
|
|
|
Boolean IgnoreArticlesWhenSortingSeries { get; set; }
|
|
|
|
String NzbgetUsername { get; set; }
|
|
|
|
String NzbgetPassword { get; set; }
|
|
|
|
String NzbgetHost { get; set; }
|
|
|
|
Int32 NzbgetPort { get; set; }
|
|
|
|
String NzbgetTvCategory { get; set; }
|
|
|
|
Int32 NzbgetPriority { get; set; }
|
|
|
|
PriorityType NzbgetBacklogTvPriority { get; set; }
|
|
|
|
PriorityType NzbgetRecentTvPriority { get; set; }
|
2013-03-18 16:25:36 +01:00
|
|
|
string NzbRestrictions { get; set; }
|
2013-04-17 05:52:43 +02:00
|
|
|
string AllowedReleaseGroups { get; set; }
|
2013-02-24 07:48:52 +01:00
|
|
|
string GetValue(string key, object defaultValue, bool persist = false);
|
|
|
|
void SetValue(string key, string value);
|
2013-03-05 17:13:23 +01:00
|
|
|
void SaveValues(Dictionary<string, object> configValues);
|
2013-02-24 07:48:52 +01:00
|
|
|
}
|
|
|
|
}
|