Ejemplo n.º 1
0
 public DownloadPlaylistInfoTask(RabbitMQConnection rabbitMQ, RpcClient rpcClient,
                                 DownloadMediaTask downloadMediaTask, BoxAPI box,
                                 ILogger <DownloadPlaylistInfoTask> logger, SlackLogger slack)
     : base(rabbitMQ, TaskType.DownloadPlaylistInfo, logger)
 {
     _rpcClient         = rpcClient;
     _downloadMediaTask = downloadMediaTask;
     _box   = box;
     _slack = slack;
 }
Ejemplo n.º 2
0
 public QueueAwakerTask(RabbitMQConnection rabbitMQ, DownloadPlaylistInfoTask downloadPlaylistInfoTask,
                        DownloadMediaTask downloadMediaTask,
                        TranscriptionTask transcriptionTask, ProcessVideoTask processVideoTask,
                        GenerateVTTFileTask generateVTTFileTask, SceneDetectionTask scenedDetectionTask,
                        CreateBoxTokenTask createBoxTokenTask, UpdateBoxTokenTask updateBoxTokenTask, ExampleTask exampleTask,
                        ILogger <QueueAwakerTask> logger, SlackLogger slackLogger)
     : base(rabbitMQ, TaskType.QueueAwaker, logger)
 {
     _downloadPlaylistInfoTask = downloadPlaylistInfoTask;
     _downloadMediaTask        = downloadMediaTask;
     //_convertVideoToWavTask = convertVideoToWavTask;
     _transcriptionTask   = transcriptionTask;
     _generateVTTFileTask = generateVTTFileTask;
     _processVideoTask    = processVideoTask;
     _scenedDetectionTask = scenedDetectionTask;
     _createBoxTokenTask  = createBoxTokenTask;
     _updateBoxTokenTask  = updateBoxTokenTask;
     _exampleTask         = exampleTask;
     _slackLogger         = slackLogger;
 }