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")
|
mimetype=$(file -b --mime-type "$sourcepath/$filename")
|
||||||
if [[ $mimetype == application/ogg ]]
|
if [[ $mimetype == application/ogg ]]
|
||||||
then
|
then
|
||||||
case "$(head -n1 "$sourcepath/$filename")" in
|
case "$(head -n5 "$sourcepath/$filename")" in
|
||||||
*'vorbis'*)
|
*'vorbis'*)
|
||||||
mimetype+=' vorbis'
|
mimetype+=' vorbis'
|
||||||
;;
|
;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user