chore: fix a small issue with video modes

This commit is contained in:
DaanSelen
2026-04-21 16:59:37 +02:00
parent c4a4fafb52
commit e1f5308dd3
6 changed files with 28 additions and 18 deletions
+8 -1
View File
@@ -3,6 +3,7 @@ package database
import (
"log"
"log/slog"
"os"
"gorm.io/gorm"
)
@@ -16,5 +17,11 @@ func watchdog(w string, db *gorm.DB) {
return
}
log.Println(files)
for _, f := range files {
i, err := os.Stat(f.Filepath)
if err != nil {
slog.Error("failed to stat the details for one or more files", "error", err)
}
log.Println(i)
}
}