コード例 #1
0
 public Task Execute(CancellationToken cancellationToken, IProgress <double> progress)
 {
     _logger.LogInformation("Starting plugin refresh library task");
     _mergeVersionsManager.ScanLibrary(progress);
     _logger.LogInformation("plugin refresh library task finished");
     return(Task.CompletedTask);
 }
コード例 #2
0
 public void Post(RefreshMetadataRequest request)
 {
     _logger.LogInformation("Starting a manual refresh, looking up for repeated versions");
     _tmDbBoxSetManager.ScanLibrary(null);
     _logger.LogInformation("Completed refresh");
 }