mirror of
https://github.com/IllusionMan1212/ffui.git
synced 2026-10-24 02:12:35 +00:00
chore: update mimetype dependency for better mimetype detection
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user