more cleanup logics

This commit is contained in:
stefanodvx 2025-04-15 21:43:41 +02:00
parent 20245c109b
commit 78d5dfbe53
2 changed files with 31 additions and 4 deletions

View file

@ -14,7 +14,8 @@ func main() {
if err != nil {
log.Fatal("error loading .env file")
}
util.ClearDownlods()
util.CleanupDownloadsDir()
util.StartDownloadsCleanup()
ok := util.CheckFFmpeg()
if !ok {
log.Fatal("ffmpeg executable not found. please install it or add it to your PATH")