mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Fix missing new-line in log
This commit is contained in:
parent
2277f2e59f
commit
a57ebf0da1
@ -468,7 +468,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
_resultList = new List<ResultText>();
|
||||
var process = GetWhisperProcess(waveFileName, model.Name, _languageCode, checkBoxTranslateToEnglish.Checked, OutputHandler);
|
||||
var sw = Stopwatch.StartNew();
|
||||
_outputText.Add($"Calling whisper ({Configuration.Settings.Tools.WhisperChoice}) with : {process.StartInfo.FileName} {process.StartInfo.Arguments}");
|
||||
_outputText.Add($"Calling whisper ({Configuration.Settings.Tools.WhisperChoice}) with : {process.StartInfo.FileName} {process.StartInfo.Arguments}{Environment.NewLine}");
|
||||
_startTicks = DateTime.UtcNow.Ticks;
|
||||
_videoInfo = UiUtil.GetVideoInfo(waveFileName);
|
||||
timer1.Start();
|
||||
@ -497,7 +497,6 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
System.Threading.Thread.Sleep(100);
|
||||
WindowsHelper.PreventStandBy();
|
||||
|
||||
Invalidate();
|
||||
if (_cancel)
|
||||
{
|
||||
process.Kill();
|
||||
|
@ -180,7 +180,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
_resultList = new List<ResultText>();
|
||||
var process = WhisperAudioToText.GetWhisperProcess(waveFileName, model.Name, _languageCode, checkBoxTranslateToEnglish.Checked, OutputHandler);
|
||||
var sw = Stopwatch.StartNew();
|
||||
_outputText.Add($"Calling whisper ({Configuration.Settings.Tools.WhisperChoice}) with : whisper {process.StartInfo.Arguments}");
|
||||
_outputText.Add($"Calling whisper ({Configuration.Settings.Tools.WhisperChoice}) with : whisper {process.StartInfo.Arguments}{Environment.NewLine}");
|
||||
buttonCancel.Visible = true;
|
||||
try
|
||||
{
|
||||
@ -199,7 +199,6 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
System.Threading.Thread.Sleep(100);
|
||||
WindowsHelper.PreventStandBy();
|
||||
|
||||
Invalidate();
|
||||
if (_cancel)
|
||||
{
|
||||
process.Kill();
|
||||
|
Loading…
Reference in New Issue
Block a user