diff --git a/lib/files/getFiles b/lib/files/getFiles index dfb8731..06cfb65 100644 --- a/lib/files/getFiles +++ b/lib/files/getFiles @@ -17,7 +17,7 @@ getFiles() { EOWhere then mimetype=$(file -b --mime-type "$sourcepath/$filename") - if [[ $mimetype == application/ogg ]] + if [[ $mimetype == application/ogg ]] || [[ $mimetype == audio/ogg ]] then case "$(head -n5 "$sourcepath/$filename")" in *'vorbis'*) diff --git a/lib/tags/gettags b/lib/tags/gettags index 2556140..8afae86 100644 --- a/lib/tags/gettags +++ b/lib/tags/gettags @@ -15,10 +15,18 @@ getTags() { type=soxi (( disablesoxi )) && unset type ;; + audio/ogg) + type=soxi + (( disablesoxi )) && unset type + ;; audio/x-flac) type=FLAC (( disableflac )) && unset type ;; + audio/flac) + type=FLAC + (( disableflac )) && unset type + ;; video/webm) type=WebM (( disablemkvextract || disableogginfo )) && unset type