示例#1
0
 public ListImportModule(IMovieService movieService, ISearchForNewMovie movieSearch)
     : base("/movie/import")
 {
     _movieService = movieService;
     _movieSearch  = movieSearch;
     Put["/"]      = Movie => SaveAll();
 }
示例#2
0
 public FetchMovieListModule(IFetchNetImport netImport, ISearchForNewMovie movieSearch)
     : base("/netimport/movies")
 {
     _fetchNetImport = netImport;
     _movieSearch    = movieSearch;
     Get["/"]        = x => Search();
 }
示例#3
0
 public RadarrLists(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, ISearchForNewMovie skyhookProxy,
                    Logger logger)
     : base(httpClient, configService, parsingService, logger)
 {
     _skyhookProxy = skyhookProxy;
     _logger       = logger;
     _httpClient   = httpClient;
 }
示例#4
0
 public TMDbImport(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, ISearchForNewMovie skyhookProxy,
                   Logger logger)
     : base(httpClient, configService, parsingService, logger)
 {
     _logger       = logger;
     _httpClient   = httpClient;
     _skyhookProxy = skyhookProxy;
 }
示例#5
0
 public MovieLookupModule(ISearchForNewMovie searchProxy, IProvideMovieInfo movieInfo)
     : base("/movie/lookup")
 {
     _movieInfo   = movieInfo;
     _searchProxy = searchProxy;
     Get("/", x => Search());
     Get("/tmdb", x => SearchByTmdbId());
     Get("/imdb", x => SearchByImdbId());
 }
示例#6
0
 public TMDbUserImport(IRadarrCloudRequestBuilder requestBuilder,
                       IHttpClient httpClient,
                       IImportListStatusService importListStatusService,
                       IConfigService configService,
                       IParsingService parsingService,
                       ISearchForNewMovie searchForNewMovie,
                       Logger logger)
     : base(requestBuilder, httpClient, importListStatusService, configService, parsingService, searchForNewMovie, logger)
 {
 }
示例#7
0
 public MovieBulkImportModule(ISearchForNewMovie searchProxy, IRootFolderService rootFolderService, IMakeImportDecision importDecisionMaker,
                              IDiskScanService diskScanService, ICacheManager cacheManager, IMovieService movieService)
     : base("/movies/bulkimport")
 {
     _searchProxy         = searchProxy;
     _rootFolderService   = rootFolderService;
     _importDecisionMaker = importDecisionMaker;
     _diskScanService     = diskScanService;
     _mappedMovies        = cacheManager.GetCache <Core.Tv.Movie>(GetType(), "mappedMoviesCache");
     _movieService        = movieService;
     Get["/"]             = x => Search();
 }
 public FetchAndParseImportListService(IImportListFactory importListFactory,
                                       IImportListStatusService importListStatusService,
                                       IImportListMovieService listMovieService,
                                       ISearchForNewMovie movieSearch,
                                       Logger logger)
 {
     _importListFactory       = importListFactory;
     _importListStatusService = importListStatusService;
     _listMovieService        = listMovieService;
     _movieSearch             = movieSearch;
     _logger = logger;
 }
示例#9
0
 protected TMDbImportListBase(IRadarrCloudRequestBuilder requestBuilder,
                              IHttpClient httpClient,
                              IImportListStatusService importListStatusService,
                              IConfigService configService,
                              IParsingService parsingService,
                              ISearchForNewMovie skyhookProxy,
                              Logger logger)
     : base(httpClient, importListStatusService, configService, parsingService, logger)
 {
     _skyhookProxy   = skyhookProxy;
     _requestBuilder = requestBuilder.TMDB;
 }
 public MovieLookupController(ISearchForNewMovie searchProxy,
                              IProvideMovieInfo movieInfo,
                              IBuildFileNames fileNameBuilder,
                              IMapCoversToLocal coverMapper,
                              IConfigService configService)
 {
     _movieInfo       = movieInfo;
     _searchProxy     = searchProxy;
     _fileNameBuilder = fileNameBuilder;
     _coverMapper     = coverMapper;
     _configService   = configService;
 }
示例#11
0
 public NetImportSearchService(INetImportFactory netImportFactory, IMovieService movieService,
                               ISearchForNewMovie movieSearch, IRootFolderService rootFolder, ISearchForNzb nzbSearchService,
                               IProcessDownloadDecisions processDownloadDecisions, IConfigService configService,
                               IImportExclusionsService exclusionService,
                               Logger logger)
 {
     _netImportFactory         = netImportFactory;
     _movieService             = movieService;
     _movieSearch              = movieSearch;
     _nzbSearchService         = nzbSearchService;
     _processDownloadDecisions = processDownloadDecisions;
     _rootFolder       = rootFolder;
     _exclusionService = exclusionService;
     _logger           = logger;
     _configService    = configService;
 }
示例#12
0
 public MovieLookupModule(ISearchForNewMovie searchProxy,
                          IProvideMovieInfo movieInfo,
                          IBuildFileNames fileNameBuilder,
                          IMapCoversToLocal coverMapper,
                          IConfigService configService)
     : base("/movie/lookup")
 {
     _movieInfo       = movieInfo;
     _searchProxy     = searchProxy;
     _fileNameBuilder = fileNameBuilder;
     _coverMapper     = coverMapper;
     _configService   = configService;
     Get("/", x => Search());
     Get("/tmdb", x => SearchByTmdbId());
     Get("/imdb", x => SearchByImdbId());
 }
示例#13
0
 public RadarrParser(RadarrSettings settings, ISearchForNewMovie skyhookProxy)
 {
     _skyhookProxy = skyhookProxy;//TinyIoC.TinyIoCContainer.Current.Resolve<ISearchForNewMovie>();
     _settings     = settings;
 }
示例#14
0
 public TMDbParser(TMDbSettings settings, ISearchForNewMovie skyhookProxy)
 {
     _skyhookProxy = skyhookProxy;
     _settings     = settings;
 }