string "vorbis" may not appear on line 1
This commit is contained in:
parent
0d511b2674
commit
2b55e7ef66
@ -19,7 +19,7 @@ getFiles() {
|
||||
mimetype=$(file -b --mime-type "$sourcepath/$filename")
|
||||
if [[ $mimetype == application/ogg ]]
|
||||
then
|
||||
case "$(head -n1 "$sourcepath/$filename")" in
|
||||
case "$(head -n5 "$sourcepath/$filename")" in
|
||||
*'vorbis'*)
|
||||
mimetype+=' vorbis'
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user