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-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 SabRecentTvPriority { get; set; }
|
2013-07-08 05:15:15 +02:00
|
|
|
SabPriorityType SabOlderTvPriority { 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; }
|
2013-07-05 05:26:07 +02:00
|
|
|
string SeasonFolderFormat { get; set; }
|
2013-07-09 03:22:02 +02:00
|
|
|
bool AutoUnmonitorPreviouslyDownloadedEpisodes { get; set; }
|
2013-02-24 07:48:52 +01:00
|
|
|
int Retention { get; set; }
|
|
|
|
DownloadClientType DownloadClient { get; set; }
|
2013-05-30 17:29:43 +02:00
|
|
|
string BlackholeFolder { get; set; }
|
2013-02-24 07:48:52 +01:00
|
|
|
string ServiceRootUrl { get; }
|
2013-05-30 17:29:43 +02:00
|
|
|
string PneumaticFolder { get; set; }
|
2013-02-24 07:48:52 +01:00
|
|
|
string RecycleBin { get; set; }
|
|
|
|
String NzbgetUsername { get; set; }
|
|
|
|
String NzbgetPassword { get; set; }
|
|
|
|
String NzbgetHost { get; set; }
|
|
|
|
Int32 NzbgetPort { get; set; }
|
|
|
|
String NzbgetTvCategory { get; set; }
|
|
|
|
PriorityType NzbgetRecentTvPriority { get; set; }
|
2013-07-08 05:15:15 +02:00
|
|
|
PriorityType NzbgetOlderTvPriority { get; set; }
|
2013-07-05 06:52:20 +02:00
|
|
|
string ReleaseRestrictions { get; set; }
|
2013-03-05 17:13:23 +01:00
|
|
|
void SaveValues(Dictionary<string, object> configValues);
|
2013-02-24 07:48:52 +01:00
|
|
|
}
|
2013-07-04 03:00:46 +02:00
|
|
|
}
|