1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 01:57:21 +00:00
Lidarr/NzbDrone.Core/Configuration/IConfigService.cs

50 lines
2 KiB
C#
Raw Normal View History

2013-02-24 06:48:52 +00:00
using System;
using System.Collections.Generic;
2013-04-07 22:40:13 +00:00
using NzbDrone.Core.Download;
2013-03-05 05:33:34 +00:00
using NzbDrone.Core.Download.Clients.Nzbget;
using NzbDrone.Core.Download.Clients.Sabnzbd;
2013-02-24 06:48:52 +00:00
namespace NzbDrone.Core.Configuration
{
public interface IConfigService
{
IEnumerable<Config> All();
Dictionary<String, Object> AllWithDefaults();
2013-05-19 23:17:32 +00:00
string UpdateUrl { get; set; }
2013-02-24 06:48:52 +00: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 02:57:57 +00:00
String DownloadedEpisodesFolder { get; set; }
2013-02-24 06:48:52 +00:00
bool UseSeasonFolder { get; set; }
2013-07-05 03:26:07 +00:00
string SeasonFolderFormat { get; set; }
2013-02-24 06:48:52 +00:00
bool EnableBacklogSearching { get; set; }
bool AutoIgnorePreviouslyDownloadedEpisodes { get; set; }
int Retention { get; set; }
Guid UGuid { get; }
DownloadClientType DownloadClient { get; set; }
2013-05-30 15:29:43 +00:00
string BlackholeFolder { get; set; }
2013-02-24 06:48:52 +00:00
string ServiceRootUrl { get; }
Boolean MetadataUseBanners { get; set; }
2013-05-30 15:29:43 +00:00
string PneumaticFolder { get; set; }
2013-02-24 06:48:52 +00: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 NzbgetBacklogTvPriority { get; set; }
PriorityType NzbgetRecentTvPriority { get; set; }
2013-03-18 15:25:36 +00:00
string NzbRestrictions { get; set; }
2013-02-24 06:48:52 +00:00
string GetValue(string key, object defaultValue, bool persist = false);
void SetValue(string key, string value);
2013-03-05 16:13:23 +00:00
void SaveValues(Dictionary<string, object> configValues);
2013-02-24 06:48:52 +00:00
}
}