Fix whisper srt loading - thx darnn :)

Fix #8144
This commit is contained in:
Nikolaj Olsson 2024-04-06 15:04:56 +02:00
parent 80322311ec
commit 29088c701f
2 changed files with 1 additions and 6 deletions

View File

@ -918,7 +918,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
}
var whisperFolder = WhisperHelper.GetWhisperFolder() ?? string.Empty;
if (!string.IsNullOrEmpty(whisperFolder) && !File.Exists(whisperFolder) && !string.IsNullOrEmpty(videoFileName))
if (!string.IsNullOrEmpty(whisperFolder) && !File.Exists(srtFileName) && !string.IsNullOrEmpty(videoFileName))
{
srtFileName = Path.Combine(whisperFolder, Path.GetFileNameWithoutExtension(videoFileName)) + ".srt";
}

View File

@ -25,11 +25,6 @@ Installers:
InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.4/SubtitleEdit-4.0.4-Setup.exe
InstallerSha256: 33C867DB90D6596A84BA546C74E27626B72E9A2E4A1FD3B3EEB99298FB816115
ProductCode: SubtitleEdit_is1
- Architecture: x86
InstallerType: inno
InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.4/SubtitleEdit-4.0.4-Setup.exe
InstallerSha256: 33C867DB90D6596A84BA546C74E27626B72E9A2E4A1FD3B3EEB99298FB816115
ProductCode: SubtitleEdit_is1
ManifestType: installer
ManifestVersion: 1.5.0
ReleaseDate: 2024-03-17