public async Task Execute(CancellationToken cancellationToken, IProgress <double> progress)
        {
            _logger.LogInformation("Starting TMDbBoxSets refresh library task");
            await _tmDbBoxSetManager.ScanLibrary(progress).ConfigureAwait(false);

            _logger.LogInformation("TMDbBoxSets refresh library task finished");
        }
Ejemplo n.º 2
0
 public Task Execute(CancellationToken cancellationToken, IProgress <double> progress)
 {
     _logger.LogInformation("Starting TMDbBoxSets refresh library task");
     _tmDbBoxSetManager.ScanLibrary(progress);
     _logger.LogInformation("TMDbBoxSets refresh library task finished");
     return(Task.CompletedTask);
 }
        public async Task <ActionResult> RefreshMetadataRequest()
        {
            _logger.LogInformation("Starting a manual refresh of TMDb collections");
            await _tmDbBoxSetManager.ScanLibrary(null).ConfigureAwait(false);

            _logger.LogInformation("Completed refresh of TMDb collections");
            return(NoContent());
        }
Ejemplo n.º 4
0
 public void Post(RefreshMetadataRequest request)
 {
     _logger.LogInformation("Starting a manual refresh of TMDb collections");
     _tmDbBoxSetManager.ScanLibrary(null);
     _logger.LogInformation("Completed refresh of TMDb collections");
 }