mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Improve clean
This commit is contained in:
parent
8615c0a126
commit
c85c3556d9
@ -339,6 +339,14 @@ namespace Nikse.SubtitleEdit.Forms.Tts
|
||||
File.Delete(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var fileName in Directory.GetFiles(waveFolder, "*.mp3"))
|
||||
{
|
||||
if (!fileName.Equals(resultAudioFile, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
File.Delete(fileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private List<FileNameAndSpeedFactor> FixParagraphAudioSpeed(Subtitle subtitle, string overrideFileName)
|
||||
|
Loading…
Reference in New Issue
Block a user