2013-02-24 09:48:52 +03:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2013-04-08 01:40:13 +03:00
|
|
|
using NzbDrone.Core.Download;
|
2013-03-05 08:33:34 +03:00
|
|
|
using NzbDrone.Core.Download.Clients.Nzbget;
|
|
|
|
using NzbDrone.Core.Download.Clients.Sabnzbd;
|
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();
|
2013-05-20 02:17:32 +03:00
|
|
|
string UpdateUrl { get; set; }
|
2013-02-24 09:48:52 +03: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 SabRecentTvPriority { get; set; }
|
2013-07-08 06:15:15 +03:00
|
|
|
SabPriorityType SabOlderTvPriority { get; set; }
|
2013-05-15 05:57:57 +03:00
|
|
|
String DownloadedEpisodesFolder { get; set; }
|
2013-02-24 09:48:52 +03:00
|
|
|
bool UseSeasonFolder { get; set; }
|
2013-07-05 06:26:07 +03:00
|
|
|
string SeasonFolderFormat { get; set; }
|
2013-02-24 09:48:52 +03:00
|
|
|
bool AutoIgnorePreviouslyDownloadedEpisodes { get; set; }
|
|
|
|
int Retention { get; set; }
|
|
|
|
Guid UGuid { get; }
|
|
|
|
DownloadClientType DownloadClient { get; set; }
|
2013-05-30 18:29:43 +03:00
|
|
|
string BlackholeFolder { get; set; }
|
2013-02-24 09:48:52 +03:00
|
|
|
string ServiceRootUrl { get; }
|
|
|
|
Boolean MetadataUseBanners { get; set; }
|
2013-05-30 18:29:43 +03:00
|
|
|
string PneumaticFolder { get; set; }
|
2013-02-24 09:48:52 +03:00
|
|
|
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 NzbgetRecentTvPriority { get; set; }
|
2013-07-08 06:15:15 +03:00
|
|
|
PriorityType NzbgetOlderTvPriority { get; set; }
|
2013-07-05 07:52:20 +03:00
|
|
|
string ReleaseRestrictions { get; set; }
|
2013-02-24 09:48:52 +03:00
|
|
|
string GetValue(string key, object defaultValue, bool persist = false);
|
|
|
|
void SetValue(string key, string value);
|
2013-03-05 19:13:23 +03:00
|
|
|
void SaveValues(Dictionary<string, object> configValues);
|
2013-02-24 09:48:52 +03:00
|
|
|
}
|
2013-07-04 04:00:46 +03:00
|
|
|
}
|