public AlternativeTitleModule(IAlternativeTitleService altTitleService, IMovieService movieService, IEventAggregator eventAggregator)
            : base("/alttitle")
        {
            _altTitleService = altTitleService;
            _movieService    = movieService;
            _eventAggregator = eventAggregator;

            GetResourceById = GetAltTitle;
            GetResourceAll  = GetAltTitles;
        }
 public AlternativeTitleModule(IAlternativeTitleService altTitleService, IMovieService movieService, IRadarrAPIClient radarrApi, IEventAggregator eventAggregator)
     : base("/alttitle")
 {
     _altTitleService = altTitleService;
     _movieService    = movieService;
     _radarrApi       = radarrApi;
     CreateResource   = AddTitle;
     GetResourceById  = GetTitle;
     _eventAggregator = eventAggregator;
 }
Example #3
0
        public SkyHookProxy(IHttpClient httpClient, IRadarrCloudRequestBuilder requestBuilder, ITmdbConfigService configService, IMovieService movieService,
                            IPreDBService predbService, IImportExclusionsService exclusionService, IAlternativeTitleService altTitleService, IRadarrAPIClient radarrAPI, Logger logger)
        {
            _httpClient       = httpClient;
            _movieBuilder     = requestBuilder.TMDB;
            _configService    = configService;
            _movieService     = movieService;
            _predbService     = predbService;
            _exclusionService = exclusionService;
            _altTitleService  = altTitleService;
            _radarrAPI        = radarrAPI;

            _logger = logger;
        }
Example #4
0
 public RefreshMovieService(IProvideMovieInfo movieInfo,
                            IMovieService movieService,
                            IAlternativeTitleService titleService,
                            IEventAggregator eventAggregator,
                            IDiskScanService diskScanService,
                            IRadarrAPIClient apiClient,
                            ICheckIfMovieShouldBeRefreshed checkIfMovieShouldBeRefreshed,
                            IManageCommandQueue commandQueue,
                            Logger logger)
 {
     _movieInfo                     = movieInfo;
     _movieService                  = movieService;
     _titleService                  = titleService;
     _eventAggregator               = eventAggregator;
     _apiClient                     = apiClient;
     _commandQueueManager           = commandQueue;
     _diskScanService               = diskScanService;
     _checkIfMovieShouldBeRefreshed = checkIfMovieShouldBeRefreshed;
     _logger = logger;
 }
Example #5
0
 public RefreshMovieService(IProvideMovieInfo movieInfo,
                            IMovieService movieService,
                            IMovieTranslationService movieTranslationService,
                            IAlternativeTitleService titleService,
                            ICreditService creditService,
                            IEventAggregator eventAggregator,
                            IDiskScanService diskScanService,
                            ICheckIfMovieShouldBeRefreshed checkIfMovieShouldBeRefreshed,
                            IConfigService configService,
                            Logger logger)
 {
     _movieInfo                     = movieInfo;
     _movieService                  = movieService;
     _movieTranslationService       = movieTranslationService;
     _titleService                  = titleService;
     _creditService                 = creditService;
     _eventAggregator               = eventAggregator;
     _diskScanService               = diskScanService;
     _checkIfMovieShouldBeRefreshed = checkIfMovieShouldBeRefreshed;
     _configService                 = configService;
     _logger = logger;
 }
 public AlternativeTitleModule(IAlternativeTitleService altTitleService)
     : base("/alttitle")
 {
     _altTitleService = altTitleService;
     GetResourceById  = GetTitle;
 }
 public AlternativeTitleController(IAlternativeTitleService altTitleService)
 {
     _altTitleService = altTitleService;
 }