diff --git a/generator.sh b/generator.sh index 677e1c2..70a710a 100755 --- a/generator.sh +++ b/generator.sh @@ -166,6 +166,7 @@ do [[ "$i" =~ \.mp3$ ]] && mimetype="audio/mpeg" [[ "$i" =~ \.mp4$ ]] && mimetype="video/mp4" [[ "$i" =~ \.flac$ ]] && mimetype="audio/flac" + [[ "$i" =~ \.opus$ ]] && mimetype="audio/ogg" # Détection automatique du type MIME si non hardcodé [[ -z "$mimetype" ]] && mimetype="$(file --mime-type -b -e ascii -e compress -e tar -e cdf "$i")"