diff --git a/src/Stars.Console/Operations/CopyOperation.cs b/src/Stars.Console/Operations/CopyOperation.cs index 6a62b85d..84f68eef 100644 --- a/src/Stars.Console/Operations/CopyOperation.cs +++ b/src/Stars.Console/Operations/CopyOperation.cs @@ -314,7 +314,7 @@ private async Task ApplyProcessing(StacItemNode stacItemNode, IDestination desti if (ExtractArchives) stacNode = await processingService.ExtractArchiveAsync(stacItemNode, destination, storeService, ct); if (Harvest) - stacNode = await processingService.ExtractMetadataAsync(stacItemNode as StacItemNode, destination, storeService, ct); + stacNode = await processingService.ExtractMetadataAsync(stacNode as StacItemNode, destination, storeService, ct); if (AssetsFiltersOut != null && AssetsFiltersOut.Count() > 0) { diff --git a/src/Stars.Services/Processing/ProcessingService.cs b/src/Stars.Services/Processing/ProcessingService.cs index d91ce366..008319d7 100644 --- a/src/Stars.Services/Processing/ProcessingService.cs +++ b/src/Stars.Services/Processing/ProcessingService.cs @@ -4,6 +4,7 @@ using System; using System.IO; +using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; @@ -31,9 +32,9 @@ public ProcessingService(ILogger logger, ProcessingManager pr Parameters = new ProcessingServiceParameters(); } - public async Task ExtractArchiveAsync(StacItemNode stacItemNode, IDestination destination, StacStoreService storeService, CancellationToken ct) + public async Task ExtractArchiveAsync(StacItemNode stacItemNode, IDestination destination, StacStoreService storeService, CancellationToken ct) { - StacNode newItemNode = stacItemNode; + StacItemNode newItemNode = stacItemNode; foreach (var processing in processingManager.GetProcessings(ProcessingType.ArchiveExtractor)) { if (!processing.CanProcess(newItemNode, destination)) continue;