You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.5 KiB
44 lines
1.5 KiB
using NLog;
|
|
using NzbDrone.Common.Cloud;
|
|
using NzbDrone.Common.Http;
|
|
using NzbDrone.Core.Configuration;
|
|
using NzbDrone.Core.MetadataSource;
|
|
using NzbDrone.Core.Parser;
|
|
|
|
namespace NzbDrone.Core.ImportLists.TMDb.Person
|
|
{
|
|
public class TMDbPersonImport : TMDbImportListBase<TMDbPersonSettings>
|
|
{
|
|
public TMDbPersonImport(IRadarrCloudRequestBuilder requestBuilder,
|
|
IHttpClient httpClient,
|
|
IImportListStatusService importListStatusService,
|
|
IConfigService configService,
|
|
IParsingService parsingService,
|
|
ISearchForNewMovie searchForNewMovie,
|
|
Logger logger)
|
|
: base(requestBuilder, httpClient, importListStatusService, configService, parsingService, searchForNewMovie, logger)
|
|
{
|
|
}
|
|
|
|
public override string Name => "TMDb Person";
|
|
public override bool Enabled => true;
|
|
public override ImportListType EnableAuto => ImportListType.Manual;
|
|
|
|
public override IParseImportListResponse GetParser()
|
|
{
|
|
return new TMDbPersonParser(Settings);
|
|
}
|
|
|
|
public override IImportListRequestGenerator GetRequestGenerator()
|
|
{
|
|
return new TMDbPersonRequestGenerator()
|
|
{
|
|
RequestBuilder = _requestBuilder,
|
|
Settings = Settings,
|
|
Logger = _logger,
|
|
HttpClient = _httpClient
|
|
};
|
|
}
|
|
}
|
|
}
|