diff --git a/misc/ext.d/video.sh b/misc/ext.d/video.sh index bb89cee15..3fad53138 100644 --- a/misc/ext.d/video.sh +++ b/misc/ext.d/video.sh @@ -12,7 +12,8 @@ do_view_action() { case "${filetype}" in *) - cat "${MC_EXT_FILENAME}" + mplayer -identify -vo null -ao null -frames 0 "${MC_EXT_FILENAME}" 2>&1 | \ + sed -n 's/^ID_//p' ;; esac } diff --git a/misc/mc.ext.in b/misc/mc.ext.in index 7968b91cd..4dada15a9 100644 --- a/misc/mc.ext.in +++ b/misc/mc.ext.in @@ -432,7 +432,7 @@ include/image ### Sound files ### -regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a)$ +regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wvm4a)$ Open=@EXTHELPERSDIR@/sound.sh open common regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$