Changed Name of Radarr Lists

This commit is contained in:
Leonardo Galli 2017-06-19 15:22:03 +02:00
parent 6d033c57f4
commit bae3a48aa1
4 changed files with 23 additions and 23 deletions

View File

@ -50,7 +50,7 @@ namespace NzbDrone.Core.NetImport
public List<INetImport> Discoverable()
{
var enabledImporters = GetAvailableProviders().Where(n => (n.GetType() == typeof(Radarr.RadarrProxied) || n.GetType() == typeof(TMDb.TMDbImport)));
var enabledImporters = GetAvailableProviders().Where(n => (n.GetType() == typeof(Radarr.RadarrLists) || n.GetType() == typeof(TMDb.TMDbImport)));
var indexers = FilterBlockedIndexers(enabledImporters);
return indexers.ToList();
}

View File

@ -9,9 +9,9 @@ using NzbDrone.Core.MetadataSource;
namespace NzbDrone.Core.NetImport.Radarr
{
public class RadarrProxied : HttpNetImportBase<RadarrSettings>
public class RadarrLists : HttpNetImportBase<RadarrSettings>
{
public override string Name => "Radarr Proxied Lists";
public override string Name => "Radarr Lists";
public override bool Enabled => true;
public override bool EnableAuto => false;
@ -19,7 +19,7 @@ namespace NzbDrone.Core.NetImport.Radarr
private readonly Logger _logger;
private readonly ISearchForNewMovie _skyhookProxy;
public RadarrProxied(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, ISearchForNewMovie skyhookProxy,
public RadarrLists(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, ISearchForNewMovie skyhookProxy,
Logger logger)
: base(httpClient, configService, parsingService, logger)
{

View File

@ -27,7 +27,7 @@ namespace NzbDrone.Core.NetImport.Radarr
Path = "";
}
[FieldDefinition(0, Label = "Radarr API URL", HelpText = "Link to to Radarr API URL.Use https://staging.api.radarr.video if you are on nightly.")]
[FieldDefinition(0, Label = "Radarr API URL", HelpText = "Link to to Radarr API URL. Use https://staging.api.radarr.video if you are on nightly.")]
public string APIURL { get; set; }
[FieldDefinition(1, Label = "Path to list", HelpText = "Path to the list proxied by the Radarr API. Check the wiki for available lists.")]

View File

@ -1289,7 +1289,7 @@
<Compile Include="NetImport\ImportExclusions\ImportExclusionsService.cs" />
<Compile Include="Datastore\Migration\138_add_physical_release_note.cs" />
<Compile Include="Indexers\IIndexerSettings.cs" />
<Compile Include="NetImport\Radarr\RadarrProxied.cs" />
<Compile Include="NetImport\Radarr\RadarrLists.cs" />
<Compile Include="NetImport\Radarr\RadarrParser.cs" />
<Compile Include="NetImport\Radarr\RadarrRequestGenerator.cs" />
<Compile Include="NetImport\Radarr\RadarrSettings.cs" />