diff --git a/generator.sh b/generator.sh index f8676b5..9692737 100755 --- a/generator.sh +++ b/generator.sh @@ -153,6 +153,7 @@ do # Hardcodage de certains types MIME [[ "$i" =~ \.mp3$ ]] && mimetype="audio/mpeg" + [[ "$i" =~ \.mp4$ ]] && mimetype="video/mp4" [[ "$i" =~ \.flac$ ]] && mimetype="audio/flac" # Détection automatique du type MIME si non hardcodé