diff --git a/src/CCVTAC.Console/Orchestrator.cs b/src/CCVTAC.Console/Orchestrator.cs index 0d708b0..362e11f 100644 --- a/src/CCVTAC.Console/Orchestrator.cs +++ b/src/CCVTAC.Console/Orchestrator.cs @@ -250,6 +250,12 @@ static string SummarizeUpdate(string settingName, string setting) if (command.StartsWith(Commands.UpdateAudioFormatPrefix, StringComparison.InvariantCultureIgnoreCase)) { var format = command.Replace(Commands.UpdateAudioFormatPrefix, string.Empty).ToLowerInvariant(); + + if (format == string.Empty) + { + return Result.Fail($"You must append a supported audio format (e.g., \"best\" or \"m4a\")."); + } + var updateResult = SettingsAdapter.UpdateAudioFormat(settings, format); if (updateResult.IsError) {