mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Patch/onedr0p (#757)
* Fix double ? in log * Rename Download Station to TorrentDownloadStation * Rename Trakt, TMDb, and set Enable sync default to false * Added omgwtfnzbs Newznab prefix * Update Media info for Windows/macOS to 0.7.92.1
This commit is contained in:
@@ -16,31 +16,13 @@ namespace NzbDrone.Core.NetImport.CouchPotato
|
||||
public class CouchPotatoImport : HttpNetImportBase<CouchPotatoSettings>
|
||||
{
|
||||
public override string Name => "CouchPotato";
|
||||
public override bool Enabled => true;
|
||||
public override bool Enabled => false;
|
||||
public override bool EnableAuto => false;
|
||||
|
||||
public CouchPotatoImport(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, Logger logger)
|
||||
: base(httpClient, configService, parsingService, logger)
|
||||
{ }
|
||||
|
||||
/*public new virtual IEnumerable<ProviderDefinition> DefaultDefinitions
|
||||
{
|
||||
get
|
||||
{
|
||||
var config = (CouchPotatoSettings)new CouchPotatoSettings();
|
||||
config.Link = "http://localhost";
|
||||
config.Port = "5050";
|
||||
|
||||
yield return new NetImportDefinition
|
||||
{
|
||||
Name = "Localhost",
|
||||
Enabled = config.Validate().IsValid && Enabled,
|
||||
Implementation = GetType().Name,
|
||||
Settings = config
|
||||
};
|
||||
}
|
||||
}*/
|
||||
|
||||
public override INetImportRequestGenerator GetRequestGenerator()
|
||||
{
|
||||
return new CouchPotatoRequestGenerator() { Settings = Settings };
|
||||
|
||||
@@ -15,9 +15,9 @@ namespace NzbDrone.Core.NetImport.RSSImport
|
||||
{
|
||||
public class RSSImport : HttpNetImportBase<RSSImportSettings>
|
||||
{
|
||||
public override string Name => "RSSList";
|
||||
public override bool Enabled => true;
|
||||
public override bool EnableAuto => true;
|
||||
public override string Name => "RSS";
|
||||
public override bool Enabled => false;
|
||||
public override bool EnableAuto => false;
|
||||
|
||||
public RSSImport(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, Logger logger)
|
||||
: base(httpClient, configService, parsingService, logger)
|
||||
|
||||
@@ -16,8 +16,8 @@ namespace NzbDrone.Core.NetImport.StevenLu
|
||||
public class StevenLuImport : HttpNetImportBase<StevenLuSettings>
|
||||
{
|
||||
public override string Name => "StevenLu";
|
||||
public override bool Enabled => true;
|
||||
public override bool EnableAuto => true;
|
||||
public override bool Enabled => false;
|
||||
public override bool EnableAuto => false;
|
||||
|
||||
public StevenLuImport(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, Logger logger)
|
||||
: base(httpClient, configService, parsingService, logger)
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace NzbDrone.Core.NetImport.TMDb
|
||||
{
|
||||
public class TMDbImport : HttpNetImportBase<TMDbSettings>
|
||||
{
|
||||
public override string Name => "TMDb Lists";
|
||||
public override bool Enabled => true;
|
||||
public override string Name => "TMDb";
|
||||
public override bool Enabled => false;
|
||||
public override bool EnableAuto => false;
|
||||
private readonly IHttpClient _httpClient;
|
||||
private readonly Logger _logger;
|
||||
|
||||
@@ -15,8 +15,8 @@ namespace NzbDrone.Core.NetImport.Trakt
|
||||
{
|
||||
public class TraktImport : HttpNetImportBase<TraktSettings>
|
||||
{
|
||||
public override string Name => "Trakt List";
|
||||
public override bool Enabled => true;
|
||||
public override string Name => "Trakt";
|
||||
public override bool Enabled => false;
|
||||
public override bool EnableAuto => false;
|
||||
|
||||
public TraktImport(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, Logger logger)
|
||||
|
||||
Reference in New Issue
Block a user