diff --git a/TwitchDownloaderCore/ChatUpdater.cs b/TwitchDownloaderCore/ChatUpdater.cs index 5e1dd01f..faceb073 100644 --- a/TwitchDownloaderCore/ChatUpdater.cs +++ b/TwitchDownloaderCore/ChatUpdater.cs @@ -39,7 +39,8 @@ public async Task UpdateAsync(IProgress progress, CancellationTo int currentStep = 0; int totalSteps = 2; if (_updateOptions.CropBeginning || _updateOptions.CropEnding) totalSteps++; - if (_updateOptions.EmbedMissing || _updateOptions.ReplaceEmbeds) totalSteps++; + if (_updateOptions.OutputFormat is ChatFormat.Json or ChatFormat.Html + && (_updateOptions.EmbedMissing || _updateOptions.ReplaceEmbeds)) totalSteps++; currentStep++; await UpdateVideoInfo(totalSteps, currentStep, progress, cancellationToken); @@ -52,7 +53,8 @@ public async Task UpdateAsync(IProgress progress, CancellationTo } // If we are updating/replacing embeds - if (_updateOptions.EmbedMissing || _updateOptions.ReplaceEmbeds) + if (_updateOptions.OutputFormat is ChatFormat.Json or ChatFormat.Html + && (_updateOptions.EmbedMissing || _updateOptions.ReplaceEmbeds)) { currentStep++; await UpdateEmbeds(currentStep, totalSteps, progress, cancellationToken);