Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

remove check for the Vtt2Srt script

puji481078be5744981a
diff --git a/internal/deps/checker.go b/internal/deps/checker.go
index 8fb55975..8a8c25e0 100644
--- a/internal/deps/checker.go
+++ b/internal/deps/checker.go
@@ -81,10 +81,6 @@ func CheckDependency() error {
log.GetLogger().Error("edge-tts环境准备失败", zap.Error(err))
}
}
- if err = checkVttToSrt(); err != nil {
- log.GetLogger().Error("vtt-to-srt脚本准备失败", zap.Error(err))
- return err
- }
return nil
}
@@ -625,10 +621,4 @@ func checkEdgeTts() error {
storage.EdgeTtsPath = EdgeTtsBinFilePath
log.GetLogger().Info("edge-tts安装完成", zap.String("路径", EdgeTtsBinFilePath))
return nil
-}
-
-func checkVttToSrt() error {
- storage.VttToSrtPath = "./bin/vtt2srt"
- log.GetLogger().Info("vtt2srt检查完成", zap.String("路径", storage.VttToSrtPath))
- return nil
-}
+}
\ No newline at end of file