chore: update mimetype dependency for better mimetype detection

This commit is contained in:
2025-01-11 20:32:58 +02:00
parent 424319bf95
commit 067f2155b8
3 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ func encode(file File, fileName string, teaP *tea.Program, cfg ParsedConfig) {
}
if !strings.HasPrefix(mType.String(), "video/") {
log.Fatalf("%s is not a valid video file\n", fileName)
log.Fatalf("%s is not a valid video file. It is %v\n", fileName, mType)
}
parentDir := filepath.Dir(file.Path)