public QueueDetailsModule(IBroadcastSignalRMessage broadcastSignalRMessage, IQueueService queueService, IPendingReleaseService pendingReleaseService) : base(broadcastSignalRMessage, "queue/details") { _queueService = queueService; _pendingReleaseService = pendingReleaseService; GetResourceAll = GetQueue; }
public QueueStatusController(IBroadcastSignalRMessage broadcastSignalRMessage, IQueueService queueService, IPendingReleaseService pendingReleaseService) : base(broadcastSignalRMessage) { _queueService = queueService; _pendingReleaseService = pendingReleaseService; _broadcastDebounce = new Debouncer(BroadcastChange, TimeSpan.FromSeconds(5)); }
public DelaySpecification(IPendingReleaseService pendingReleaseService, IDelayProfileService delayProfileService, Logger logger) { _pendingReleaseService = pendingReleaseService; _delayProfileService = delayProfileService; _logger = logger; }
public ProcessDownloadDecisions(IDownloadService downloadService, IPrioritizeDownloadDecision prioritizeDownloadDecision, IPendingReleaseService pendingReleaseService, Logger logger) { _downloadService = downloadService; _prioritizeDownloadDecision = prioritizeDownloadDecision; _pendingReleaseService = pendingReleaseService; _logger = logger; }
public DelaySpecification(IPendingReleaseService pendingReleaseService, IQualityUpgradableSpecification qualityUpgradableSpecification, IDelayProfileService delayProfileService, Logger logger) { _pendingReleaseService = pendingReleaseService; _qualityUpgradableSpecification = qualityUpgradableSpecification; _delayProfileService = delayProfileService; _logger = logger; }
public QueueStatusModule(IBroadcastSignalRMessage broadcastSignalRMessage, IQueueService queueService, IPendingReleaseService pendingReleaseService) : base(broadcastSignalRMessage, "queue/status") { _queueService = queueService; _pendingReleaseService = pendingReleaseService; _broadcastDebounce = new Debouncer(BroadcastChange, TimeSpan.FromSeconds(5)); Get("/", x => GetQueueStatusResponse()); }
public QueueModule(IBroadcastSignalRMessage broadcastSignalRMessage, IQueueService queueService, IPendingReleaseService pendingReleaseService, QualityProfileService qualityProfileService) : base(broadcastSignalRMessage) { _queueService = queueService; _pendingReleaseService = pendingReleaseService; GetResourcePaged = GetQueue; _qualityComparer = new QualityModelComparer(qualityProfileService.GetDefaultProfile(string.Empty)); }
public DelaySpecification(IPendingReleaseService pendingReleaseService, IUpgradableSpecification qualityUpgradableSpecification, ICustomFormatCalculationService formatService, IDelayProfileService delayProfileService, Logger logger) { _pendingReleaseService = pendingReleaseService; _qualityUpgradableSpecification = qualityUpgradableSpecification; _formatService = formatService; _delayProfileService = delayProfileService; _logger = logger; }
public DelaySpecification(IPendingReleaseService pendingReleaseService, IUpgradableSpecification qualityUpgradableSpecification, IDelayProfileService delayProfileService, IMediaFileService mediaFileService, IPreferredWordService preferredWordServiceCalculator, Logger logger) { _pendingReleaseService = pendingReleaseService; _upgradableSpecification = qualityUpgradableSpecification; _delayProfileService = delayProfileService; _mediaFileService = mediaFileService; _preferredWordServiceCalculator = preferredWordServiceCalculator; _logger = logger; }
public QueueModule(IBroadcastSignalRMessage broadcastSignalRMessage, IQueueService queueService, IPendingReleaseService pendingReleaseService, ILanguageProfileService languageProfileService, QualityProfileService qualityProfileService) : base(broadcastSignalRMessage) { _queueService = queueService; _pendingReleaseService = pendingReleaseService; GetResourcePaged = GetQueue; LANGUAGE_COMPARER = new LanguageComparer(languageProfileService.GetDefaultProfile(string.Empty)); QUALITY_COMPARER = new QualityModelComparer(qualityProfileService.GetDefaultProfile(string.Empty)); }
public RssSyncService(IFetchAndParseRss rssFetcherAndParser, IMakeDownloadDecision downloadDecisionMaker, IProcessDownloadDecisions processDownloadDecisions, IEpisodeSearchService episodeSearchService, IPendingReleaseService pendingReleaseService, IEventAggregator eventAggregator, Logger logger) { _rssFetcherAndParser = rssFetcherAndParser; _downloadDecisionMaker = downloadDecisionMaker; _processDownloadDecisions = processDownloadDecisions; _episodeSearchService = episodeSearchService; _pendingReleaseService = pendingReleaseService; _eventAggregator = eventAggregator; _logger = logger; }
public QueueActionModule(IQueueService queueService, ITrackedDownloadService trackedDownloadService, IFailedDownloadService failedDownloadService, IProvideDownloadClient downloadClientProvider, IPendingReleaseService pendingReleaseService, IDownloadService downloadService) { _queueService = queueService; _trackedDownloadService = trackedDownloadService; _failedDownloadService = failedDownloadService; _downloadClientProvider = downloadClientProvider; _pendingReleaseService = pendingReleaseService; _downloadService = downloadService; Delete(@"/(?<id>[\d]{1,10})", x => Remove((int)x.Id)); Post("/import", x => Import()); Post("/grab", x => Grab()); }
public RssSyncService(IIndexerStatusService indexerStatusService, IIndexerFactory indexerFactory, IFetchAndParseRss rssFetcherAndParser, IMakeDownloadDecision downloadDecisionMaker, IProcessDownloadDecisions processDownloadDecisions, IPendingReleaseService pendingReleaseService, IEventAggregator eventAggregator, Logger logger) { _indexerStatusService = indexerStatusService; _indexerFactory = indexerFactory; _rssFetcherAndParser = rssFetcherAndParser; _downloadDecisionMaker = downloadDecisionMaker; _processDownloadDecisions = processDownloadDecisions; _pendingReleaseService = pendingReleaseService; _eventAggregator = eventAggregator; _logger = logger; }
public QueueActionModule(IQueueService queueService, ITrackedDownloadService trackedDownloadService, ICompletedDownloadService completedDownloadService, IProvideDownloadClient downloadClientProvider, IPendingReleaseService pendingReleaseService, IDownloadService downloadService) { _queueService = queueService; _trackedDownloadService = trackedDownloadService; _completedDownloadService = completedDownloadService; _downloadClientProvider = downloadClientProvider; _pendingReleaseService = pendingReleaseService; _downloadService = downloadService; Delete[@"/(?<id>[\d]{1,10})"] = x => Remove((int)x.Id); Post["/import"] = x => Import(); Post["/grab"] = x => Grab(); }
public QueueController(IBroadcastSignalRMessage broadcastSignalRMessage, IQueueService queueService, IPendingReleaseService pendingReleaseService, QualityProfileService qualityProfileService, ITrackedDownloadService trackedDownloadService, IFailedDownloadService failedDownloadService, IIgnoredDownloadService ignoredDownloadService, IProvideDownloadClient downloadClientProvider) : base(broadcastSignalRMessage) { _queueService = queueService; _pendingReleaseService = pendingReleaseService; _trackedDownloadService = trackedDownloadService; _failedDownloadService = failedDownloadService; _ignoredDownloadService = ignoredDownloadService; _downloadClientProvider = downloadClientProvider; _qualityComparer = new QualityModelComparer(qualityProfileService.GetDefaultProfile(string.Empty)); }
public QueueActionModule(IQueueService queueService, ITrackedDownloadService trackedDownloadService, IFailedDownloadService failedDownloadService, IProvideDownloadClient downloadClientProvider, IPendingReleaseService pendingReleaseService, IDownloadService downloadService) { _queueService = queueService; _trackedDownloadService = trackedDownloadService; _failedDownloadService = failedDownloadService; _downloadClientProvider = downloadClientProvider; _pendingReleaseService = pendingReleaseService; _downloadService = downloadService; Post[@"/grab/(?<id>[\d]{1,10})"] = x => Grab((int)x.Id); Post["/grab/bulk"] = x => Grab(); Delete[@"/(?<id>[\d]{1,10})"] = x => Remove((int)x.Id); Delete["/bulk"] = x => Remove(); }
public PreDBService( IFetchAndParseRss rssFetcherAndParser, IMakeDownloadDecision downloadDecisionMaker, IProcessDownloadDecisions processDownloadDecisions, IPendingReleaseService pendingReleaseService, IEventAggregator eventAggregator, IMovieService movieService, IHttpClient httpClient, IParsingService parsingService, Logger logger) { _rssFetcherAndParser = rssFetcherAndParser; _downloadDecisionMaker = downloadDecisionMaker; _processDownloadDecisions = processDownloadDecisions; _pendingReleaseService = pendingReleaseService; _eventAggregator = eventAggregator; _movieService = movieService; _httpClient = httpClient; _parsingService = parsingService; _logger = logger; }
public QueueActionModule(IQueueService queueService, ITrackedDownloadService trackedDownloadService, IFailedDownloadService failedDownloadService, IIgnoredDownloadService ignoredDownloadService, IProvideDownloadClient downloadClientProvider, IPendingReleaseService pendingReleaseService, IDownloadService downloadService, IBlocklistService blocklistService) { _queueService = queueService; _trackedDownloadService = trackedDownloadService; _failedDownloadService = failedDownloadService; _ignoredDownloadService = ignoredDownloadService; _downloadClientProvider = downloadClientProvider; _pendingReleaseService = pendingReleaseService; _downloadService = downloadService; _blocklistService = blocklistService; Post(@"/grab/(?<id>[\d]{1,10})", x => Grab((int)x.Id)); Post("/grab/bulk", x => Grab()); Delete(@"/(?<id>[\d]{1,10})", x => Remove((int)x.Id)); Delete("/bulk", x => Remove()); }
public QueueActionController(IPendingReleaseService pendingReleaseService, IDownloadService downloadService) { _pendingReleaseService = pendingReleaseService; _downloadService = downloadService; }
public QueueDetailsController(IBroadcastSignalRMessage broadcastSignalRMessage, IQueueService queueService, IPendingReleaseService pendingReleaseService) : base(broadcastSignalRMessage) { _queueService = queueService; _pendingReleaseService = pendingReleaseService; }